← All Advisories
Reported from OT-Advisories.com as of

Linux Kernel btrfs: tree-checker: validate names in ROOT_REF and ROOT_BACKREF

Last refreshed2026-11-16

Status: UPDATED  |  Advisory ID: CVE-2026-97415

Key Details

CVECVE-2026-97415
CVSS Score / Version
7.8 (High) / CVSS v3.1
Updated2026-10-02
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Prose
attack vector is local; attack complexity is low; privileges required is low; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
Linux Kernel
Exploitation prediction (EPSS)
0.13% probability of exploitation in the next 30 days (3% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SubsystemsOT Supporting Infrastructure
SectorsAll Sectors

What to Know

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. (NVD)

What to Do

Monitor Linux's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-97415
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-97415
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.