CVE-2026-46176 json
RDMA/mlx5: Fix error path fall-through in mlx5_ib_dev_res_srq_init()
published 2026-05-28 5 mo ago modified 2026-10-19 20 d ago also EUVD-2026-32803
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.1%
- EPSS 0.1% chance of exploitation in 30 days, percentile 3%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
RDMA/mlx5: Fix error path fall-through in mlx5_ib_dev_res_srq_init()
mlx5_ib_dev_res_srq_init() allocates two SRQs, s0 and s1. When ib_create_srq() fails for s1, the error branch destroys s0 but falls through and unconditionally assigns the freed s0 and the ERR_PTR s1 to devr->s0 and devr->s1.
This leads to several problems: the lock-free fast path checks "if (devr->s1) return 0;" and treats the ERR_PTR as already initialised; users in mlx5_ib_create_qp() dereference the freed SRQ or ERR_PTR via to_msrq(devr->s0)->msrq.srqn; and mlx5_ib_dev_res_cleanup() dereferences the ERR_PTR and double-frees s0 on teardown.
Fix by adding the same `goto unlock` in the s1 failure path.
Patch / fix
- Linux Linux 6.6.140, 6.12.88, 6.18.30, 7.0.7, 7.1
- Red Hat Red Hat Enterprise Linux 10 0:6.12.0-211.29.1.el10_2
- Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support 0:6.12.0-55.84.1.el10_0
- Red Hat Red Hat Enterprise Linux 9 0:5.14.0-687.19.1.el9_8
- Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support 0:5.14.0-570.125.1.el9_6
- linux Debian 13 6.12.88-1
- linux Debian 14 7.0.7-1
debian advisories DEBIAN-CVE-2026-46176
- linux Ubuntu 24.04 LTS 6.8.0-136.136
- linux Ubuntu 26.04 LTS 7.0.0-28.28
- linux-aws Ubuntu 24.04 LTS 6.8.0-1061.64
- linux-aws Ubuntu 26.04 LTS 7.0.0-1009.9
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1064.72
- linux-gcp Ubuntu 26.04 LTS 7.0.0-1008.8
- linux-gke Ubuntu 24.04 LTS 6.8.0-1059.67
- linux-gke Ubuntu 26.04 LTS 7.0.0-1003.4
ubuntu advisories UBUNTU-CVE-2026-46176
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kpatch-patch-6_12_0-211_16_1 RHEL 10.2 2-10.el10_2
- kpatch-patch-6_12_0-211_49_1 RHEL 10.2 2-2.el10_2
- kpatch-patch-5_14_0-687_10_1 RHEL 9 1-10.el9_8
- kpatch-patch-5_14_0-687_42_1 RHEL 9 1-1.el9_8
- kernel RHEL 10.2 6.12.0-211.29.1.el10_2
- rv RHEL 10.2 6.12.0-211.29.1.el10_2
- perf RHEL 10.2 6.12.0-211.29.1.el10_2
- rtla RHEL 10.2 6.12.0-211.29.1.el10_2
red hat advisories RHSA-2026:82326RHSA-2026:81451RHSA-2026:81452RHSA-2026:34094RHSA-2026:33685RHSA-2026:33215
- kernel-rt Linux Micro 6.1, Linux Micro 6.0 6.4.0-48.1
- kernel-source-rt Linux Micro 6.1, Linux Micro 6.0 6.4.0-48.1
- kernel-rt Real Time Module 15 SP7 6.4.0-150700.7.59.2
- kernel-syms-rt Real Time Module 15 SP7 6.4.0-150700.7.59.1
- kernel-source-rt Real Time Module 15 SP7 6.4.0-150700.7.59.2
- kernel-64kb SLE Module for Basesystem 15 SP7 6.4.0-150700.53.60.1
- kernel-syms SLE Module for Development Tools 15 SP7 6.4.0-150700.53.60.1
- kernel-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.53.60.1
suse advisories SUSE-SU-2026:22433-1SUSE-SU-2026:22458-1SUSE-SU-2026:2591-1SUSE-SU-2026:2482-1SUSE-SU-2026:22108-1SUSE-SU-2026:22137-1
- kernel-rt openSUSE Leap 16.0 6.12.0-160000.35.1
- dtb-aarch64 openSUSE Leap 16.0 6.12.0-160000.35.1
- kernel-64kb openSUSE Leap 16.0 6.12.0-160000.35.1
- kernel-syms openSUSE Leap 16.0 6.12.0-160000.35.1
- kernel-azure openSUSE Leap 16.0 6.12.0-160000.35.1
- kernel-obs-qa openSUSE Leap 16.0 6.12.0-160000.35.1
- kernel-source openSUSE Leap 16.0 6.12.0-160000.35.1
- kernel-default openSUSE Leap 16.0 6.12.0-160000.35.1
opensuse advisories openSUSE-SU-2026:20965-1openSUSE-SU-2026:10954-1
- kernel AlmaLinux 10 6.12.0-211.29.1.el10_2
- rv AlmaLinux 10 6.12.0-211.29.1.el10_2
- perf AlmaLinux 10 6.12.0-211.29.1.el10_2
- rtla AlmaLinux 10 6.12.0-211.29.1.el10_2
- libperf AlmaLinux 10 6.12.0-211.29.1.el10_2
- kernel-rt AlmaLinux 10 6.12.0-211.29.1.el10_2
- kernel-64k AlmaLinux 10 6.12.0-211.29.1.el10_2
- kernel-core AlmaLinux 10 6.12.0-211.29.1.el10_2
almalinux advisories ALSA-2026:33685ALSA-2026:30848
- git.kernel.org/stable/c/a13c2ac4d480b734342c6fbf8249fc48afd675f3 commit
- git.kernel.org/stable/c/bc2cf5935b4665172235341163315905197ae91d commit
- git.kernel.org/stable/c/b087913ae88256df66620f7ba0a9776716aeef7e commit
- git.kernel.org/stable/c/6fd93142dd1d09000c3750af08270f5792523fe9 commit
- git.kernel.org/stable/c/c488df06bd552bb8b6e14fa0cfd5ad986c6e9525 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-46176 updated cvss 7.0
kernel: RDMA/mlx5: Fix error path fall-through in mlx5_ib_dev_res_srq_init()
-
Red Hat CodeReady Linux Builder EUS (v.9.6) libperf 5.14.0-570.125.1.el9_6, kernel-debuginfo-common-s390x 5.14.0-570.125.1.el9_6, kernel-debuginfo-common-x86_64 5.14.0-570.125.1.el9_6, kernel-debuginfo-common-aarch64 5.14.0-570.125.1.el9_6, kernel-debuginfo-common-ppc64le 5.14.0-570.125.1.el9_6fixed: vendor fix RHSA-2026:34094
-
Red Hat Enterprise Linux AppStream (v. 9) rv 5.14.0-687.19.1.el9_8, perf 5.14.0-687.19.1.el9_8, rtla 5.14.0-687.19.1.el9_8, python3-perf 5.14.0-687.19.1.el9_8, kernel-devel-matched 5.14.0-687.19.1.el9_8, kernel-64k-devel-matched 5.14.0-687.19.1.el9_8, +7 morefixed: vendor fix RHSA-2026:30848
-
Red Hat Enterprise Linux AppStream (v. 10) rv 6.12.0-211.29.1.el10_2, perf 6.12.0-211.29.1.el10_2, rtla 6.12.0-211.29.1.el10_2, python3-perf 6.12.0-211.29.1.el10_2, kernel-devel-matched 6.12.0-211.29.1.el10_2, kernel-64k-devel-matched 6.12.0-211.29.1.el10_2, +7 morefixed: vendor fix RHSA-2026:33685
-
Red Hat Enterprise Linux AppStream EUS (v. 10.0) rv 6.12.0-55.84.1.el10_0, perf 6.12.0-55.84.1.el10_0, rtla 6.12.0-55.84.1.el10_0, python3-perf 6.12.0-55.84.1.el10_0, kernel-devel-matched 6.12.0-55.84.1.el10_0, kernel-64k-devel-matched 6.12.0-55.84.1.el10_0, +7 morefixed: vendor fix RHSA-2026:33215
-
Red Hat Enterprise Linux AppStream EUS (v.9.6) rv 5.14.0-570.125.1.el9_6, perf 5.14.0-570.125.1.el9_6, rtla 5.14.0-570.125.1.el9_6, python3-perf 5.14.0-570.125.1.el9_6, kernel-devel-matched 5.14.0-570.125.1.el9_6, kernel-64k-devel-matched 5.14.0-570.125.1.el9_6, +7 morefixed: vendor fix RHSA-2026:34094
-
Red Hat Enterprise Linux BaseOS (v. 9) kernel 5.14.0-687.19.1.el9_8, kernel-64k 5.14.0-687.19.1.el9_8, kernel-core 5.14.0-687.19.1.el9_8, kernel-tools 5.14.0-687.19.1.el9_8, kernel-modules 5.14.0-687.19.1.el9_8, kernel-64k-core 5.14.0-687.19.1.el9_8, +29 morefixed: vendor fix RHSA-2026:30848
-
Red Hat Enterprise Linux BaseOS (v. 10) kernel 6.12.0-211.29.1.el10_2, kernel-64k 6.12.0-211.29.1.el10_2, kernel-core 6.12.0-211.29.1.el10_2, kernel-tools 6.12.0-211.29.1.el10_2, kernel-modules 6.12.0-211.29.1.el10_2, kernel-64k-core 6.12.0-211.29.1.el10_2, +30 morefixed: vendor fix RHSA-2026:33685
-
Red Hat Enterprise Linux BaseOS EUS (v. 10.0) kernel 6.12.0-55.84.1.el10_0, kernel-64k 6.12.0-55.84.1.el10_0, kernel-core 6.12.0-55.84.1.el10_0, kernel-tools 6.12.0-55.84.1.el10_0, kernel-modules 6.12.0-55.84.1.el10_0, kernel-64k-core 6.12.0-55.84.1.el10_0, +27 morefixed: vendor fix RHSA-2026:33215
show 13 moreshow fewer
-
Red Hat Enterprise Linux BaseOS EUS (v.9.6) kernel 5.14.0-570.125.1.el9_6, kernel-64k 5.14.0-570.125.1.el9_6, kernel-core 5.14.0-570.125.1.el9_6, kernel-tools 5.14.0-570.125.1.el9_6, kernel-modules 5.14.0-570.125.1.el9_6, kernel-64k-core 5.14.0-570.125.1.el9_6, +32 morefixed: vendor fix RHSA-2026:34094
-
Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) libperf 5.14.0-687.19.1.el9_8, kernel-debuginfo-common-s390x 5.14.0-687.19.1.el9_8, kernel-debuginfo-common-x86_64 5.14.0-687.19.1.el9_8, kernel-debuginfo-common-aarch64 5.14.0-687.19.1.el9_8, kernel-debuginfo-common-ppc64le 5.14.0-687.19.1.el9_8fixed: vendor fix RHSA-2026:30848
-
Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) libperf 6.12.0-211.29.1.el10_2, kernel-debuginfo-common-s390x 6.12.0-211.29.1.el10_2, kernel-debuginfo-common-x86_64 6.12.0-211.29.1.el10_2, kernel-debuginfo-common-aarch64 6.12.0-211.29.1.el10_2, kernel-debuginfo-common-ppc64le 6.12.0-211.29.1.el10_2fixed: vendor fix RHSA-2026:33685
-
Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0) libperf 6.12.0-55.84.1.el10_0, kernel-debuginfo-common-s390x 6.12.0-55.84.1.el10_0, kernel-debuginfo-common-x86_64 6.12.0-55.84.1.el10_0, kernel-debuginfo-common-aarch64 6.12.0-55.84.1.el10_0, kernel-debuginfo-common-ppc64le 6.12.0-55.84.1.el10_0fixed: vendor fix RHSA-2026:33215
-
Red Hat Enterprise Linux Real Time (v. 9) kernel-rt 5.14.0-687.19.1.el9_8, kernel-rt-64k 5.14.0-687.19.1.el9_8, kernel-rt-core 5.14.0-687.19.1.el9_8, kernel-rt-modules 5.14.0-687.19.1.el9_8, kernel-rt-64k-core 5.14.0-687.19.1.el9_8, kernel-rt-debug-core 5.14.0-687.19.1.el9_8, +14 morefixed: vendor fix RHSA-2026:30848
-
Red Hat Enterprise Linux Real Time (v. 10) kernel-rt 6.12.0-211.29.1.el10_2, kernel-rt-64k 6.12.0-211.29.1.el10_2, kernel-rt-core 6.12.0-211.29.1.el10_2, kernel-rt-modules 6.12.0-211.29.1.el10_2, kernel-rt-64k-core 6.12.0-211.29.1.el10_2, kernel-rt-debug-core 6.12.0-211.29.1.el10_2, +14 morefixed: vendor fix RHSA-2026:33685
-
Red Hat Enterprise Linux Real Time EUS (v. 10.0) kernel-rt 6.12.0-55.84.1.el10_0, kernel-rt-64k 6.12.0-55.84.1.el10_0, kernel-rt-core 6.12.0-55.84.1.el10_0, kernel-rt-modules 6.12.0-55.84.1.el10_0, kernel-rt-64k-core 6.12.0-55.84.1.el10_0, kernel-rt-debug-core 6.12.0-55.84.1.el10_0, +14 morefixed: vendor fix RHSA-2026:33215
-
Red Hat Enterprise Linux Real Time EUS (v.9.6) kernel-rt 5.14.0-570.125.1.el9_6, kernel-rt-64k 5.14.0-570.125.1.el9_6, kernel-rt-core 5.14.0-570.125.1.el9_6, kernel-rt-modules 5.14.0-570.125.1.el9_6, kernel-rt-64k-core 5.14.0-570.125.1.el9_6, kernel-rt-debug-core 5.14.0-570.125.1.el9_6, +14 morefixed: vendor fix RHSA-2026:34094
-
Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt 5.14.0-687.19.1.el9_8, kernel-rt-core 5.14.0-687.19.1.el9_8, kernel-rt-modules 5.14.0-687.19.1.el9_8, kernel-rt-debug-core 5.14.0-687.19.1.el9_8, kernel-rt-modules-core 5.14.0-687.19.1.el9_8, kernel-rt-debug-modules 5.14.0-687.19.1.el9_8, +4 morefixed: vendor fix RHSA-2026:30848
-
Red Hat Enterprise Linux Real Time for NFV (v. 10) kernel-rt 6.12.0-211.29.1.el10_2, kernel-rt-core 6.12.0-211.29.1.el10_2, kernel-rt-modules 6.12.0-211.29.1.el10_2, kernel-rt-debug-core 6.12.0-211.29.1.el10_2, kernel-rt-modules-core 6.12.0-211.29.1.el10_2, kernel-rt-debug-modules 6.12.0-211.29.1.el10_2, +4 morefixed: vendor fix RHSA-2026:33685
-
Red Hat Enterprise Linux Real Time for NFV EUS (v. 10.0) kernel-rt 6.12.0-55.84.1.el10_0, kernel-rt-kvm 6.12.0-55.84.1.el10_0, kernel-rt-core 6.12.0-55.84.1.el10_0, kernel-rt-modules 6.12.0-55.84.1.el10_0, kernel-rt-debug-kvm 6.12.0-55.84.1.el10_0, kernel-rt-debug-core 6.12.0-55.84.1.el10_0, +6 morefixed: vendor fix RHSA-2026:33215
-
Red Hat Enterprise Linux Real Time for NFV EUS (v.9.6) kernel-rt 5.14.0-570.125.1.el9_6, kernel-rt-kvm 5.14.0-570.125.1.el9_6, kernel-rt-core 5.14.0-570.125.1.el9_6, kernel-rt-modules 5.14.0-570.125.1.el9_6, kernel-rt-debug-kvm 5.14.0-570.125.1.el9_6, kernel-rt-debug-core 5.14.0-570.125.1.el9_6, +6 morefixed: vendor fix RHSA-2026:34094
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +12 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 23 d ago
Exploit prediction
0.14% chance of exploitation in the next 30 days, higher than 3% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CISA ADP | 3.1 | 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
- Red Hat Red Hat Enterprise Linux 10
- Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support
- Red Hat Red Hat Enterprise Linux 9
- Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support
- Red Hat Red Hat Enterprise Linux 6
- Red Hat Red Hat Enterprise Linux 7
- Red Hat Red Hat Enterprise Linux 8
Classification
- Weakness
-
- CWE-825 Expired Pointer Dereference
- Technology feeds
References
-
git.kernel.org
/stable/c/a13c2ac4d480b734342c6fbf8249fc48afd675f3
patch
-
git.kernel.org
/stable/c/bc2cf5935b4665172235341163315905197ae91d
patch
-
git.kernel.org
/stable/c/b087913ae88256df66620f7ba0a9776716aeef7e
patch
-
git.kernel.org
/stable/c/6fd93142dd1d09000c3750af08270f5792523fe9
patch
-
git.kernel.org
/stable/c/c488df06bd552bb8b6e14fa0cfd5ad986c6e9525
patch
-
access.redhat.com
/errata/RHSA-2026:33215
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:33685
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:34094
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:30848
vendor-advisory
-
access.redhat.com
/security/cve/CVE-2026-46176
vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=2482594
issue-tracking
- security.access.redhat.com /data/csaf/v2/vex/2026/cve-2026-46176.json
Sources
- CVE List CVE-2026-46176
- NVD CVE-2026-46176
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.