CVE-2021-47078
published high CVSS 3.1 · 7.8RDMA/rxe: Clear all QP fields if creation failed
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux8700e3e7c4857d28ebaa824509934556da0b3e76 to < c65391dd9f0a47617e96e38bd27e277cbe1c40b0 · 8700e3e7c4857d28ebaa824509934556da0b3e76 to < 6a8086a42dfbf548a42bf2ae4faa291645c72c66 · 8700e3e7c4857d28ebaa824509934556da0b3e76 to < f3783c415bf6d2ead3d7aa2c38802bbe10723646 · 8700e3e7c4857d28ebaa824509934556da0b3e76 to < a62225d951d77eb20208fed8fc199e0c9b1df08b · 8700e3e7c4857d28ebaa824509934556da0b3e76 to < 2ee4d79c364914989c80de382c0b1a7259a7e4b3 · 8700e3e7c4857d28ebaa824509934556da0b3e76 to < 03344e843ab6dd3b3f2cadfb65ed910590856c70 · 8700e3e7c4857d28ebaa824509934556da0b3e76 to < 67f29896fdc83298eed5a6576ff8f9873f709228 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.8 (affected) · 0 to < 4.8 (unaffected · semver) · 4.9.270 through 4.9.* (unaffected · semver) · 4.14.234 through 4.14.* (unaffected · semver) · 4.19.192 through 4.19.* (unaffected · semver) · 5.4.122 through 5.4.* (unaffected · semver) · 5.10.40 through 5.10.* (unaffected · semver) · 5.12.7 through 5.12.* (unaffected · semver) · 5.13 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2021-1685 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2022-002 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2022-004 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaults390x | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-rtx86_64 | Advisory build | 4.12.14-10.171.1 | SUSE-SU-2024:0976-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultppc64le | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaults390x | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-rtx86_64 | Advisory build | 4.12.14-10.171.1 | SUSE-SU-2024:0976-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaults390x | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-rtx86_64 | Advisory build | 4.12.14-10.171.1 | SUSE-SU-2024:0976-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-azurex86_64 | Advisory build | 4.12.14-16.173.1 | SUSE-SU-2024:0975-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-azure-basex86_64 | Advisory build | 4.12.14-16.173.1 | SUSE-SU-2024:0975-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-azure-develx86_64 | Advisory build | 4.12.14-16.173.1 | SUSE-SU-2024:0975-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultaarch64 | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultppc64le | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaults390x | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultx86_64 | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseaarch64 | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseppc64le | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-bases390x | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-basex86_64 | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develaarch64 | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develppc64le | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-devels390x | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develx86_64 | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-extrax86_64 | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftppc64le | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgrafts390x | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftx86_64 | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develppc64le | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-devels390x | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develx86_64 | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-mans390x | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-develnoarch | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-devel-azurenoarch | Advisory build | 4.12.14-16.173.1 | SUSE-SU-2024:0975-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-devel-rtnoarch | Advisory build | 4.12.14-10.171.1 | SUSE-SU-2024:0976-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-docsnoarch | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-macrosnoarch | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-buildaarch64 | Advisory build | 4.12.14-122.201.2 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-buildppc64le | Advisory build | 4.12.14-122.201.2 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-builds390x | Advisory build | 4.12.14-122.201.2 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-buildx86_64 | Advisory build | 4.12.14-122.201.2 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rtx86_64 | Advisory build | 4.12.14-10.171.1 | SUSE-SU-2024:0976-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt-basex86_64 | Advisory build | 4.12.14-10.171.1 | SUSE-SU-2024:0976-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt-develx86_64 | Advisory build | 4.12.14-10.171.1 | SUSE-SU-2024:0976-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt_debugx86_64 | Advisory build | 4.12.14-10.171.1 | SUSE-SU-2024:0976-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt_debug-develx86_64 | Advisory build | 4.12.14-10.171.1 | SUSE-SU-2024:0976-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-sourcenoarch | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-source-azurenoarch | Advisory build | 4.12.14-16.173.1 | SUSE-SU-2024:0975-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-source-rtnoarch | Advisory build | 4.12.14-10.171.1 | SUSE-SU-2024:0976-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsaarch64 | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsppc64le | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symss390x | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsx86_64 | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-syms-azurex86_64 | Advisory build | 4.12.14-16.173.1 | SUSE-SU-2024:0975-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-syms-rtx86_64 | Advisory build | 4.12.14-10.171.1 | SUSE-SU-2024:0976-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_201-defaultppc64le | Advisory build | 1-8.7.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_201-defaults390x | Advisory build | 1-8.7.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_201-defaultx86_64 | Advisory build | 1-8.7.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaults390x | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.201.1 | SUSE-SU-2024:0925-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-rtx86_64 | Advisory build | 4.12.14-10.171.1 | SUSE-SU-2024:0976-1 |
| SUSE / openSUSE | SLE-15-SP2 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | cluster-md-kmp-defaultppc64le | Advisory build | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | cluster-md-kmp-defaults390x | Advisory build | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | dlm-kmp-defaultaarch64 | Advisory build | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | dlm-kmp-defaultppc64le | Advisory build | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | dlm-kmp-defaults390x | Advisory build | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | dlm-kmp-defaultx86_64 | Advisory build | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | gfs2-kmp-defaultaarch64 | Advisory build | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | gfs2-kmp-defaultppc64le | Advisory build | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | gfs2-kmp-defaults390x | Advisory build | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | gfs2-kmp-defaultx86_64 | Advisory build | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-defaultaarch64 | Advisory build | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-defaultppc64le | Advisory build | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-defaults390x | Advisory build | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-defaultx86_64 | Advisory build | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-baseaarch64 | Advisory build | 5.3.18-150200.24.183.1.150200.9.93.2 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-baseppc64le | Advisory build | 5.3.18-150200.24.183.1.150200.9.93.2 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-bases390x | Advisory build | 5.3.18-150200.24.183.1.150200.9.93.2 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-basex86_64 | Advisory build | 5.3.18-150200.24.183.1.150200.9.93.2 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-develaarch64 | Advisory build | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-develppc64le | Advisory build | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-devels390x | Advisory build | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-develx86_64 | Advisory build | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-livepatchppc64le | Advisory build | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-livepatchs390x | Advisory build | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-livepatchx86_64 | Advisory build | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-livepatch-develppc64le | Advisory build | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-livepatch-devels390x | Advisory build | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-livepatch-develx86_64 | Advisory build | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-develnoarch | Advisory build | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-docsnoarch | Advisory build | 5.3.18-150200.24.183.1 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-livepatch-5_3_18-150200_24_183-defaultppc64le | Advisory build | 1-150200.5.3.2 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-livepatch-5_3_18-150200_24_183-defaults390x | Advisory build | 1-150200.5.3.2 | SUSE-SU-2024:0926-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-livepatch-5_3_18-150200_24_183-defaultx86_64 | Advisory build | 1-150200.5.3.2 | SUSE-SU-2024:0926-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Clear all QP fields if creation failed rxe_qp_do_cleanup() relies on valid pointer values in QP for the properly created ones, but in case rxe_qp_from_init() failed it was filled with garbage and caused tot the following error. refcount_t: underflow; use-after-free. WARNING: CPU: 1 PID: 12560 at lib/refcount.c:28 refcount_warn_saturate+0x1d1/0x1e0 lib/refcount.c:28 Modules linked in: CPU: 1 PID: 12560 Comm: syz-executor.4 Not tainted 5.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:refcount_warn_saturate+0x1d1/0x1e0 lib/refcount.c:28 Code: e9 db fe ff ff 48 89 df e8 2c c2 ea fd e9 8a fe ff ff e8 72 6a a7 fd 48 c7 c7 e0 b2 c1 89 c6 05 dc 3a e6 09 01 e8 ee 74 fb 04 <0f> 0b e9 af fe ff ff 0f 1f 84 00 00 00 00 00 41 56 41 55 41 54 55 RSP: 0018:ffffc900097ceba8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff815bb075 RDI: fffff520012f9d67 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815b4eae R11: 0000000000000000 R12: ffff8880322a4800 R13: ffff8880322a4940 R14: ffff888033044e00 R15: 0000000000000000 FS: 00007f6eb2be3700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdbe5d41000 CR3: 000000001d181000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __refcount_sub_and_test include/linux/refcount.h:283 [inline] __refcount_dec_and_test include/linux/refcount.h:315 [inline] refcount_dec_and_test include/linux/refcount.h:333 [inline] kref_put include/linux/kref.h:64 [inline] rxe_qp_do_cleanup+0x96f/0xaf0 drivers/infiniband/sw/rxe/rxe_qp.c:805 execute_in_process_context+0x37/0x150 kernel/workqueue.c:3327 rxe_elem_release+0x9f/0x180 drivers/infiniband/sw/rxe/rxe_pool.c:391 kref_put include/linux/kref.h:65 [inline] rxe_create_qp+0x2cd/0x310 drivers/infiniband/sw/rxe/rxe_verbs.c:425 _ib_create_qp drivers/infiniband/core/core_priv.h:331 [inline] ib_create_named_qp+0x2ad/0x1370 drivers/infiniband/core/verbs.c:1231 ib_create_qp include/rdma/ib_verbs.h:3644 [inline] create_mad_qp+0x177/0x2d0 drivers/infiniband/core/mad.c:2920 ib_mad_port_open drivers/infiniband/core/mad.c:3001 [inline] ib_mad_init_device+0xd6f/0x1400 drivers/infiniband/core/mad.c:3092 add_client_context+0x405/0x5e0 drivers/infiniband/core/device.c:717 enable_device_and_get+0x1cd/0x3b0 drivers/infiniband/core/device.c:1331 ib_register_device drivers/infiniband/core/device.c:1413 [inline] ib_register_device+0x7c7/0xa50 drivers/infiniband/core/device.c:1365 rxe_register_device+0x3d5/0x4a0 drivers/infiniband/sw/rxe/rxe_verbs.c:1147 rxe_add+0x12fe/0x16d0 drivers/infiniband/sw/rxe/rxe.c:247 rxe_net_add+0x8c/0xe0 drivers/infiniband/sw/rxe/rxe_net.c:503 rxe_newlink drivers/infiniband/sw/rxe/rxe.c:269 [inline] rxe_newlink+0xb7/0xe0 drivers/infiniband/sw/rxe/rxe.c:250 nldev_newlink+0x30e/0x550 drivers/infiniband/core/nldev.c:1555 rdma_nl_rcv_msg+0x36d/0x690 drivers/infiniband/core/netlink.c:195 rdma_nl_rcv_skb drivers/infiniband/core/netlink.c:239 [inline] rdma_nl_rcv+0x2ee/0x430 drivers/infiniband/core/netlink.c:259 netlink_unicast_kernel net/netlink/af_netlink.c:1312 [inline] netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1338 netlink_sendmsg+0x856/0xd90 net/netlink/af_netlink.c:1927 sock_sendmsg_nosec net/socket.c:654 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:674 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2350 ___sys_sendmsg+0xf3/0x170 net/socket.c:2404 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2433 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0 ---truncated---
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The bug is in Soft RoCE QP creation failure cleanup, reached via local uverbs create_qp or RDMA netlink nldev_newlink, not via processing remote packets. AC:L - An attacker who can create QPs can reliably force rxe_qp_from_init() to fail (e.g., mmap-info allocation or copy_to_user failure on the userspace path) and hit the broken cleanup; no conditions outside attacker control are required. PR:L - Once an rxe device exists, /dev/infiniband/uverbs* is mode 0666 with no capability check for ordinary create_qp, so an unprivileged local user can trigger the same failure/cleanup UAF; creating the link itself needs CAP_NET_ADMIN in init_user_ns, but the vulnerable code is reachable without that. UI:N - Exploitation requires only attacker-controlled syscalls (uverbs or netlink); no victim action is needed. S:U - Impact is confined to the local kernel privilege boundary (standard local UAF/privilege escalation), with no VM escape or cross-authority boundary crossed. C:H - Failed QP init drops PD/CQ/SRQ refs then leaves those pointers set so rxe_qp_do_cleanup() drops them again, producing a refcount underflow use-after-free that can yield arbitrary kernel read primitives. I:H - The same UAF/double-free of referenced objects and dangling queue pointers enables heap reuse and arbitrary write / control-flow hijacking in the kernel. A:H - The bug demonstrably causes refcount underflow warnings and use-after-free during cleanup, which can oops/panic the kernel even without full exploitation.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 8700e3e7c4857d28ebaa824509934556da0b3e76 to < c65391dd9f0a47617e96e38bd27e277cbe1c40b0 (affected · git)8700e3e7c4857d28ebaa824509934556da0b3e76 to < 6a8086a42dfbf548a42bf2ae4faa291645c72c66 (affected · git)8700e3e7c4857d28ebaa824509934556da0b3e76 to < f3783c415bf6d2ead3d7aa2c38802bbe10723646 (affected · git)8700e3e7c4857d28ebaa824509934556da0b3e76 to < a62225d951d77eb20208fed8fc199e0c9b1df08b (affected · git)8700e3e7c4857d28ebaa824509934556da0b3e76 to < 2ee4d79c364914989c80de382c0b1a7259a7e4b3 (affected · git)8700e3e7c4857d28ebaa824509934556da0b3e76 to < 03344e843ab6dd3b3f2cadfb65ed910590856c70 (affected · git)8700e3e7c4857d28ebaa824509934556da0b3e76 to < 67f29896fdc83298eed5a6576ff8f9873f709228 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.8 (affected)0 to < 4.8 (unaffected · semver)4.9.270 through 4.9.* (unaffected · semver)4.14.234 through 4.14.* (unaffected · semver)4.19.192 through 4.19.* (unaffected · semver)5.4.122 through 5.4.* (unaffected · semver)5.10.40 through 5.10.* (unaffected · semver)5.12.7 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-noinfo Not enough information
References
7- https://git.kernel.org/stable/c/03344e843ab6dd3b3f2cadfb65ed910590856c70
- https://git.kernel.org/stable/c/2ee4d79c364914989c80de382c0b1a7259a7e4b3
- https://git.kernel.org/stable/c/67f29896fdc83298eed5a6576ff8f9873f709228
- https://git.kernel.org/stable/c/6a8086a42dfbf548a42bf2ae4faa291645c72c66
- https://git.kernel.org/stable/c/a62225d951d77eb20208fed8fc199e0c9b1df08b
- https://git.kernel.org/stable/c/c65391dd9f0a47617e96e38bd27e277cbe1c40b0
- https://git.kernel.org/stable/c/f3783c415bf6d2ead3d7aa2c38802bbe10723646
Provider assertions
3Linux · cna
RDMA/rxe: Clear all QP fields if creation failed
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6b1b3be38194be047e721222a18ec2ec63410cd4823228abda9c6920ed8f76e1
- Ingested
- 23 Sep 2026, 07:57:04 UTC
- Source record
- Official CVE record