CVE Catalog

CVE-2026-97415

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.13%

2th percentile - higher than 2% of all known CVEs

Summary

In the Linux kernel, the btrfs tree-checker did not validate names in ROOT_REF and ROOT_BACKREF items. A corrupted item could cause readers to use the on-disk name length directly, leading to out-of-bounds reads and copying too many bytes into the UAPI buffer in BTRFS_IOC_GET_SUBVOL_INFO. Validation was added in tree-checker and the copy length was limited to the validated name length.

Risk Assessment

The vulnerability could lead to information disclosure beyond the buffer or system crash via a maliciously crafted btrfs image. An attacker with the ability to mount a corrupted filesystem could exploit this flaw.

Recommendation

Apply the Linux kernel update containing the fix for CVE-2026-97415. After updating, reboot the system to load the new kernel version.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: btrfs: tree-checker: validate names in ROOT_REF and ROOT_BACKREF ROOT_REF and ROOT_BACKREF items contain a struct btrfs_root_ref followed by the subvolume name. Several readers assume that this layout is already valid and then use the on-disk name length directly. A corrupted item can therefore make those readers address bytes outside the item, and BTRFS_IOC_GET_SUBVOL_INFO can copy too many bytes into its fixed-size UAPI name buffer. Validate ROOT_REF and ROOT_BACKREF items in tree-checker before any reader uses them. Reject records that do not contain a non-empty name, whose name_len does not exactly describe the remaining item payload, or whose name exceeds BTRFS_NAME_LEN. For BTRFS_IOC_GET_SUBVOL_INFO, copy only the validated on-disk name_len instead of deriving the copy length from the item size. The ioctl result is zeroed when allocated. That leaves the existing trailing zero byte untouched.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS