CVE-2024-26872
published high CVSS 3.1 · 7.8RDMA/srpt: Do not register event handler until srpt device is fully setup
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxa42d985bd5b234da8b61347a78dc3057bf7bb94d to < bdd895e0190c464f54f84579e7535d80276f0fc5 · a42d985bd5b234da8b61347a78dc3057bf7bb94d to < 6413e78086caf7bf15639923740da0d91fdfd090 · a42d985bd5b234da8b61347a78dc3057bf7bb94d to < e362d007294955a4fb929e1c8978154a64efdcb6 · a42d985bd5b234da8b61347a78dc3057bf7bb94d to < 85570b91e4820a0db9d9432098778cafafa7d217 · a42d985bd5b234da8b61347a78dc3057bf7bb94d to < 7104a00fa37ae898a827381f1161fa3286c8b346 · a42d985bd5b234da8b61347a78dc3057bf7bb94d to < ec77fa12da41260c6bf9e060b89234b980c5130f · a42d985bd5b234da8b61347a78dc3057bf7bb94d to < c21a8870c98611e8f892511825c9607f1e2cd456 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.3 (affected) · 0 to < 3.3 (unaffected · semver) · 5.10.214 through 5.10.* (unaffected · semver) · 5.15.153 through 5.15.* (unaffected · semver) · 6.1.83 through 6.1.* (unaffected · semver) · 6.6.23 through 6.6.* (unaffected · semver) · 6.7.11 through 6.7.* (unaffected · semver) · 6.8.2 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Siemens | — | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem0 to < V1.1.1 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected; No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2024-054 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2024-075 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| Debian | bullseye | linux | Advisory build | 5.10.216-1 | DSA-5681-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 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-debug-kvm | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-kvm | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.5.1.rt7.346.el8_10 | ALSA-2024:3627 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.5.1.el8_10 | ALSA-2024:3618 |
| Debian | buster | linux-5.10 | Advisory build | 5.10.216-1~deb10u1 | DLA-3842-1 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernelx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-abi-stablelistsx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-corex86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-cross-headersaarch64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-cross-headersx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-debugx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-debug-corex86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-debug-develx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-debug-modulesx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-debug-modules-extrax86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-develx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-docx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-headersaarch64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-headersx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-modulesx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-modules-extrax86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-toolsaarch64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-toolsx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-tools-libsaarch64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-tools-libsx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-tools-libs-develaarch64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | kernel-tools-libs-develx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | perfaarch64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | perfx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | python3-perfaarch64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 8 | python3-perfx86_64 | Advisory build | 0:4.18.0-553.5.1.el8_10 | ELSA-2024-3618 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:7.4.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:7.4.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernelx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-abi-stablelistsx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-corex86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-cross-headersaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-cross-headersx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debugx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-corex86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-develx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-modulesx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-modules-corex86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-modules-extrax86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-debug-uki-virtx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-develx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-devel-matchedx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-docx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-headersaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-headersx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-modulesx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-modules-corex86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-modules-extrax86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-toolsaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-toolsx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-tools-libsaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-tools-libsx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-tools-libs-develaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-tools-libs-develx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-uki-virtx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | kernel-uki-virt-addonsx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | libperfaarch64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
| Oracle Linux | 9 | libperfx86_64 | Advisory build | 0:5.14.0-503.11.1.el9_5 | ELSA-2024-9315 |
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/srpt: Do not register event handler until srpt device is fully setup Upon rare occasions, KASAN reports a use-after-free Write in srpt_refresh_port(). This seems to be because an event handler is registered before the srpt device is fully setup and a race condition upon error may leave a partially setup event handler in place. Instead, only register the event handler after srpt device initialization is complete.
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 race is driven through local interfaces — RDMA netlink `RDMA_NLDEV_CMD_NEWLINK` to register an IB device (triggering `srpt_add_one`) and netdev up/down to dispatch the async IB port events. No remote packet processing is involved in reaching the vulnerable window. AC:L - The attacker controls both sides of the race: repeated `rdma link add`/`del` of soft-RoCE devices re-enters `srpt_add_one()` at will, while concurrent netdev link flaps generate `IB_EVENT_PORT_ACTIVE`/`IB_EVENT_PORT_ERR` inside the unprotected window, and keeping the netdev down makes `rdma_query_gid()` fail to force the `err_port` free path. PR:L - `nldev_newlink` is gated only by `netlink_capable(skb, CAP_NET_ADMIN)`, which resolves against the netns-owning user namespace, so an unprivileged user satisfies it via `unshare -Urn`; RDMA_NL_NLDEV is explicitly allowed in non-init net namespaces and `rxe_newlink()` adds no further restriction. UI:N - The attacker triggers device registration and the async IB events entirely from their own processes; no action by any other user or administrator is required. S:U - The corruption is confined to kernel slab memory within the same security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - The use-after-free on the freed `srpt_device`/`srpt_port` allocation lets the attacker reclaim the slab object with a chosen structure, turning the stale `sport` reference into a means of reading and disclosing arbitrary kernel memory. I:H - `srpt_refresh_port()` writes into the freed object — `sm_lid`, `lid`, a 16-byte `gid`, and two `snprintf()`-formatted strings — giving a multi-byte write into attacker-sprayed heap memory that can corrupt adjacent kernel structures and be leveraged for control-flow hijacking. A:H - Both failure modes crash the kernel: `schedule_work()` on a zeroed `work_struct` makes the kworker call a NULL `work->func`, and the use-after-free write reliably produces oopses/panics.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | a42d985bd5b234da8b61347a78dc3057bf7bb94d to < bdd895e0190c464f54f84579e7535d80276f0fc5 (affected · git)a42d985bd5b234da8b61347a78dc3057bf7bb94d to < 6413e78086caf7bf15639923740da0d91fdfd090 (affected · git)a42d985bd5b234da8b61347a78dc3057bf7bb94d to < e362d007294955a4fb929e1c8978154a64efdcb6 (affected · git)a42d985bd5b234da8b61347a78dc3057bf7bb94d to < 85570b91e4820a0db9d9432098778cafafa7d217 (affected · git)a42d985bd5b234da8b61347a78dc3057bf7bb94d to < 7104a00fa37ae898a827381f1161fa3286c8b346 (affected · git)a42d985bd5b234da8b61347a78dc3057bf7bb94d to < ec77fa12da41260c6bf9e060b89234b980c5130f (affected · git)a42d985bd5b234da8b61347a78dc3057bf7bb94d to < c21a8870c98611e8f892511825c9607f1e2cd456 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.3 (affected)0 to < 3.3 (unaffected · semver)5.10.214 through 5.10.* (unaffected · semver)5.15.153 through 5.15.* (unaffected · semver)6.1.83 through 6.1.* (unaffected · semver)6.6.23 through 6.6.* (unaffected · semver)6.7.11 through 6.7.* (unaffected · semver)6.8.2 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 to < V1.1.1 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
0No weakness assertions.
References
9- https://cert-portal.siemens.com/productcert/html/ssa-265688.html
- https://git.kernel.org/stable/c/6413e78086caf7bf15639923740da0d91fdfd090
- https://git.kernel.org/stable/c/7104a00fa37ae898a827381f1161fa3286c8b346
- https://git.kernel.org/stable/c/85570b91e4820a0db9d9432098778cafafa7d217
- https://git.kernel.org/stable/c/bdd895e0190c464f54f84579e7535d80276f0fc5
- https://git.kernel.org/stable/c/c21a8870c98611e8f892511825c9607f1e2cd456
- https://git.kernel.org/stable/c/e362d007294955a4fb929e1c8978154a64efdcb6
- https://git.kernel.org/stable/c/ec77fa12da41260c6bf9e060b89234b980c5130f
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
Provider assertions
4Linux · cna
RDMA/srpt: Do not register event handler until srpt device is fully setup
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 011b5fc9f753461d76a78d0123192f1b3963a00bd370623aceea761af653f2db
- Ingested
- 15 Oct 2026, 13:09:22 UTC
- Source record
- Official CVE record