CVE-2024-26872
RDMA/srpt: Do not register event handler until srpt device is fully setup
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.
INFO
Published Date :
April 17, 2024, 11:15 a.m.
Last Modified :
Nov. 21, 2024, 9:03 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update the affected kernel packages.
- Update the affected packages.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-26872.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-26872 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-26872
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-26872 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-26872 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Mar. 04, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-416 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 from (excluding) 6.7.11 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 from (excluding) 6.6.23 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 from (excluding) 6.1.83 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 from (excluding) 5.15.153 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.8 from (excluding) 6.8.2 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.3 from (excluding) 5.10.214 Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Added Reference Type CVE: https://git.kernel.org/stable/c/6413e78086caf7bf15639923740da0d91fdfd090 Types: Mailing List, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6413e78086caf7bf15639923740da0d91fdfd090 Types: Mailing List, Patch Added Reference Type CVE: https://git.kernel.org/stable/c/7104a00fa37ae898a827381f1161fa3286c8b346 Types: Mailing List, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/7104a00fa37ae898a827381f1161fa3286c8b346 Types: Mailing List, Patch Added Reference Type CVE: https://git.kernel.org/stable/c/85570b91e4820a0db9d9432098778cafafa7d217 Types: Mailing List, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/85570b91e4820a0db9d9432098778cafafa7d217 Types: Mailing List, Patch Added Reference Type CVE: https://git.kernel.org/stable/c/bdd895e0190c464f54f84579e7535d80276f0fc5 Types: Mailing List, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/bdd895e0190c464f54f84579e7535d80276f0fc5 Types: Mailing List, Patch Added Reference Type CVE: https://git.kernel.org/stable/c/c21a8870c98611e8f892511825c9607f1e2cd456 Types: Mailing List, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c21a8870c98611e8f892511825c9607f1e2cd456 Types: Mailing List, Patch Added Reference Type CVE: https://git.kernel.org/stable/c/e362d007294955a4fb929e1c8978154a64efdcb6 Types: Mailing List, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/e362d007294955a4fb929e1c8978154a64efdcb6 Types: Mailing List, Patch Added Reference Type CVE: https://git.kernel.org/stable/c/ec77fa12da41260c6bf9e060b89234b980c5130f Types: Mailing List, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ec77fa12da41260c6bf9e060b89234b980c5130f Types: Mailing List, Patch Added Reference Type CVE: https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Types: Mailing List -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/6413e78086caf7bf15639923740da0d91fdfd090 Added Reference https://git.kernel.org/stable/c/7104a00fa37ae898a827381f1161fa3286c8b346 Added Reference https://git.kernel.org/stable/c/85570b91e4820a0db9d9432098778cafafa7d217 Added Reference https://git.kernel.org/stable/c/bdd895e0190c464f54f84579e7535d80276f0fc5 Added Reference https://git.kernel.org/stable/c/c21a8870c98611e8f892511825c9607f1e2cd456 Added Reference https://git.kernel.org/stable/c/e362d007294955a4fb929e1c8978154a64efdcb6 Added Reference https://git.kernel.org/stable/c/ec77fa12da41260c6bf9e060b89234b980c5130f Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 05, 2024
Action Type Old Value New Value Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 25, 2024
Action Type Old Value New Value Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 29, 2024
Action Type Old Value New Value -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 14, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 17, 2024
Action Type Old Value New Value Added 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. Added Reference kernel.org https://git.kernel.org/stable/c/bdd895e0190c464f54f84579e7535d80276f0fc5 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/6413e78086caf7bf15639923740da0d91fdfd090 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/e362d007294955a4fb929e1c8978154a64efdcb6 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/85570b91e4820a0db9d9432098778cafafa7d217 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/7104a00fa37ae898a827381f1161fa3286c8b346 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/ec77fa12da41260c6bf9e060b89234b980c5130f [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/c21a8870c98611e8f892511825c9607f1e2cd456 [No types assigned]