CVE-2025-38645
net/mlx5: Check device memory pointer before usage
Description
In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Check device memory pointer before usage Add a NULL check before accessing device memory to prevent a crash if dev->dm allocation in mlx5_init_once() fails.
INFO
Published Date :
Aug. 22, 2025, 4:15 p.m.
Last Modified :
Jan. 7, 2026, 5:36 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Ensure the Linux kernel is updated to the patched version.
- Apply the provided security update for the Linux kernel.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-38645.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-38645 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-38645
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-38645 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-38645 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jan. 07, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-476 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.148 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.16 up to (excluding) 6.16.1 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.15.10 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.42 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.102 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.4 up to (excluding) 5.15.190 Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Added Reference Type kernel.org: https://git.kernel.org/stable/c/3046b011d368162b1b9ca9453eee0fea930e0a93 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/4249f1307932f1b6bbb8b7eba60d82f0b7e44430 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/62d7cf455c887941ed6f105cd430ba04ee0b6c9f Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/70f238c902b8c0461ae6fbb8d1a0bbddc4350eea Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/9053a69abfb5680c2a95292b96df5d204bc0776f Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/da899a1fd7c40e2e4302af1db7d0b8540fb22283 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/eebb225fe6c9103293807b8edabcbad59f9589bc Types: Patch Added Reference Type CVE: https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html Types: Third Party Advisory -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 03, 2025
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 28, 2025
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/9053a69abfb5680c2a95292b96df5d204bc0776f -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 22, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Check device memory pointer before usage Add a NULL check before accessing device memory to prevent a crash if dev->dm allocation in mlx5_init_once() fails. Added Reference https://git.kernel.org/stable/c/3046b011d368162b1b9ca9453eee0fea930e0a93 Added Reference https://git.kernel.org/stable/c/4249f1307932f1b6bbb8b7eba60d82f0b7e44430 Added Reference https://git.kernel.org/stable/c/62d7cf455c887941ed6f105cd430ba04ee0b6c9f Added Reference https://git.kernel.org/stable/c/70f238c902b8c0461ae6fbb8d1a0bbddc4350eea Added Reference https://git.kernel.org/stable/c/da899a1fd7c40e2e4302af1db7d0b8540fb22283 Added Reference https://git.kernel.org/stable/c/eebb225fe6c9103293807b8edabcbad59f9589bc