CVE-2025-21901 RDMA/bnxt_re: Add sanity checks on rdev validity

High 7.8 Published Updated

A null pointer dereference in the Linux kernel RDMA driver can cause a system crash when device callbacks occur during detachment.

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-21901?

CVE-2025-21901 is a high-severity vulnerability in Linux kernel, published on 1 Apr 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:

RDMA/bnxt_re: Add sanity checks on rdev validity

There is a possibility that ulp_irq_stop and ulp_irq_start callbacks will be called when the device is in detached state. This can cause a crash due to NULL pointer dereference as the rdev is already freed.

Weakness: CWE-476

Which versions are affected by CVE-2025-21901?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-21901?

Apply the vendor's patch.

Is CVE-2025-21901 being exploited?

There is no known exploitation of CVE-2025-21901 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2025-21901, DEBIAN-CVE-2025-21901, GHSA-j57r-qmgx-xp34, UBUNTU-CVE-2025-21901.

Is CVE-2025-21901 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free