CVE
CVE-2024-26872
CNA 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 versions
All Linux kernel vulnerabilities →
- ≥ 6.8, < 6.8.2Fixed in 6.8.2
- ≥ 6.7, < 6.7.11Fixed in 6.7.11
- ≥ 6.2, < 6.6.23Fixed in 6.6.23
- ≥ 5.16, < 6.1.83Fixed in 6.1.83
- ≥ 5.11, < 5.15.153Fixed in 5.15.153
- ≥ 3.3, < 5.10.214Fixed in 5.10.214
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/6413e78086caf7bf15639923740da0d91fdfd090 · Patch
- git.kernel.org/stable/c/7104a00fa37ae898a827381f1161fa3286c8b346 · Patch
- git.kernel.org/stable/c/85570b91e4820a0db9d9432098778cafafa7d217 · Patch
- git.kernel.org/stable/c/bdd895e0190c464f54f84579e7535d80276f0fc5 · Patch
- git.kernel.org/stable/c/c21a8870c98611e8f892511825c9607f1e2cd456 · Patch
- git.kernel.org/stable/c/e362d007294955a4fb929e1c8978154a64efdcb6 · Patch
- git.kernel.org/stable/c/ec77fa12da41260c6bf9e060b89234b980c5130f · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.