Bugzilla – Bug 1226939
VUL-0: CVE-2024-38663: kernel: blk-cgroup: fix list corruption from resetting io stat
Last modified: 2024-07-08 15:16:17 UTC
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. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-38663 https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-38663.mbox https://git.kernel.org/stable/c/d4a60298ac34f027a09f8f893fdbd9e06279bb24 https://git.kernel.org/stable/c/89bb36c72e1951843f9e04dc84412e31fcc849a9 https://git.kernel.org/stable/c/6da6680632792709cecf2b006f2fe3ca7857e791 https://www.cve.org/CVERecord?id=CVE-2024-38663