CVE-2024-38663Published Jun 24, 2024 · Jun 24Updated Oct 28
blk-cgroup: fix list corruption from resetting io stat
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.6.336.9.46.10In 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.
From the CVE record · Linux
The Linux kernel’s blk-cgroup code can corrupt a per-CPU list when I/O statistics are reset. The input does not establish how an attacker could trigger this condition or whether access or user interaction is required.
Engineers running the Linux kernel should check their deployments; affected versions are not specified.