{"id":"CVE-2024-47668","summary":"lib/generic-radix-tree.c: Fix rare race in __genradix_ptr_alloc()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nlib/generic-radix-tree.c: Fix rare race in __genradix_ptr_alloc()\n\nIf we need to increase the tree depth, allocate a new node, and then\nrace with another thread that increased the tree depth before us, we'll\nstill have a preallocated node that might be used later.\n\nIf we then use that node for a new non-root node, it'll still have a\npointer to the old root instead of being zeroed - fix this by zeroing it\nin the cmpxchg failure path.","modified":"2026-04-02T12:20:12.103447Z","published":"2024-10-09T14:14:00.189Z","related":["ALSA-2024:8856","ALSA-2024:8870","SUSE-SU-2024:3983-1","SUSE-SU-2024:3984-1","SUSE-SU-2024:3985-1","SUSE-SU-2024:3986-1","SUSE-SU-2024:4081-1","SUSE-SU-2024:4082-1","SUSE-SU-2024:4103-1","SUSE-SU-2024:4131-1","SUSE-SU-2024:4140-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4364-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47668.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0f078f8ca93b28a34e20bd050f12cd4efeee7c0f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0f27f4f445390cb7f73d4209cb2bf32834dc53da"},{"type":"WEB","url":"https://git.kernel.org/stable/c/99418ec776a39609f50934720419e0b464ca2283"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ad5ee9feebc2eb8cfc76ed74a2d6e55343b0e169"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b2f11c6f3e1fc60742673b8675c95b78447f3dae"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d942e855324a60107025c116245095632476613e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ebeff038744c498a036e7a92eb8e433ae0a386d7"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47668.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47668"},{"type":"PACKAGE","url":"https://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/cve-osv-conversion/osv-output/CVE-2024-47668.json"}}],"schema_version":"1.7.5"}