CVE-2025-38645

net/mlx5: Check device memory pointer before usage

State
Published
Severity
Not scored
Published
Aug 22, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c9b9dcb430b3cd0ad2b04c360c4e528d73430481 to before 9053a69abfb5680c2a95292b96df5d204bc0776fAffected
  • c9b9dcb430b3cd0ad2b04c360c4e528d73430481 to before eebb225fe6c9103293807b8edabcbad59f9589bcAffected
  • c9b9dcb430b3cd0ad2b04c360c4e528d73430481 to before 62d7cf455c887941ed6f105cd430ba04ee0b6c9fAffected
  • c9b9dcb430b3cd0ad2b04c360c4e528d73430481 to before 4249f1307932f1b6bbb8b7eba60d82f0b7e44430Affected
  • c9b9dcb430b3cd0ad2b04c360c4e528d73430481 to before 3046b011d368162b1b9ca9453eee0fea930e0a93Affected
  • c9b9dcb430b3cd0ad2b04c360c4e528d73430481 to before da899a1fd7c40e2e4302af1db7d0b8540fb22283Affected
  • c9b9dcb430b3cd0ad2b04c360c4e528d73430481 to before 70f238c902b8c0461ae6fbb8d1a0bbddc4350eeaAffected
LinuxLinux
  • 5.4Affected
  • before 5.4Not affected
  • 5.15.190 through 5.15.*Not affected
  • 6.1.148 through 6.1.*Not affected
  • 6.6.102 through 6.6.*Not affected
  • 6.12.42 through 6.12.*Not affected
  • 6.15.10 through 6.15.*Not affected
  • 6.16.1 through 6.16.*Not affected
  • 6.17 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.