CVE-2024-26872

RDMA/srpt: Do not register event handler until srpt device is fully setup

HIGH
7
CVSS Score
Published: April 17, 2024 at 10:27 AM UTC
Updated: October 15, 2026 at 01:17 AM UTC
3 products affected across 3 vendorsLinux KernelDebian LinuxSIMATIC S7-1500 TM MFP

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.3 ≤ v < 5.10.2145.11 ≤ v < 5.15.1535.16 ≤ v < 6.1.836.2 ≤ v < 6.6.236.7 ≤ v < 6.7.116.8 ≤ v < 6.8.23.3a42d985bd5b234da8b61347a78dc3057bf7bb94d
Vendor states this is fixed in 6413e78086caf7bf15639923740da0d91fdfd090 (fixed)
Vendor states this is fixed in 7104a00fa37ae898a827381f1161fa3286c8b346 (fixed)
Vendor states this is fixed in 85570b91e4820a0db9d9432098778cafafa7d217 (fixed)
Vendor states this is fixed in bdd895e0190c464f54f84579e7535d80276f0fc5 (fixed)
Vendor states this is fixed in c21a8870c98611e8f892511825c9607f1e2cd456 (fixed)
Vendor states this is fixed in e362d007294955a4fb929e1c8978154a64efdcb6 (fixed)
Vendor states this is fixed in ec77fa12da41260c6bf9e060b89234b980c5130f (fixed)
Vendor states this is fixed in 3.3 (unaffected)
Vendor states this is fixed in 5.10.214 (unaffected)
Vendor states this is fixed in 5.15.153 (unaffected)
Vendor states this is fixed in 6.1.83 (unaffected)
Vendor states this is fixed in 6.6.23 (unaffected)
Vendor states this is fixed in 6.7.11 (unaffected)
Vendor states this is fixed in 6.8.2 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (9)

Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6413e78086caf7bf15639923740da0d91fdfd090
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7104a00fa37ae898a827381f1161fa3286c8b346
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/85570b91e4820a0db9d9432098778cafafa7d217
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bdd895e0190c464f54f84579e7535d80276f0fc5
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c21a8870c98611e8f892511825c9607f1e2cd456
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e362d007294955a4fb929e1c8978154a64efdcb6
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ec77fa12da41260c6bf9e060b89234b980c5130f
Mailing List
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card