CVE-2024-47668
published high CVSS 3.1 · 7.8lib/generic-radix-tree.c: Fix rare race in __genradix_ptr_alloc()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxba20ba2e3743bac786dff777954c11930256075e to < 0f27f4f445390cb7f73d4209cb2bf32834dc53da · ba20ba2e3743bac786dff777954c11930256075e to < 99418ec776a39609f50934720419e0b464ca2283 · ba20ba2e3743bac786dff777954c11930256075e to < ad5ee9feebc2eb8cfc76ed74a2d6e55343b0e169 · ba20ba2e3743bac786dff777954c11930256075e to < ebeff038744c498a036e7a92eb8e433ae0a386d7 · ba20ba2e3743bac786dff777954c11930256075e to < d942e855324a60107025c116245095632476613e · ba20ba2e3743bac786dff777954c11930256075e to < 0f078f8ca93b28a34e20bd050f12cd4efeee7c0f · ba20ba2e3743bac786dff777954c11930256075e to < b2f11c6f3e1fc60742673b8675c95b78447f3dae · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.1 (affected) · 0 to < 5.1 (unaffected · semver) · 5.4.284 through 5.4.* (unaffected · semver) · 5.10.226 through 5.10.* (unaffected · semver) · 5.15.167 through 5.15.* (unaffected · semver) · 6.1.110 through 6.1.* (unaffected · semver) · 6.6.51 through 6.6.* (unaffected · semver) · 6.10.10 through 6.10.* (unaffected · semver) · 6.11 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2024-070 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2024-055 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2024-086 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.119-1~deb11u1 | DLA-4008-1 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-744 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 7 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-toolsaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | kernel-uek-tools-libsaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | perfaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 7 | python-perfaarch64 | Advisory build | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernelx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-abi-stablelistsx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-corex86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-cross-headersaarch64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-cross-headersx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-debugx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-debug-corex86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-debug-develx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-debug-modulesx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-debug-modules-extrax86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-develx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-docx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-headersaarch64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-headersx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-modulesx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-modules-extrax86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-toolsaarch64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-toolsx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-tools-libsaarch64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-tools-libsx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-tools-libs-develaarch64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-tools-libs-develx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The only genradix users with lock-free concurrent `__genradix_ptr_alloc()` on a shared tree are bcachefs (`bch2_quota_acct()` on the write/inode-create path, `__ec_stripe_mem_alloc()` in erasure coding), reached via ordinary local filesystem syscalls; SCTP's per-association trees are serialized under the socket lock and `fs/proc/base.c` uses a stack-local tree, so no remote path exists. AC:L - The attacker drives both sides of the race with their own threads — concurrent writes/creates from multiple tasks each call `genradix_ptr_alloc()` outside `q->lock`, and the depth-increase point is deterministic (first access beyond current tree capacity), so it can be targeted and retried at will. PR:L - No capability is required: any unprivileged local user with write access on a mounted bcachefs volume triggers `bch2_quota_acct()`/stripe allocation through plain `write()`, `creat()`, and `chown()`, and reads the resulting corrupted counter back via `quotactl(Q_GETQUOTA)` for their own id. UI:N - The attacker's own concurrent threads perform every step; no victim action is needed once the filesystem is mounted as part of normal system operation. S:U - The corruption is confined to kernel heap objects managed by the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - A dirty node used as a leaf leaves a live kernel heap pointer where zeros are guaranteed, and for bcachefs quotas that value is returned to unprivileged userspace as `d_space` via `quotactl(Q_GETQUOTA)`; the interior-node aliasing additionally exposes unrelated tree contents and gives a read primitive over corrupted pointers. I:H - When the dirty node is installed at an interior level, two distinct indices alias onto the same node, so attacker-controlled u64 counter data overwrites live `children[]` pointers of a node still in the tree — a controlled write over kernel pointers that are later dereferenced and freed. A:H - The aliased node is reachable twice from `genradix_free_recurse()`, producing a double `kfree()` of a 512-byte slab object plus `kfree()` of fabricated pointer values, and corrupted quota counters directly trip `BUG_ON()` in `__bch2_quota_transfer()`/`__bch2_quota_reservation_put()` — all kernel panics.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | ba20ba2e3743bac786dff777954c11930256075e to < 0f27f4f445390cb7f73d4209cb2bf32834dc53da (affected · git)ba20ba2e3743bac786dff777954c11930256075e to < 99418ec776a39609f50934720419e0b464ca2283 (affected · git)ba20ba2e3743bac786dff777954c11930256075e to < ad5ee9feebc2eb8cfc76ed74a2d6e55343b0e169 (affected · git)ba20ba2e3743bac786dff777954c11930256075e to < ebeff038744c498a036e7a92eb8e433ae0a386d7 (affected · git)ba20ba2e3743bac786dff777954c11930256075e to < d942e855324a60107025c116245095632476613e (affected · git)ba20ba2e3743bac786dff777954c11930256075e to < 0f078f8ca93b28a34e20bd050f12cd4efeee7c0f (affected · git)ba20ba2e3743bac786dff777954c11930256075e to < b2f11c6f3e1fc60742673b8675c95b78447f3dae (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.1 (affected)0 to < 5.1 (unaffected · semver)5.4.284 through 5.4.* (unaffected · semver)5.10.226 through 5.10.* (unaffected · semver)5.15.167 through 5.15.* (unaffected · semver)6.1.110 through 6.1.* (unaffected · semver)6.6.51 through 6.6.* (unaffected · semver)6.10.10 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/0f078f8ca93b28a34e20bd050f12cd4efeee7c0f
- https://git.kernel.org/stable/c/0f27f4f445390cb7f73d4209cb2bf32834dc53da
- https://git.kernel.org/stable/c/99418ec776a39609f50934720419e0b464ca2283
- https://git.kernel.org/stable/c/ad5ee9feebc2eb8cfc76ed74a2d6e55343b0e169
- https://git.kernel.org/stable/c/b2f11c6f3e1fc60742673b8675c95b78447f3dae
- https://git.kernel.org/stable/c/d942e855324a60107025c116245095632476613e
- https://git.kernel.org/stable/c/ebeff038744c498a036e7a92eb8e433ae0a386d7
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Provider assertions
3Linux · cna
lib/generic-radix-tree.c: Fix rare race in __genradix_ptr_alloc()
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 62f1d9697c9dbc4817cdcdf62dd94b10da2724ca45e3157326d5c9736a2b7067
- Ingested
- 23 Sep 2026, 08:28:35 UTC
- Source record
- Official CVE record