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.
Published: 2026-09-24
Score: 7.8 High
EPSS: n/a
KEV: No
Impact: Memory corruption that can lead to data exposure via the BTRFS_IOC_GET_SUBVOL_INFO ioctl
Action: Patch
AI Analysis

Impact

The Linux kernel’s btrfs file system contains a flaw where tree‑checker fails to validate ROOT_REF and ROOT_BACKREF items before use. The items store a structure followed by a subvolume name, and several code paths unconditionally read the on‑disk name length. A maliciously corrupted item can cause these readers to reference bytes beyond the payload, and the BTRFS_IOC_GET_SUBVOL_INFO ioctl can copy more data into a fixed‑size user buffer than the item actually contains. This out‑of‑bounds read exposes kernel data and may trigger a crash, resulting in data loss or disclosure.

Affected Systems

All Linux kernel builds that lack the recent commit adding validation for ROOT_REF and ROOT_BACKREF items are affected. Distribution kernels not yet updated for this fix remain vulnerable. The issue is confined to the btrfs file system, but it can be triggered from any user with permissions to use the ioctl interface.

Risk and Exploitability

There is no published CVSS score and EPSS data is unavailable, so the quantitative likelihood of exploitation is unknown. However, because the flaw permits arbitrary reads beyond a fixed buffer boundary, an adversary could potentially exfiltrate kernel memory or cause a denial of service. The vulnerability is not yet listed in the CISA KEV catalog, indicating that it has not been widely exploited but solving it remains prudent.

Generated by OpenCVE AI on September 25, 2026 at 02:59 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that includes the commit adding validation for ROOT_REF and ROOT_BACKREF items in btrfs
  • Reboot the system to load the updated kernel
  • Verify that BTRFS_IOC_GET_SUBVOL_INFO no longer overreads by performing a low‑privilege test or monitoring for unexpected kernel crashes

Generated by OpenCVE AI on September 25, 2026 at 02:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 25 Sep 2026 05:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Fri, 25 Sep 2026 03:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-788

Thu, 24 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
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.
Title btrfs: tree-checker: validate names in ROOT_REF and ROOT_BACKREF
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-25T05:10:27.687Z

Reserved: 2026-09-24T14:53:16.867Z

Link: CVE-2026-97415

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-24T17:17:19.223

Modified: 2026-09-25T05:17:04.727

Link: CVE-2026-97415

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T03:00:09Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-788

    Access of Memory Location After End of Buffer