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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-04-01T15:26:51.807Z
- Modified: 2026-08-05T11:55:16.513Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from cc5b9b48d44756a87170f3901c6c2fd99e6b89b2 before aed1bc673907e3df372b317c10ff2f3582f8bf1a; from cc5b9b48d44756a87170f3901c6c2fd99e6b89b2 before 8cb0eef46d70a99c88c26a1addb7fd955242e0e6; from cc5b9b48d44756a87170f3901c6c2fd99e6b89b2 before f0df225d12fcb049429fb5bf5122afe143c2dd15; 6.12 (not affected: before 6.12; from 6.12.18 up to 6.12.*; from 6.13.6 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 6.12 before 6.12.18; from 6.13 before 6.13.6; 6.14

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/aed1bc673907e3df372b317c10ff2f3582f8bf1a> (patch)
- <https://git.kernel.org/stable/c/8cb0eef46d70a99c88c26a1addb7fd955242e0e6> (patch)
- <https://git.kernel.org/stable/c/f0df225d12fcb049429fb5bf5122afe143c2dd15> (patch)

## Sources

- CVE List: [CVE-2025-21901](https://www.cve.org/CVERecord?id=CVE-2025-21901), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-21901](https://nvd.nist.gov/vuln/detail/CVE-2025-21901), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-21901 · Whole record: https://cve.day/CVE-2025-21901.json · Rebuilt by cve.day 2026-11-25T22:58:55.876Z
