What’s Vulnerable › Vulnerabilities
CVE-2025-38645: net/mlx5: Check device memory pointer before usage
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-08-22 · updated 2026-06-17
- Weakness: CWE-476
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.
Affected products
- Debian Linux: 11.0
- Linux kernel: from 5.4 before 5.15.190; from 5.16 before 6.1.148; from 6.2 before 6.6.102; from 6.7 before 6.12.42; from 6.13 before 6.15.10; from 6.16 before 6.16.1 — fixed in 5.15.190, 6.1.148, 6.12.42, 6.15.10, 6.16.1, 6.6.102
How to fix
Upgrade to a fixed version: Linux kernel 5.15.190, 6.1.148, 6.12.42, 6.15.10. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/3046b011d368162b1b9ca9453eee0fea930e0a93
- https://git.kernel.org/stable/c/4249f1307932f1b6bbb8b7eba60d82f0b7e44430
- https://git.kernel.org/stable/c/62d7cf455c887941ed6f105cd430ba04ee0b6c9f
- https://git.kernel.org/stable/c/70f238c902b8c0461ae6fbb8d1a0bbddc4350eea
- https://git.kernel.org/stable/c/9053a69abfb5680c2a95292b96df5d204bc0776f
- https://git.kernel.org/stable/c/da899a1fd7c40e2e4302af1db7d0b8540fb22283
- https://git.kernel.org/stable/c/eebb225fe6c9103293807b8edabcbad59f9589bc
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
Get alerted when CVE-2025-38645 or the next vulnerability affects your stack