VDB

CVE-2026-97415

CVE-2026-97415 PUBLISHED CVSS 7.8 HIGH

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

Reported by linux · Published September 24, 2026

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.

EPSS 0.13% · 2.8th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
perf6.12Amazon Linux1:6.12.111-136.204.amzn2023
bpftoolAmazon Linux1:6.1.189-236.399.amzn2023
kernel-headersAmazon Linux1:6.1.189-236.399.amzn2023
kernel-livepatch-6.1.189-236.399Amazon Linux1:1.0-0.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.111-136.204.amzn2023

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.13%
2.8th percentile

Affected products

VendorProductVersions
LinuxLinuxb64ec075bded2b30bcd90af5aa5256d2237c885d, b64ec075bded2b30bcd90af5aa5256d2237c885d, b64ec075bded2b30bcd90af5aa5256d2237c885d
LinuxLinux4.18, 0, 6.1.189
amazon:2023perf6.120
amazon:2023bpftool0
amazon:2023kernel-headers0
amazon:2023kernel-livepatch-6.1.189-236.3990
amazon:2023kernel6.12-tools0
linuxlinux_kernel4.18, 4.18, 4.18
amazon:2023kernel6.12-devel0
amazon:2023kernel6.18-tools-devel0
amazon:2023microvm-kernel0
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel-modules-extra-common0
amazon:2023perf0
amazon:2023microvm-kernel6.180
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023python3-perf0
amazon:2023kernel6.180

…and 19 more

Timeline

  • Sep 24, 2026 CVE Published
  • Sep 25, 2026 EPSS Score (5 in total, the first dated here)
  • Oct 3, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-97415
vulnetix vdb fixes CVE-2026-97415

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-97415/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›