RDMA/srpt: Do not register event handler until srpt device is fully setup
Summary
| CVE | CVE-2024-26872 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-04-17 11:15:09 UTC |
| Updated | 2026-05-12 12:16:22 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7 HIGH from [email protected]
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Problem Types: CWE-416
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
HighPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected a42d985bd5b234da8b61347a78dc3057bf7bb94d bdd895e0190c464f54f84579e7535d80276f0fc5 git | Not specified |
| CNA | Linux | Linux | affected a42d985bd5b234da8b61347a78dc3057bf7bb94d 6413e78086caf7bf15639923740da0d91fdfd090 git | Not specified |
| CNA | Linux | Linux | affected a42d985bd5b234da8b61347a78dc3057bf7bb94d e362d007294955a4fb929e1c8978154a64efdcb6 git | Not specified |
| CNA | Linux | Linux | affected a42d985bd5b234da8b61347a78dc3057bf7bb94d 85570b91e4820a0db9d9432098778cafafa7d217 git | Not specified |
| CNA | Linux | Linux | affected a42d985bd5b234da8b61347a78dc3057bf7bb94d 7104a00fa37ae898a827381f1161fa3286c8b346 git | Not specified |
| CNA | Linux | Linux | affected a42d985bd5b234da8b61347a78dc3057bf7bb94d ec77fa12da41260c6bf9e060b89234b980c5130f git | Not specified |
| CNA | Linux | Linux | affected a42d985bd5b234da8b61347a78dc3057bf7bb94d c21a8870c98611e8f892511825c9607f1e2cd456 git | Not specified |
| CNA | Linux | Linux | affected 3.3 | Not specified |
| CNA | Linux | Linux | unaffected 3.3 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.214 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.153 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.83 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.23 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.7.11 6.7.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.8.2 6.8.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.9 * original_commit_for_fix | Not specified |
| ADP | Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem | affected * custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/bdd895e0190c464f54f84579e7535d80276f0fc5 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Mailing List, Patch |
| git.kernel.org/stable/c/c21a8870c98611e8f892511825c9607f1e2cd456 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Mailing List, Patch |
| lists.debian.org/debian-lts-announce/2024/06/msg00017.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List |
| git.kernel.org/stable/c/6413e78086caf7bf15639923740da0d91fdfd090 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Mailing List, Patch |
| git.kernel.org/stable/c/85570b91e4820a0db9d9432098778cafafa7d217 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Mailing List, Patch |
| cert-portal.siemens.com/productcert/html/ssa-265688.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/ec77fa12da41260c6bf9e060b89234b980c5130f | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Mailing List, Patch |
| git.kernel.org/stable/c/e362d007294955a4fb929e1c8978154a64efdcb6 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Mailing List, Patch |
| git.kernel.org/stable/c/7104a00fa37ae898a827381f1161fa3286c8b346 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Mailing List, Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.