Bug 1226939 (CVE-2024-38663) - VUL-0: CVE-2024-38663: kernel: blk-cgroup: fix list corruption from resetting io stat
Summary: VUL-0: CVE-2024-38663: kernel: blk-cgroup: fix list corruption from resetting...
Status: NEW
Alias: CVE-2024-38663
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/411965/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-38663:5.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-25 08:05 UTC by SMASH SMASH
Modified: 2024-07-08 15:16 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-06-25 08:05:29 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