CVE-2024-47668

Source
https://cve.org/CVERecord?id=CVE-2024-47668
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-47668.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-47668
Downstream
Related
Published
2024-10-09T14:14:00.189Z
Modified
2026-03-11T07:50:20.251136Z
Summary
lib/generic-radix-tree.c: Fix rare race in __genradix_ptr_alloc()
Details

In the Linux kernel, the following vulnerability has been resolved:

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

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47668.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ba20ba2e3743bac786dff777954c11930256075e
Fixed
0f27f4f445390cb7f73d4209cb2bf32834dc53da
Fixed
99418ec776a39609f50934720419e0b464ca2283
Fixed
ad5ee9feebc2eb8cfc76ed74a2d6e55343b0e169
Fixed
ebeff038744c498a036e7a92eb8e433ae0a386d7
Fixed
d942e855324a60107025c116245095632476613e
Fixed
0f078f8ca93b28a34e20bd050f12cd4efeee7c0f
Fixed
b2f11c6f3e1fc60742673b8675c95b78447f3dae

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-47668.json"