CVE-2025-38645

published 22 Aug 2025 · updated 7 Nov 2026

net/mlx5: Check device memory pointer before usage

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 3046b011d368162b1b9ca9453eee0fea930e0a93, Kernel 6.1.148, Kernel 5.15.190 and 10 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=c9b9dcb430b3cd0ad2b04c360c4e528d73430481 <3046b011d368162b1b9ca9453eee0fea930e0a93, >=5.16 <6.1.148, >=5.4 <5.15.190, >=6.13 <6.15.10, >=6.16 <6.16.1, >=6.2 <6.6.102, >=6.7 <6.12.42, >=c9b9dcb430b3cd0ad2b04c360c4e528d73430481 <eebb225fe6c9103293807b8edabcbad59f9589bc, >=c9b9dcb430b3cd0ad2b04c360c4e528d73430481 <da899a1fd7c40e2e4302af1db7d0b8540fb22283, >=c9b9dcb430b3cd0ad2b04c360c4e528d73430481 <9053a69abfb5680c2a95292b96df5d204bc0776f, >=c9b9dcb430b3cd0ad2b04c360c4e528d73430481 <70f238c902b8c0461ae6fbb8d1a0bbddc4350eea, >=c9b9dcb430b3cd0ad2b04c360c4e528d73430481 <62d7cf455c887941ed6f105cd430ba04ee0b6c9f, >=c9b9dcb430b3cd0ad2b04c360c4e528d73430481 <4249f1307932f1b6bbb8b7eba60d82f0b7e44430, =5.43046b011d368162b1b9ca9453eee0fea930e0a93, 6.1.148, 5.15.190, 6.15.10, 6.16.1, 6.6.102, 6.12.42, eebb225fe6c9103293807b8edabcbad59f9589bc, da899a1fd7c40e2e4302af1db7d0b8540fb22283, 9053a69abfb5680c2a95292b96df5d204bc0776f, 70f238c902b8c0461ae6fbb8d1a0bbddc4350eea, 62d7cf455c887941ed6f105cd430ba04ee0b6c9f, 4249f1307932f1b6bbb8b7eba60d82f0b7e44430
debiandebian_linux=11.0
linux-kernel: Kernel>=6.7.0 <6.12.42, >=6.2.0 <6.6.102, >=6.16.0 <6.16.1, >=6.13.0 <6.15.10, >=5.4.0 <5.15.190, >=5.16.0 <6.1.1486.12.42, 6.6.102, 6.16.1, 6.15.10, 5.15.190, 6.1.148

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38645 severity on Zeptric[![CVE-2025-38645](https://zeptric.io/badge/cve/CVE-2025-38645.svg)](https://zeptric.io/cve/CVE-2025-38645)