CVE-2024-47668

published 9 Oct 2024 · updated 5 Aug 2026

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

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0f078f8ca93b28a34e20bd050f12cd4efeee7c0f, Kernel 0f27f4f445390cb7f73d4209cb2bf32834dc53da, Kernel 99418ec776a39609f50934720419e0b464ca2283 and 4 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.1, >=ba20ba2e3743bac786dff777954c11930256075e <0f078f8ca93b28a34e20bd050f12cd4efeee7c0f, >=ba20ba2e3743bac786dff777954c11930256075e <0f27f4f445390cb7f73d4209cb2bf32834dc53da, >=ba20ba2e3743bac786dff777954c11930256075e <99418ec776a39609f50934720419e0b464ca2283, >=ba20ba2e3743bac786dff777954c11930256075e <ad5ee9feebc2eb8cfc76ed74a2d6e55343b0e169, >=ba20ba2e3743bac786dff777954c11930256075e <b2f11c6f3e1fc60742673b8675c95b78447f3dae, >=ba20ba2e3743bac786dff777954c11930256075e <d942e855324a60107025c116245095632476613e, >=ba20ba2e3743bac786dff777954c11930256075e <ebeff038744c498a036e7a92eb8e433ae0a386d70f078f8ca93b28a34e20bd050f12cd4efeee7c0f, 0f27f4f445390cb7f73d4209cb2bf32834dc53da, 99418ec776a39609f50934720419e0b464ca2283, ad5ee9feebc2eb8cfc76ed74a2d6e55343b0e169, b2f11c6f3e1fc60742673b8675c95b78447f3dae, d942e855324a60107025c116245095632476613e, ebeff038744c498a036e7a92eb8e433ae0a386d7

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-47668 severity on Zeptric[![CVE-2024-47668](https://zeptric.io/badge/cve/CVE-2024-47668.svg)](https://zeptric.io/cve/CVE-2024-47668)