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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-04-17T10:27:32.025Z
- Modified: 2026-10-15T01:17:27.110Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from a42d985bd5b234da8b61347a78dc3057bf7bb94d before bdd895e0190c464f54f84579e7535d80276f0fc5; from a42d985bd5b234da8b61347a78dc3057bf7bb94d before 6413e78086caf7bf15639923740da0d91fdfd090; from a42d985bd5b234da8b61347a78dc3057bf7bb94d before e362d007294955a4fb929e1c8978154a64efdcb6; from a42d985bd5b234da8b61347a78dc3057bf7bb94d before 85570b91e4820a0db9d9432098778cafafa7d217; from a42d985bd5b234da8b61347a78dc3057bf7bb94d before 7104a00fa37ae898a827381f1161fa3286c8b346; from a42d985bd5b234da8b61347a78dc3057bf7bb94d before ec77fa12da41260c6bf9e060b89234b980c5130f; from a42d985bd5b234da8b61347a78dc3057bf7bb94d before c21a8870c98611e8f892511825c9607f1e2cd456; 3.3 (not affected: before 3.3; from 5.10.214 up to 5.10.*; from 5.15.153 up to 5.15.*; from 6.1.83 up to 6.1.*; from 6.6.23 up to 6.6.*; from 6.7.11 up to 6.7.*; from 6.8.2 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 3.3 before 5.10.214; from 5.11 before 5.15.153; from 5.16 before 6.1.83; from 6.2 before 6.6.23; from 6.7 before 6.7.11; from 6.8 before 6.8.2
- debian debian_linux: 10.0

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

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

## Sources

- CVE List: [CVE-2024-26872](https://www.cve.org/CVERecord?id=CVE-2024-26872), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-26872](https://nvd.nist.gov/vuln/detail/CVE-2024-26872), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-26872 · Whole record: https://cve.day/CVE-2024-26872.json · Rebuilt by cve.day 2026-11-25T22:58:39.369Z
