CVE-2026-97415
Received Received - Intake

Buffer Overflow in Linux Kernel Btrfs Filesystem

Vulnerability report for CVE-2026-97415, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-24

Last updated on: 2026-09-24

Assigner: kernel.org

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-24
Last Modified
2026-09-24
Generated
2026-09-24
AI Q&A
2026-09-24
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves improper validation of subvolume names in ROOT_REF and ROOT_BACKREF items within the Btrfs filesystem. A corrupted item could cause readers to access memory outside the intended buffer, potentially leading to crashes or data corruption. The fix adds validation to ensure names are non-empty, correctly sized, and within limits before use.

Detection Guidance

This vulnerability affects the Btrfs filesystem in the Linux kernel. Detection requires checking for filesystem corruption or invalid Btrfs items. Use 'dmesg | grep BTRFS' to check kernel logs for Btrfs errors. Run 'btrfs check /dev/sdX' on affected filesystems to validate tree structures. Monitor for crashes or I/O errors during Btrfs operations.

Impact Analysis

If exploited, this flaw could crash the system or corrupt Btrfs filesystem data. It may also allow unauthorized access to kernel memory through crafted filesystem operations, posing a risk to system stability and security.

Mitigation Strategies

Update the Linux kernel to the latest patched version. Avoid using Btrfs features until patched. If corruption is detected, restore from backups. Disable Btrfs I/O operations if possible. Monitor kernel logs for Btrfs-related errors after updates.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-97415. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart