PT-2024-29751 · Linux+2 · Linux Kernel+2

Syzbot

·

Published

2024-07-02

·

Updated

2024-12-12

·

CVE-2024-42111

CVSS v3.1

6.3

Medium

VectorAV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 6.10.0-rc2-syzkaller-00010-g2ab795141095
Description A vulnerability in the Linux kernel has been resolved, related to the btrfs file system. The issue occurs when the btrfs qgroup inherit structure is passed to the btrfs qgroup inherit function while the qgroup is disabled, causing the basic checks like num ref copies/num excl copies and the structure size checks to be skipped. This can lead to a slab-out-of-bounds error when the qgroup is re-enabled and the btrfs qgroup inherit function is called with an incorrect structure.
The estimated number of potentially affected devices worldwide is not specified. There is no information about real-world incidents where this issue was exploited.
Technical details about exploitation include:
  • The btrfs qgroup inherit function is vulnerable to a slab-out-of-bounds error.
  • The create pending snapshot, create pending snapshots, btrfs commit transaction, create snapshot, btrfs mksubvol, btrfs mksnapshot, btrfs ioctl snap create, btrfs ioctl snap create v2, and btrfs ioctl functions are involved in the call trace.
  • The btrfs qgroup check inherit function is modified to only skip the source qgroup checks, allowing for the rejection of invalid btrfs qgroup inherit structures.
Recommendations To resolve the issue, update the Linux kernel to a version that includes the fix for the btrfs qgroup inherit structure checks. Specifically, the btrfs qgroup check inherit function should be modified to only skip the source qgroup checks, ensuring that invalid btrfs qgroup inherit structures are rejected.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Out of bounds Read

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2026-04476
CVE-2024-42111
USN-7089-1
USN-7089-2
USN-7089-3
USN-7089-4
USN-7089-5
USN-7089-6
USN-7089-7
USN-7090-1
USN-7095-1
USN-7156-1

Affected Products

Linuxmint
Linux Kernel
Ubuntu