CVE-2025-38645Published Aug 22, 2025 · Aug 22Updated Nov 7
net/mlx5: Check device memory pointer before usage
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ c9b9dcb430b3cd0ad2b04c360c4e528d73430481 · < da899a1fd7c40e2e4302af1db7d0b8540fb22283| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's net/mlx5 code could access a NULL device-memory pointer if allocation in mlx5_init_once() fails, causing a crash. The input does not establish how an attacker could trigger this condition or whether access, authentication, or user interaction is required.
Engineers running Linux kernels with net/mlx5 should check their kernel versions; affected versions are not specified.