{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2025-38645", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2025-04-16T04:51:24.030Z", "datePublished": "2025-08-22T16:00:50.665Z", "dateUpdated": "2026-05-11T21:32:13.638Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-05-11T21:32:13.638Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5: Check device memory pointer before usage\n\nAdd a NULL check before accessing device memory to prevent a crash if\ndev->dm allocation in mlx5_init_once() fails." } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/infiniband/hw/mlx5/dm.c", "drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c", "drivers/net/ethernet/mellanox/mlx5/core/main.c" ], "versions": [ { "version": "c9b9dcb430b3cd0ad2b04c360c4e528d73430481", "lessThan": "9053a69abfb5680c2a95292b96df5d204bc0776f", "status": "affected", "versionType": "git" }, { "version": "c9b9dcb430b3cd0ad2b04c360c4e528d73430481", "lessThan": "eebb225fe6c9103293807b8edabcbad59f9589bc", "status": "affected", "versionType": "git" }, { "version": "c9b9dcb430b3cd0ad2b04c360c4e528d73430481", "lessThan": "62d7cf455c887941ed6f105cd430ba04ee0b6c9f", "status": "affected", "versionType": "git" }, { "version": "c9b9dcb430b3cd0ad2b04c360c4e528d73430481", "lessThan": "4249f1307932f1b6bbb8b7eba60d82f0b7e44430", "status": "affected", "versionType": "git" }, { "version": "c9b9dcb430b3cd0ad2b04c360c4e528d73430481", "lessThan": "3046b011d368162b1b9ca9453eee0fea930e0a93", "status": "affected", "versionType": "git" }, { "version": "c9b9dcb430b3cd0ad2b04c360c4e528d73430481", "lessThan": "da899a1fd7c40e2e4302af1db7d0b8540fb22283", "status": "affected", "versionType": "git" }, { "version": "c9b9dcb430b3cd0ad2b04c360c4e528d73430481", "lessThan": "70f238c902b8c0461ae6fbb8d1a0bbddc4350eea", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/infiniband/hw/mlx5/dm.c", "drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c", "drivers/net/ethernet/mellanox/mlx5/core/main.c" ], "versions": [ { "version": "5.4", "status": "affected" }, { "version": "0", "lessThan": "5.4", "status": "unaffected", "versionType": "semver" }, { "version": "5.15.190", "lessThanOrEqual": "5.15.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.1.148", "lessThanOrEqual": "6.1.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.6.102", "lessThanOrEqual": "6.6.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.12.42", "lessThanOrEqual": "6.12.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.15.10", "lessThanOrEqual": "6.15.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.16.1", "lessThanOrEqual": "6.16.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.17", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.4", "versionEndExcluding": "5.15.190" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.4", "versionEndExcluding": "6.1.148" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.4", "versionEndExcluding": "6.6.102" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.4", "versionEndExcluding": "6.12.42" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.4", "versionEndExcluding": "6.15.10" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.4", "versionEndExcluding": "6.16.1" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.4", "versionEndExcluding": "6.17" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/9053a69abfb5680c2a95292b96df5d204bc0776f" }, { "url": "https://git.kernel.org/stable/c/eebb225fe6c9103293807b8edabcbad59f9589bc" }, { "url": "https://git.kernel.org/stable/c/62d7cf455c887941ed6f105cd430ba04ee0b6c9f" }, { "url": "https://git.kernel.org/stable/c/4249f1307932f1b6bbb8b7eba60d82f0b7e44430" }, { "url": "https://git.kernel.org/stable/c/3046b011d368162b1b9ca9453eee0fea930e0a93" }, { "url": "https://git.kernel.org/stable/c/da899a1fd7c40e2e4302af1db7d0b8540fb22283" }, { "url": "https://git.kernel.org/stable/c/70f238c902b8c0461ae6fbb8d1a0bbddc4350eea" } ], "title": "net/mlx5: Check device memory pointer before usage", "x_generator": { "engine": "bippy-1.2.0" } }, "adp": [ { "title": "CVE Program Container", "references": [ { "url": "https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html" } ], "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2025-11-03T17:40:41.890Z" } } ] } }