CVE-2025-38645 net/mlx5: Check device memory pointer before usage
A missing null check in the mlx5 network driver can cause a kernel crash if device memory allocation fails, leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-38645?
CVE-2025-38645 is a medium-severity vulnerability in Debian Debian Linux, published on 22 Aug 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-476
Which versions are affected by CVE-2025-38645?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2025-38645?
Apply the vendor's patch.
Is CVE-2025-38645 being exploited?
There is no known exploitation of CVE-2025-38645 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as AZL-66659, AZL-73623, BELL-CVE-2025-38645, DEBIAN-CVE-2025-38645, GHSA-5jmr-c9gm-g568, ROOT-OS-DEBIAN-11-CVE-2025-38645 and 5 more.