---
id: CVE-2026-46181
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  RDMA/mlx4: Fix mis-use of RCU in mlx4_srq_event()

  Sashiko points out the radix_tree itself is RCU safe, but nothing ever
  frees the mlx4_srq struct with RCU, and it isn…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  RDMA/mlx4: Fix mis-use of RCU in mlx4_srq_event()

  Sashiko points out the radix_tree itself is RCU safe, but nothing ever
  frees the mlx4_srq struct with RCU, and it isn…
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-366
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 4.9, < 6.18.30'
  - 'linux_kernel >= 6.19, < 7.0.7'
  - linux_kernel = 7.1
patched:
  - linux_kernel 7.0.7
published: '2026-05-28'
updated: '2026-07-02'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-46181'
references:
  - url: 'https://git.kernel.org/stable/c/1e2a44875b6afb4add1115f7f3351dcbeb6f273d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8b7833f3bce35cb0d01c1503781523c099c675f0'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/c9341307ea16b9395c2e4c9c94d8499d91fe31d0'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://access.redhat.com/errata/RHSA-2026:25120'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:25121'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:25217'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:33900'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:34094'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:34095'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:34443'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/security/cve/CVE-2026-46181'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2482532'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46181.json
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-46181'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-46181'
  - url: >-
      https://lore.kernel.org/linux-cve-announce/2026052829-CVE-2026-46181-ecff@gregkh/T
  - url: 'https://access.redhat.com/errata/RHSA-2026:36216'
  - url: 'https://access.redhat.com/errata/RHSA-2026:41236'
  - url: 'https://access.redhat.com/errata/RHSA-2026:35896'
  - url: 'https://access.redhat.com/errata/RHSA-2026:35894'
  - url: 'https://access.redhat.com/errata/RHSA-2026:35863'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00114
epssPercentile: 0.01654
ingestedAt: '2026-07-02T13:35:59.431Z'
scores:
  nvd: 7.8
  vendor: 7
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

RDMA/mlx4: Fix mis-use of RCU in mlx4_srq_event()

Sashiko points out the radix_tree itself is RCU safe, but nothing ever
frees the mlx4_srq struct with RCU, and it isn't even accessed within the
RCU critical section. It also will crash if an event is delivered before
the srq object is finished initializing.

Use the spinlock since it isn't easy to make RCU work, use
refcount_inc_not_zero() to protect against partially initialized objects,
and order the refcount_set() to be after the srq is fully initialized.

## Affected

- `linux_kernel >= 4.9, < 6.18.30`
- `linux_kernel >= 6.19, < 7.0.7`
- `linux_kernel = 7.1`

## Remediation

Upgrade past the affected range:

- `linux_kernel 7.0.7`

## Vendor advisories

- **RHSA-2026:36216** · Red Hat · fixed in: Red Hat Enterprise Linux Server (v. 7 ELS), Red Hat Enterprise Linux Server Optional (v. 7 ELS) · released 2026-07-07 · [advisory](https://access.redhat.com/errata/RHSA-2026:36216)
- **RHSA-2026:41236** · Red Hat · fixed in: Red Hat Enterprise Linux for Real Time (v. 7 ELS) · released 2026-07-17 · [advisory](https://access.redhat.com/errata/RHSA-2026:41236)
- **RHSA-2026:34095** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream E4S (v.9.2), Red Hat Enterprise Linux BaseOS E4S (v.9.2) · released 2026-07-01 · [advisory](https://access.redhat.com/errata/RHSA-2026:34095)
- **RHSA-2026:34443** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream E4S (v.9.4), Red Hat Enterprise Linux BaseOS E4S (v.9.4), Red Hat Enterprise Linux Real Time for NFV E4S (v.9.4), Red Hat Enterprise Linux Real Time E4S (v.9.4) · released 2026-07-01 · [advisory](https://access.redhat.com/errata/RHSA-2026:34443)
- **RHSA-2026:34094** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream EUS (v.9.6), Red Hat Enterprise Linux BaseOS EUS (v.9.6), Red Hat CodeReady Linux Builder EUS (v.9.6), Red Hat Enterprise Linux Real Time for NFV EUS (v.9.6), Red Hat Enterprise Linux Real Time EUS (v.9.6) · released 2026-07-01 · [advisory](https://access.redhat.com/errata/RHSA-2026:34094)
- **RHSA-2026:25217** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 9), Red Hat Enterprise Linux BaseOS (v. 9), Red Hat Enterprise Linux CodeReady Linux Builder (v. 9), Red Hat Enterprise Linux Real Time for NFV (v. 9), Red Hat Enterprise Linux Real Time (v. 9) · released 2026-06-11 · [advisory](https://access.redhat.com/errata/RHSA-2026:25217)
- **RHSA-2026:25121** · Red Hat · fixed in: Red Hat Enterprise Linux BaseOS (v. 8), Red Hat Enterprise Linux CRB (v. 8) · released 2026-06-10 · [advisory](https://access.redhat.com/errata/RHSA-2026:25121)
- **RHSA-2026:35896** · Red Hat · fixed in: Red Hat Enterprise Linux BaseOS AUS (v.8.4), Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) · released 2026-07-06 · [advisory](https://access.redhat.com/errata/RHSA-2026:35896)
- **RHSA-2026:35894** · Red Hat · fixed in: Red Hat Enterprise Linux BaseOS AUS (v.8.6), Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.6) · released 2026-07-06 · [advisory](https://access.redhat.com/errata/RHSA-2026:35894)
- **RHSA-2026:35863** · Red Hat · fixed in: Red Hat Enterprise Linux BaseOS E4S (v.8.8), Red Hat Enterprise Linux BaseOS TUS (v.8.8) · released 2026-07-06 · [advisory](https://access.redhat.com/errata/RHSA-2026:35863)
- **RHSA-2026:25120** · Red Hat · fixed in: Red Hat Enterprise Linux NFV (v. 8), Red Hat Enterprise Linux RT (v. 8) · released 2026-06-10 · [advisory](https://access.redhat.com/errata/RHSA-2026:25120)
- **Red Hat VEX** · Important · affected: Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 9 · updated 2026-09-14 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46181.json)
