# CVE-2026-93813: btrfs: tree-checker: validate INODE\_REF's namelen

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-09-24T16:02:49.907Z
- **Modified:** 2026-10-03T11:17:51.120Z

## Who should check

- Anyone running Linux \>= 2ede0daf01549cecf4bb0962c46dc47382047523, \< 60078a3e25c09d9d8fba828b0d81bb33e449a1b2; \>= 2ede0daf01549cecf4bb0962c46dc47382047523, \< 509d6a4d889e425f305461d8323a7b39ca6c121c; \>= 2ede0daf01549cecf4bb0962c46dc47382047523, \< 4cb41f07685f88ec724a375883bb0c731db8f6eb; \>= 2ede0daf01549cecf4bb0962c46dc47382047523, \< eeddee090b834a7d4b6a8214d2e3739e64c7a338; \>= 2ede0daf01549cecf4bb0962c46dc47382047523, \< 8f75c19892263bc0555fba922aefe103e841e86d; \>= 2ede0daf01549cecf4bb0962c46dc47382047523, \< 3dc22abc21f5892406c09202fa2627196cc96967
- Anyone running Linux 2.6.37

## Description

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 \]

## Affected and fixed versions

- Linux: \>= 2ede0daf01549cecf4bb0962c46dc47382047523, \< 60078a3e25c09d9d8fba828b0d81bb33e449a1b2; \>= 2ede0daf01549cecf4bb0962c46dc47382047523, \< 509d6a4d889e425f305461d8323a7b39ca6c121c; \>= 2ede0daf01549cecf4bb0962c46dc47382047523, \< 4cb41f07685f88ec724a375883bb0c731db8f6eb; \>= 2ede0daf01549cecf4bb0962c46dc47382047523, \< eeddee090b834a7d4b6a8214d2e3739e64c7a338; \>= 2ede0daf01549cecf4bb0962c46dc47382047523, \< 8f75c19892263bc0555fba922aefe103e841e86d; \>= 2ede0daf01549cecf4bb0962c46dc47382047523, \< 3dc22abc21f5892406c09202fa2627196cc96967 (cvelist)
- Linux: 2.6.37 (cvelist)

## Mitigation

- Upgrade Linux to 3dc22abc21f5892406c09202fa2627196cc96967 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-93813. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-93813.md
Affected: Linux >= 2ede0daf01549cecf4bb0962c46dc47382047523, < 60078a3e25c09d9d8fba828b0d81bb33e449a1b2; >= 2ede0daf01549cecf4bb0962c46dc47382047523, < 509d6a4d889e425f305461d8323a7b39ca6c121c; >= 2ede0daf01549cecf4bb0962c46dc47382047523, < 4cb41f07685f88ec724a375883bb0c731db8f6eb; >= 2ede0daf01549cecf4bb096…
Fixed in: Linux 60078a3e25c09d9d8fba828b0d81bb33e449a1b2, Linux 509d6a4d889e425f305461d8323a7b39ca6c121c, Linux 4cb41f07685f88ec724a375883bb0c731db8f6eb, Linux 8f75c19892263bc0555fba922aefe103e841e86d, Linux 3dc22abc21f5892406c09202fa2627196cc96967

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-93813 being exploited?

There is no confirmed exploitation: CVE-2026-93813 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-93813?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-93813?

Linux \>= 2ede0daf01549cecf4bb0962c46dc47382047523, \< 60078a3e25c09d9d8fba828b0d81bb33e449a1b2; \>= 2ede0daf01549cecf4bb0962c46dc47382047523, \< 509d6a4d889e425f305461d8323a7b39ca6c121c; \>= 2ede0daf01549cecf4bb0962c46dc47382047523, \< 4cb41f07685f88ec724a375883bb0c731db8f6eb; \>= 2ede0daf01549cecf4bb0962c46dc47382047523, \< eeddee090b834a7d4b6a8214d2e3739e64c7a338; \>= 2ede0daf01549cecf4bb0962c46dc47382047523, \< 8f75c19892263bc0555fba922aefe103e841e86d; \>= 2ede0daf01549cecf4bb0962c46dc47382047523, \< 3dc22abc21f5892406c09202fa2627196cc96967; Linux 2.6.37.

### Is there a fix for CVE-2026-93813?

Yes. Fixed in Linux 60078a3e25c09d9d8fba828b0d81bb33e449a1b2, Linux 509d6a4d889e425f305461d8323a7b39ca6c121c, Linux 4cb41f07685f88ec724a375883bb0c731db8f6eb, Linux 8f75c19892263bc0555fba922aefe103e841e86d, Linux 3dc22abc21f5892406c09202fa2627196cc96967. Upgrade Linux to 3dc22abc21f5892406c09202fa2627196cc96967 or later.

### How do I check if I'm affected by CVE-2026-93813?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/60078a3e25c09d9d8fba828b0d81bb33e449a1b2>
- other: <https://git.kernel.org/stable/c/509d6a4d889e425f305461d8323a7b39ca6c121c>
- other: <https://git.kernel.org/stable/c/4cb41f07685f88ec724a375883bb0c731db8f6eb>
- other: <https://git.kernel.org/stable/c/eeddee090b834a7d4b6a8214d2e3739e64c7a338>
- other: <https://git.kernel.org/stable/c/8f75c19892263bc0555fba922aefe103e841e86d>
- other: <https://git.kernel.org/stable/c/3dc22abc21f5892406c09202fa2627196cc96967>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-93813>

HTML: <https://flawdb.com/CVE-2026-93813> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-93813>
