---
id: CVE-2024-26872
title: |-
  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…
summary: |-
  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…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-416
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 3.3, < 5.10.214'
  - 'linux_kernel >= 5.11, < 5.15.153'
  - 'linux_kernel >= 5.16, < 6.1.83'
  - 'linux_kernel >= 6.2, < 6.6.23'
  - 'linux_kernel >= 6.7, < 6.7.11'
  - 'linux_kernel >= 6.8, < 6.8.2'
  - debian_linux = 10.0
patched:
  - linux_kernel 6.8.2
published: '2024-04-17'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T01:17:27.110'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-26872'
references:
  - url: 'https://git.kernel.org/stable/c/6413e78086caf7bf15639923740da0d91fdfd090'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/7104a00fa37ae898a827381f1161fa3286c8b346'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/85570b91e4820a0db9d9432098778cafafa7d217'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/bdd895e0190c464f54f84579e7535d80276f0fc5'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/c21a8870c98611e8f892511825c9607f1e2cd456'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/e362d007294955a4fb929e1c8978154a64efdcb6'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/ec77fa12da41260c6bf9e060b89234b980c5130f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/6413e78086caf7bf15639923740da0d91fdfd090'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/7104a00fa37ae898a827381f1161fa3286c8b346'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/85570b91e4820a0db9d9432098778cafafa7d217'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/bdd895e0190c464f54f84579e7535d80276f0fc5'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/c21a8870c98611e8f892511825c9607f1e2cd456'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/e362d007294955a4fb929e1c8978154a64efdcb6'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/ec77fa12da41260c6bf9e060b89234b980c5130f'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-265688.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.0024
epssPercentile: 0.15013
ingestedAt: '2026-10-15T03:30:12.654Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-05-28T19:53:54.471645Z'
---

## Overview

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

- `linux_kernel >= 3.3, < 5.10.214`
- `linux_kernel >= 5.11, < 5.15.153`
- `linux_kernel >= 5.16, < 6.1.83`
- `linux_kernel >= 6.2, < 6.6.23`
- `linux_kernel >= 6.7, < 6.7.11`
- `linux_kernel >= 6.8, < 6.8.2`
- `debian_linux = 10.0`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.8.2`
