CVE-2024-38663
published high CVSS 3.1 · 7.8blk-cgroup: fix list corruption from resetting io stat
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux3b8cc6298724021da845f2f9fd7dd4b6829a6817 to < d4a60298ac34f027a09f8f893fdbd9e06279bb24 · 3b8cc6298724021da845f2f9fd7dd4b6829a6817 to < 89bb36c72e1951843f9e04dc84412e31fcc849a9 · 3b8cc6298724021da845f2f9fd7dd4b6829a6817 to < 6da6680632792709cecf2b006f2fe3ca7857e791 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.2 (affected) · 0 to < 6.2 (unaffected · semver) · 6.6.33 through 6.6.* (unaffected · semver) · 6.9.4 through 6.9.* (unaffected · semver) · 6.10 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 9 | bpftool | Advisory build | 7.3.0-427.26.1.el9_4 | ALSA-2024:4583 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:7.3.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:7.3.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernelx86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-abi-stablelistsx86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-corex86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-cross-headersaarch64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-cross-headersx86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
| Oracle Linux | 9 | kernel-debugx86_64 | Advisory build | 0:5.14.0-427.26.1.el9_4 | ELSA-2024-4583 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: blk-cgroup: fix list corruption from resetting io stat Since commit 3b8cc6298724 ("blk-cgroup: Optimize blkcg_rstat_flush()"), each iostat instance is added to blkcg percpu list, so blkcg_reset_stats() can't reset the stat instance by memset(), otherwise the llist may be corrupted. Fix the issue by only resetting the counter part.
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 vulnerability is triggered by writing to the cgroup v1 control file `blkio.reset_stats` and by submitting block I/O from the same cgroup, both of which require local access to the machine (cgroupfs write + write(2)/read(2) to a block device or file). There is no network, adjacent-network, or physical path into `blkcg_reset_stats()`. AC:L - The attacker controls both sides of the race: they generate I/O inside their own cgroup to populate `blkcg->lhead` via `blk_cgroup_bio_start()` and concurrently write `blkio.reset_stats` in a loop from another thread, and `blkcg_reset_stats()` takes only `blkcg->lock`, which the I/O path never acquires. Once `lqueued` is cleared on a still-linked node, the very next bio deterministically re-adds it and forms a cycle — no memory layout or timing outside the attacker's influence is needed, and failed attempts can be retried indefinitely. PR:L - `cgroup_kn_set_ugid()` explicitly sets cgroup directories and control files to the uid/gid of their creator, so an unprivileged user or container root with write access to a delegated cgroup v1 blkio subtree (standard in LXC/LXD, Docker/Kubernetes, and systemd `Delegate=` setups) can `mkdir` a child cgroup and own its `blkio.reset_stats` file, then generate I/O and write it. No init-namespace root or capability is required, and the resulting lockless-list corruption is not confined to the attacker's own cgroup — it hangs the whole machine. UI:N - The attacker performs both the I/O submission and the `blkio.reset_stats` write from their own processes; no victim has to mount, open, or otherwise interact with anything. S:U - The corrupted `blkg_iostat_set` lockless lists and the resulting crash/corruption are entirely within the kernel's own security authority; no VM, hypervisor, or IOMMU boundary is crossed by the bug itself. C:H - This is a memory-corruption defect — `memset()` over live `llist_node` linkage and the `lqueued` membership flag inside per-CPU `blkg_iostat_set` objects — which desynchronizes the list-membership invariant that the blkg lifetime rules depend on (in the v6.2–v6.4 part of the affected range llist membership held a `percpu_ref` on `blkg->refcnt`, so lost/duplicated puts corrupt `struct blkcg_gq` lifetime accounting). The same broken invariant in this exact function has since produced a confirmed slab use-after-free in `__blkcg_rstat_flush()`, and dangling/looped links into kmalloc'd blkg and per-CPU stat memory are leverageable for kernel memory disclosure via heap grooming. I:H - The corrupted links cause `__blkcg_rstat_flush()` to write unbounded, attacker-influenced counter deltas through the cyclic chain into ancestor blkgs' `iostat` (`blkcg_iostat_update(parent, ...)`), modifying kernel state belonging to higher-privileged cgroups, and the underlying pointer/refcount corruption of `struct blkcg_gq` is the classic primitive for heap grooming and writes through stale pointers. Per kernel CNA practice, list corruption of this class is treated as exploitable for control-flow-relevant memory modification. A:H - The reliable, immediate outcome is a cyclic lockless list that makes `llist_for_each_entry_safe()` in `__blkcg_rstat_flush()` spin forever while holding the global `raw_spinlock_t blkg_stat_lock` with local IRQs disabled — every other CPU entering rstat flush then spins too, producing a hard lockup and watchdog panic. Additionally, the `memset`-to-`bis->blkg = blkg` window lets a concurrent flush dereference a NULL `blkg`, and the truncated chains permanently leak blkg references and per-CPU stats.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 3b8cc6298724021da845f2f9fd7dd4b6829a6817 to < d4a60298ac34f027a09f8f893fdbd9e06279bb24 (affected · git)3b8cc6298724021da845f2f9fd7dd4b6829a6817 to < 89bb36c72e1951843f9e04dc84412e31fcc849a9 (affected · git)3b8cc6298724021da845f2f9fd7dd4b6829a6817 to < 6da6680632792709cecf2b006f2fe3ca7857e791 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.2 (affected)0 to < 6.2 (unaffected · semver)6.6.33 through 6.6.* (unaffected · semver)6.9.4 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
3Linux · cna
blk-cgroup: fix list corruption from resetting io stat
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fbc1393aa15ed2ec6d6fec382fc51ac20fc2cead0004bff394047af9aebef104
- Ingested
- 23 Sep 2026, 08:25:04 UTC
- Source record
- Official CVE record