CVE-2024-47668

lib/generic-radix-tree.c: Fix rare race in __genradix_ptr_alloc()

MEDIUM
4.7
CVSS Score
Published: October 9, 2024 at 02:14 PM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

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
MEDIUM4.7
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: lib/generic-radix-tree.c: Fix rare race in __genradix_ptr_alloc() If we need to increase the tree depth, allocate a new node, and then race with another thread that increased the tree depth before us, we'll still have a preallocated node that might be used later. If we then use that node for a new non-root node, it'll still have a pointer to the old root instead of being zeroed - fix this by zeroing it in the cmpxchg failure path.

Affected

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

v < 5.4.2845.1 ≤ v < 5.10.2265.1 ≤ v < 5.15.1675.1 ≤ v < 5.4.2845.1 ≤ v < 6.1.1105.1 ≤ v < 6.10.105.1 ≤ v < 6.115.1 ≤ v < 6.6.515.11 ≤ v < 5.15.1675.16 ≤ v < 6.1.1105.5 ≤ v < 5.10.2266.2 ≤ v < 6.6.516.7 ≤ v < 6.10.106.11 rc16.11 rc26.11 rc3ba20ba2e3743bac786dff777954c11930256075e
Vendor states this is fixed in 0f078f8ca93b28a34e20bd050f12cd4efeee7c0f (fixed)
Vendor states this is fixed in 0f27f4f445390cb7f73d4209cb2bf32834dc53da (fixed)
Vendor states this is fixed in 99418ec776a39609f50934720419e0b464ca2283 (fixed)
Vendor states this is fixed in ad5ee9feebc2eb8cfc76ed74a2d6e55343b0e169 (fixed)
Vendor states this is fixed in b2f11c6f3e1fc60742673b8675c95b78447f3dae (fixed)
Vendor states this is fixed in d942e855324a60107025c116245095632476613e (fixed)
Vendor states this is fixed in ebeff038744c498a036e7a92eb8e433ae0a386d7 (fixed)
Vendor states this is fixed in 5.1 (unaffected)
Vendor states this is fixed in 5.10.226 (unaffected)
Vendor states this is fixed in 5.15.167 (unaffected)
Vendor states this is fixed in 5.4.284 (unaffected)
Vendor states this is fixed in 6.1.110 (unaffected)
Vendor states this is fixed in 6.10.10 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.6.51 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0f078f8ca93b28a34e20bd050f12cd4efeee7c0f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0f27f4f445390cb7f73d4209cb2bf32834dc53da
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/99418ec776a39609f50934720419e0b464ca2283
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ad5ee9feebc2eb8cfc76ed74a2d6e55343b0e169
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b2f11c6f3e1fc60742673b8675c95b78447f3dae
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d942e855324a60107025c116245095632476613e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ebeff038744c498a036e7a92eb8e433ae0a386d7
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.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
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-362

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