# CVE-2024-26872: RDMA/srpt: Do not register event handler until srpt device is fully setup

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 18, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-04-17T10:27:32.025Z
- **Modified:** 2026-10-15T01:17:27.110Z

## Who should check

- Anyone running Linux \>= a42d985bd5b234da8b61347a78dc3057bf7bb94d, \< bdd895e0190c464f54f84579e7535d80276f0fc5; \>= a42d985bd5b234da8b61347a78dc3057bf7bb94d, \< 6413e78086caf7bf15639923740da0d91fdfd090; \>= a42d985bd5b234da8b61347a78dc3057bf7bb94d, \< e362d007294955a4fb929e1c8978154a64efdcb6; \>= a42d985bd5b234da8b61347a78dc3057bf7bb94d, \< 85570b91e4820a0db9d9432098778cafafa7d217; \>= a42d985bd5b234da8b61347a78dc3057bf7bb94d, \< 7104a00fa37ae898a827381f1161fa3286c8b346; \>= a42d985bd5b234da8b61347a78dc3057bf7bb94d, \< ec77fa12da41260c6bf9e060b89234b980c5130f; \>= a42d985bd5b234da8b61347a78dc3057bf7bb94d, \< c21a8870c98611e8f892511825c9607f1e2cd456
- Anyone running Linux 3.3

## 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.

## Affected and fixed versions

- Linux: \>= a42d985bd5b234da8b61347a78dc3057bf7bb94d, \< bdd895e0190c464f54f84579e7535d80276f0fc5; \>= a42d985bd5b234da8b61347a78dc3057bf7bb94d, \< 6413e78086caf7bf15639923740da0d91fdfd090; \>= a42d985bd5b234da8b61347a78dc3057bf7bb94d, \< e362d007294955a4fb929e1c8978154a64efdcb6; \>= a42d985bd5b234da8b61347a78dc3057bf7bb94d, \< 85570b91e4820a0db9d9432098778cafafa7d217; \>= a42d985bd5b234da8b61347a78dc3057bf7bb94d, \< 7104a00fa37ae898a827381f1161fa3286c8b346; \>= a42d985bd5b234da8b61347a78dc3057bf7bb94d, \< ec77fa12da41260c6bf9e060b89234b980c5130f; \>= a42d985bd5b234da8b61347a78dc3057bf7bb94d, \< c21a8870c98611e8f892511825c9607f1e2cd456 (cvelist)
- Linux: 3.3 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-26872. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26872.md
Affected: Linux >= a42d985bd5b234da8b61347a78dc3057bf7bb94d, < bdd895e0190c464f54f84579e7535d80276f0fc5; >= a42d985bd5b234da8b61347a78dc3057bf7bb94d, < 6413e78086caf7bf15639923740da0d91fdfd090; >= a42d985bd5b234da8b61347a78dc3057bf7bb94d, < e362d007294955a4fb929e1c8978154a64efdcb6; >= a42d985bd5b234da8b61347…
Fixed in: Linux 6413e78086caf7bf15639923740da0d91fdfd090, Linux 85570b91e4820a0db9d9432098778cafafa7d217, Linux 7104a00fa37ae898a827381f1161fa3286c8b346

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-26872 being exploited?

There is no confirmed exploitation: CVE-2024-26872 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-26872?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-26872?

Linux \>= a42d985bd5b234da8b61347a78dc3057bf7bb94d, \< bdd895e0190c464f54f84579e7535d80276f0fc5; \>= a42d985bd5b234da8b61347a78dc3057bf7bb94d, \< 6413e78086caf7bf15639923740da0d91fdfd090; \>= a42d985bd5b234da8b61347a78dc3057bf7bb94d, \< e362d007294955a4fb929e1c8978154a64efdcb6; \>= a42d985bd5b234da8b61347a78dc3057bf7bb94d, \< 85570b91e4820a0db9d9432098778cafafa7d217; \>= a42d985bd5b234da8b61347a78dc3057bf7bb94d, \< 7104a00fa37ae898a827381f1161fa3286c8b346; \>= a42d985bd5b234da8b61347a78dc3057bf7bb94d, \< ec77fa12da41260c6bf9e060b89234b980c5130f; \>= a42d985bd5b234da8b61347a78dc3057bf7bb94d, \< c21a8870c98611e8f892511825c9607f1e2cd456; Linux 3.3.

### Is there a fix for CVE-2024-26872?

Yes. Fixed in Linux 6413e78086caf7bf15639923740da0d91fdfd090, Linux 85570b91e4820a0db9d9432098778cafafa7d217, Linux 7104a00fa37ae898a827381f1161fa3286c8b346. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-26872?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/bdd895e0190c464f54f84579e7535d80276f0fc5>
- patch: <https://git.kernel.org/stable/c/6413e78086caf7bf15639923740da0d91fdfd090>
- patch: <https://git.kernel.org/stable/c/e362d007294955a4fb929e1c8978154a64efdcb6>
- patch: <https://git.kernel.org/stable/c/85570b91e4820a0db9d9432098778cafafa7d217>
- patch: <https://git.kernel.org/stable/c/7104a00fa37ae898a827381f1161fa3286c8b346>
- patch: <https://git.kernel.org/stable/c/ec77fa12da41260c6bf9e060b89234b980c5130f>
- patch: <https://git.kernel.org/stable/c/c21a8870c98611e8f892511825c9607f1e2cd456>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-26872>

HTML: <https://flawdb.com/CVE-2024-26872> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-26872>
