# CVE-2026-46181: RDMA/mlx4: Fix mis-use of RCU in mlx4_srq_event()

- 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.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-05-28T09:36:34.706Z
- Modified: 2026-10-30T13:18:57.297Z
- Weaknesses: CWE-366
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 30353bfc43a1602c020f31d95cf27182ffd23824 before 654aeddbc6e0f6e56531985bb12328ab4230c6c1; from 30353bfc43a1602c020f31d95cf27182ffd23824 before 2d8b30b496bc53e961ba7415fd629fc27813017c; from 30353bfc43a1602c020f31d95cf27182ffd23824 before f0dbd9355ce1e93808541260c7ffab7956df9233; from 30353bfc43a1602c020f31d95cf27182ffd23824 before 1e2a44875b6afb4add1115f7f3351dcbeb6f273d; from 30353bfc43a1602c020f31d95cf27182ffd23824 before 8b7833f3bce35cb0d01c1503781523c099c675f0; from 30353bfc43a1602c020f31d95cf27182ffd23824 before c9341307ea16b9395c2e4c9c94d8499d91fe31d0; 4.9 (not affected: before 4.9; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.114 up to 6.12.*; from 6.18.30 up to 6.18.*; from 7.0.7 up to 7.0.*; from 7.1 up to *)
- kernel-rt: no versions given (not affected: from 0:3.10.0-1160.155.1.rt56.1307.el7 before *; from 0:4.18.0-553.132.1.rt7.473.el8_10 before *; from 0:5.14.0-284.178.1.rt14.463.el9_2 before *)
- kernel: no versions given (not affected: from 0:3.10.0-1160.155.1.el7 before *; from 0:4.18.0-553.132.1.el8_10 before *; from 0:4.18.0-305.197.1.el8_4 before *; from 0:4.18.0-372.199.1.el8_6 before *; from 0:4.18.0-477.150.1.el8_8 before *; from 0:5.14.0-687.15.1.el9_8 before *; from 0:5.14.0-284.178.1.el9_2 before *; from 0:5.14.0-427.135.1.el9_4 before *; from 0:5.14.0-570.125.1.el9_6 before *)
- linux linux_kernel: from 4.9 before 6.18.30; from 6.19 before 7.0.7; 7.1

## 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`
- redhat-SADP: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/654aeddbc6e0f6e56531985bb12328ab4230c6c1>
- <https://git.kernel.org/stable/c/2d8b30b496bc53e961ba7415fd629fc27813017c>
- <https://git.kernel.org/stable/c/f0dbd9355ce1e93808541260c7ffab7956df9233>
- <https://git.kernel.org/stable/c/1e2a44875b6afb4add1115f7f3351dcbeb6f273d> (patch)
- <https://git.kernel.org/stable/c/8b7833f3bce35cb0d01c1503781523c099c675f0> (patch)
- <https://git.kernel.org/stable/c/c9341307ea16b9395c2e4c9c94d8499d91fe31d0> (patch)
- <https://access.redhat.com/security/cve/CVE-2026-46181> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2482532> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46181.json>
- <https://access.redhat.com/errata/RHSA-2026:36216> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:41236> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:34095> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:34443> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:34094> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:25217> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:25121> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:35896> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:35894> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:35863> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:25120> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:33900> (vendor-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2026-46181 · Whole record: https://cve.day/CVE-2026-46181.json · Rebuilt by cve.day 2026-11-25T22:59:22.845Z
