CVE-2024-38663
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-38663 is a vulnerability in the Linux kernel's block control group (blk-cgroup) subsystem, discovered and disclosed on June 24, 2024. The issue affects the block I/O statistics tracking mechanism, specifically in the way the kernel handles resetting I/O statistics. The vulnerability was introduced by commit 3b8cc6298724 ("blk-cgroup: Optimize blkcgrstatflush()") which modified how iostat instances are managed in the blkcg percpu list (NVD, Kernel Git).

Technical details

The vulnerability stems from an improper implementation in the blkcgresetstats() function. When resetting statistics, the function was using memset() to clear the stat instance, which could corrupt the linked list structure since each iostat instance is added to the blkcg percpu list. The fix involves modifying the reset operation to only clear the counter part of the statistics while preserving the list structure integrity. The issue was resolved by implementing a new blkgclearstat() function that safely resets the counters without affecting the linked list (Kernel Git).

Impact

The vulnerability could lead to list corruption in the kernel's block I/O subsystem when resetting I/O statistics. This corruption could potentially affect system stability and block I/O operations. Red Hat has classified this vulnerability with a CVSS 3.1 score of 4.4 (AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H), indicating a low to moderate severity with potential impact primarily on system availability (Red Hat).

Mitigation and workarounds

The issue has been fixed in the Linux kernel through a patch that modifies the statistics reset mechanism. The fix has been backported to various stable kernel versions and is available through distribution-specific kernel updates. For example, Red Hat has released fixes for Red Hat Enterprise Linux 9 through RHSA-2024:4583 and other related advisories (Red Hat).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-internal
NoYesDec 09, 2025
CVE-2025-40343N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoYesDec 09, 2025
CVE-2025-40342N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesDec 09, 2025
CVE-2025-40341N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-modules-extra
NoYesDec 09, 2025
CVE-2025-40340N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-kvm
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management