CVE-2025-37888 net/mlx5: Fix null-ptr-deref in mlx5_create_{inner_,}ttc_table()
A missing null check in the Linux kernel's mlx5 network driver can cause a null pointer dereference, leading to a system crash.
- 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-37888?
CVE-2025-37888 is a medium-severity vulnerability in Linux kernel, published on 9 May 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: Fix null-ptr-deref in mlx5_create_{inner_,}ttc_table()
Add NULL check for mlx5_get_flow_namespace() returns in mlx5_create_inner_ttc_table() and mlx5_create_ttc_table() to prevent NULL pointer dereference.
Weakness: CWE-476
Which versions are affected by CVE-2025-37888?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-37888?
Apply the vendor's patch.
Is CVE-2025-37888 being exploited?
There is no known exploitation of CVE-2025-37888 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2025-37888, DEBIAN-CVE-2025-37888, GHSA-hx3g-38mv-vv77, ROOT-OS-UBUNTU-2204-CVE-2025-37888, UBUNTU-CVE-2025-37888.