CVE-2024-42111: Linux kernel · btrfs: always do the basic checks for btrfs_qgroup_inherit structure
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 6.8.0-1018.19~22.04.1 : patch Linux kernel soon.
Data as of 24 Nov 2026, 19:29 UTC
- Patch
- Available – fixed in 6.8.0-1018.19~22.04.1, 6.8.0-1017.20~22.04.1, 6.8.0-1017.19~22.04.1 +19
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 30 Jul 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-7089-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7090-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7089-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7089-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7095-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7089-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7089-5 (opens in a new tab)
- ubuntu.com/security/notices/USN-7089-6 (opens in a new tab)
- ubuntu.com/security/notices/USN-7089-7 (opens in a new tab)
- ubuntu.com/security/notices/USN-7156-1 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gkepkg:deb/ubuntu/linux-gke?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gkeoppkg:deb/ubuntu/linux-gkeop?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch addressing this vulnerability is available and included in Linux kernel versions 6.8.0-1018.19~22.04.1 and later. Users and administrators should update their Linux kernel to these fixed versions or newer to remediate the issue. After updating, a system reboot is required to apply the fix. No additional mitigations are indicated by the vendor advisory.
Description
CVE-2024-42111 is a high-severity vulnerability in the Linux kernel's Btrfs filesystem related to improper checks in the btrfs_qgroup_inherit structure. A race condition involving quota groups (qgroups) can cause the kernel to skip essential validation checks, leading to a slab-out-of-bounds memory read detected by KASAN. This occurs when qgroup inheritance checks are bypassed due to qgroup being disabled temporarily, but later re-enabled during transaction commitment, causing use of invalid data structures and potential system instability or compromise. The issue is fixed by ensuring basic structure checks are always performed regardless of qgroup state. Multiple Linux kernel versions prior to 6.8.0-1018.19~22.04.1 and some specific older versions are affected. A patch is available and included in recent kernel updates.
References
- ubuntu.com/security/CVE-2024-42111 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-42111 (opens in a new tab)
- git.kernel.org/linus/724d8042cef84496ddb4492dc120291f997ae26b (opens in a new tab)
- git.kernel.org/stable/c/ebe5ea02577b2c527958af1b76ac472c7ab53a56 (opens in a new tab)
- git.kernel.org/stable/c/724d8042cef84496ddb4492dc120291f997ae26b (opens in a new tab)
- ubuntu.com/security/notices/USN-7089-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7090-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7089-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7089-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7095-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7089-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7089-5 (opens in a new tab)
- ubuntu.com/security/notices/USN-7089-6 (opens in a new tab)
- ubuntu.com/security/notices/USN-7089-7 (opens in a new tab)
- ubuntu.com/security/notices/USN-7156-1 (opens in a new tab)