---
id: CVE-2025-21901
title: |-
  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 sta…
summary: |-
  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 sta…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-476
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 6.12, < 6.12.18'
  - 'linux_kernel >= 6.13, < 6.13.6'
  - linux_kernel = 6.14
patched:
  - linux_kernel 6.13.6
published: '2025-04-01'
updated: '2026-07-30'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-21901'
references:
  - url: 'https://git.kernel.org/stable/c/8cb0eef46d70a99c88c26a1addb7fd955242e0e6'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/aed1bc673907e3df372b317c10ff2f3582f8bf1a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/f0df225d12fcb049429fb5bf5122afe143c2dd15'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-21901.json
  - url: 'https://access.redhat.com/security/cve/CVE-2025-21901'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2356595'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2025-21901'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-21901'
  - url: >-
      https://lore.kernel.org/linux-cve-announce/2025040133-CVE-2025-21901-8898@gregkh/T
tags:
  - nvd
  - csaf
  - vex
  - red-hat
  - score-dispute
epss: 0.00216
epssPercentile: 0.1196
ingestedAt: '2026-07-30T06:53:10.887Z'
scores:
  nvd: 7.8
  vendor: 4.4
---

## Overview

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.

## Affected

- `linux_kernel >= 6.12, < 6.12.18`
- `linux_kernel >= 6.13, < 6.13.6`
- `linux_kernel = 6.14`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.13.6`

## Vendor advisories

- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9 · updated 2026-10-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-21901.json)
