{"id":"CVE-2024-47668","aliases":["CVE-2024-47668"],"related":[],"kind":"vulnerability","state":"published","title":"lib/generic-radix-tree.c: Fix rare race in __genradix_ptr_alloc()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: lib/generic-radix-tree.c: Se corrige una ejecución poco frecuente en __genradix_ptr_alloc() Si necesitamos aumentar la profundidad del árbol, asignar un nuevo nodo y luego competir con otro hilo que aumentó la profundidad del árbol antes que nosotros, aún tendremos un nodo preasignado que podría usarse más adelante. Si luego usamos ese nodo para un nuevo nodo que no sea raíz, aún tendrá un puntero a la raíz anterior en lugar de estar a cero: solucione esto poniéndolo a cero en la ruta de falla cmpxchg.","source":"nvd"}],"published":"2024-10-09T14:14:00.189Z","modified":"2026-08-05T11:39:17.526Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":4.7,"rating":"MEDIUM"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"type":"git","introduced":"ba20ba2e3743bac786dff777954c11930256075e","fixed":"0f27f4f445390cb7f73d4209cb2bf32834dc53da","status":"affected"},{"type":"git","introduced":"ba20ba2e3743bac786dff777954c11930256075e","fixed":"99418ec776a39609f50934720419e0b464ca2283","status":"affected"},{"type":"git","introduced":"ba20ba2e3743bac786dff777954c11930256075e","fixed":"ad5ee9feebc2eb8cfc76ed74a2d6e55343b0e169","status":"affected"},{"type":"git","introduced":"ba20ba2e3743bac786dff777954c11930256075e","fixed":"ebeff038744c498a036e7a92eb8e433ae0a386d7","status":"affected"},{"type":"git","introduced":"ba20ba2e3743bac786dff777954c11930256075e","fixed":"d942e855324a60107025c116245095632476613e","status":"affected"},{"type":"git","introduced":"ba20ba2e3743bac786dff777954c11930256075e","fixed":"0f078f8ca93b28a34e20bd050f12cd4efeee7c0f","status":"affected"},{"type":"git","introduced":"ba20ba2e3743bac786dff777954c11930256075e","fixed":"b2f11c6f3e1fc60742673b8675c95b78447f3dae","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.1","status":"unaffected"},{"type":"semver","introduced":"5.4.284","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.226","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.167","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.110","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.51","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.10.10","lastAffected":"6.10.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.11","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.4.284"},{"status":"affected","introduced":"5.5","fixed":"5.10.226"},{"status":"affected","introduced":"5.11","fixed":"5.15.167"},{"status":"affected","introduced":"5.16","fixed":"6.1.110"},{"status":"affected","introduced":"6.2","fixed":"6.6.51"},{"status":"affected","introduced":"6.7","fixed":"6.10.10"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/0f27f4f445390cb7f73d4209cb2bf32834dc53da","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/99418ec776a39609f50934720419e0b464ca2283","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ad5ee9feebc2eb8cfc76ed74a2d6e55343b0e169","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ebeff038744c498a036e7a92eb8e433ae0a386d7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d942e855324a60107025c116245095632476613e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0f078f8ca93b28a34e20bd050f12cd4efeee7c0f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b2f11c6f3e1fc60742673b8675c95b78447f3dae","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-10T13:21:11.227Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-47668","url":"https://www.cve.org/CVERecord?id=CVE-2024-47668","licence":"CVE Terms of Use","modified":"2026-08-05T11:39:17.526Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-47668","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47668","licence":"Public domain","modified":"2026-08-04T11:20:37.217Z"}],"updatedAt":"2026-11-25T22:58:46.383Z","epss":{"score":0.00237,"percentile":0.08893,"date":"2026-11-30T12:00:22.000Z"}}