VDB

CVE-2026-93813

CVE-2026-93813 PUBLISHED CVSS 7.8 HIGH

btrfs: tree-checker: validate INODE_REF's namelen

Reported by linux · Published September 24, 2026

In the Linux kernel, the following vulnerability has been resolved: btrfs: tree-checker: validate INODE_REF's namelen [BUG] A crafted btrfs image can trigger the following crash: BUG: unable to handle page fault for address: ffffd1dc42884000 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page CPU: 9 UID: 0 PID: 1034 Comm: poc Not tainted 7.1.0-rc4-custom+ #383 PREEMPT(full) 46af0a92938a63be7132e0dfd71e62327c51d5c2 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS unknown 02/02/2022 RIP: 0010:memcpy+0xc/0x10 Call Trace: <TASK> read_extent_buffer+0xe4/0x100 [btrfs 3cf0785dd58fec8c5ff84633b772f17ce1f92a8f] btrfs_get_name+0x15e/0x1e0 [btrfs 3cf0785dd58fec8c5ff84633b772f17ce1f92a8f] reconnect_path+0x165/0x390 exportfs_decode_fh_raw+0x337/0x400 ? drop_caches_sysctl_handler+0xb0/0xb0 </TASK> ---[ end trace 0000000000000000 ]--- RIP: 0010:memcpy+0xc/0x10 Kernel panic - not syncing: Fatal exception [CAUSE] TThe crafted image has the following corrupted INODE_REF item: item 9 key (258 INODE_REF 257) itemoff 11544 itemsize 4106 index 2 namelen 4096 name: d\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000 The itemsize matches the namelen, but the namelen is 4096, way larger than normal name length limit (BTRFS_NAME_LEN, 255). Meanwhile the memory of the @name is only 255 byte sized, this will cause out-of-boundary access, and cause the above crash. [FIX] Add extra namelen verification for INODE_REF, just like what we have done in ROOT_REF checks. Now the crafted image can be rejected gracefully: BTRFS critical (device dm-2): corrupt leaf: root=5 block=30572544 slot=14 ino=259, invalid inode ref name length, has 4096 expect [1, 255] BTRFS error (device dm-2): read time tree block corruption detected on logical 30572544 mirror 2 [ Rebase, add a Link: tag, add an simple cause analyze ]

EPSS 0.13% · 2.6th percentile

Fixed versions

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

PackageEcosystemFixed in
kernel-livepatch-6.1.189-236.399Amazon Linux1:1.0-0.amzn2023
kernel6.18Amazon Linux1:6.18.54-121.166.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.54-121.166.amzn2023
kernel6.12Amazon Linux1:6.12.111-136.204.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.111-136.204.amzn2023
kernel-tools-develAmazon Linux1:6.1.189-236.399.amzn2023
kernel-modules-extra-commonAmazon Linux1:6.1.189-236.399.amzn2023
kernel-headersAmazon Linux1:6.1.189-236.399.amzn2023
kernel-develAmazon Linux1:6.1.189-236.399.amzn2023
kernel-toolsAmazon Linux1:6.1.189-236.399.amzn2023
python3-perf6.12Amazon Linux1:6.12.111-136.204.amzn2023
microvm-kernelAmazon Linux1:6.1.189-236.399.amzn2023

12 more packages have a fixed version. See every fix in Lookup.

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.6th percentile

Affected products

VendorProductVersions
LinuxLinux2ede0daf01549cecf4bb0962c46dc47382047523, 2ede0daf01549cecf4bb0962c46dc47382047523, 2ede0daf01549cecf4bb0962c46dc47382047523
LinuxLinux2.6.37, 0, 5.15.222
amazon:2023kernel-livepatch-6.1.189-236.3990
amazon:2023kernel6.180
amazon:2023kernel6.18-tools0
amazon:2023kernel6.120
amazon:2023kernel6.12-tools0
amazon:2023kernel-tools-devel0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-headers0
amazon:2023kernel-devel0
amazon:2023kernel-tools0
amazon:2023python3-perf6.120
amazon:2023microvm-kernel0
amazon:2023kernel-livepatch-6.12.111-136.2040
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel-modules-extra0
amazon:2023bpftool6.120
amazon:2023kernel6.18-tools-devel0

…and 20 more

Timeline

  • Sep 24, 2026 Coalition ESS Score
  • 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-93813
vulnetix vdb fixes CVE-2026-93813

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-93813/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 ›