Skip to main content
VulnerabilityPublished Updated

CVE-2024-42111: Linux kernel · btrfs: always do the basic checks for btrfs_qgroup_inherit structure

Affects Linux kernelSource GCVE Database

0
Compare

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

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Jul 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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.

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threatsAffected
  • <6.8.0-48.48
Fixed in
  • 6.8.0-48.48
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threatsAffected
  • <6.8.0-1018.20
Fixed in
  • 6.8.0-1018.20
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threatsAffected
  • <6.8.0-1017.20
Fixed in
  • 6.8.0-1017.20
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threatsAffected
  • <6.8.0-1017.19
Fixed in
  • 6.8.0-1017.19
Ubuntu 24.04 LTSlinux-gkepkg:deb/ubuntu/linux-gke?arch=source&distro=nobleOther threatsAffected
  • <6.8.0-1013.17
Fixed in
  • 6.8.0-1013.17
Ubuntu 24.04 LTSlinux-gkeoppkg:deb/ubuntu/linux-gkeop?arch=source&distro=nobleOther threatsAffected
  • <6.8.0-1002.4
Fixed in
  • 6.8.0-1002.4

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

Community reviews

Loading reviews…