# CVE-2026-23214: btrfs: reject new transactions if the fs is fully read-only

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.20% (percentile 6, 2026-11-28)
- **Published:** 2026-02-18T14:21:51.507Z
- **Modified:** 2026-11-05T22:18:07.597Z

## Who should check

- Anyone running Linux \>= 42437a6386ffeaaf200731e73d723ea491f3fe7d, \< 5319d8598ea45ae144149593ae701d2ca3bd3294; \>= 42437a6386ffeaaf200731e73d723ea491f3fe7d, \< 34614f5dd26c8257aafcdaf1053a797289359664; \>= 42437a6386ffeaaf200731e73d723ea491f3fe7d, \< a928eecf030a9a5dc5f5ca98332699f379b91963; \>= 42437a6386ffeaaf200731e73d723ea491f3fe7d, \< 3228b2eceb6c3d7e237f8a5330113dbd164fb90d; \>= 42437a6386ffeaaf200731e73d723ea491f3fe7d, \< 1972f44c189c8aacde308fa9284e474c1a5cbd9f
- Anyone running Linux 5.11

## Description

In the Linux kernel, the following vulnerability has been resolved:

btrfs: reject new transactions if the fs is fully read-only

\[BUG\]
There is a bug report where a heavily fuzzed fs is mounted with all
rescue mount options, which leads to the following warnings during
unmount:

  BTRFS: Transaction aborted (error -22)
  Modules linked in:
  CPU: 0 UID: 0 PID: 9758 Comm: repro.out Not tainted
  6.19.0-rc5-00002-gb71e635feefc \#7 PREEMPT(full)
  Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014
  RIP: 0010:find\_free\_extent\_update\_loop fs/btrfs/extent-tree.c:4208 \[inline\]
  RIP: 0010:find\_free\_extent+0x52f0/0x5d20 fs/btrfs/extent-tree.c:4611
  Call Trace:
   \<TASK\>
   btrfs\_reserve\_extent+0x2cd/0x790 fs/btrfs/extent-tree.c:4705
   btrfs\_alloc\_tree\_block+0x1e1/0x10e0 fs/btrfs/extent-tree.c:5157
   btrfs\_force\_cow\_block+0x578/0x2410 fs/btrfs/ctree.c:517
   btrfs\_cow\_block+0x3c4/0xa80 fs/btrfs/ctree.c:708
   btrfs\_search\_slot+0xcad/0x2b50 fs/btrfs/ctree.c:2130
   btrfs\_truncate\_inode\_items+0x45d/0x2350 fs/btrfs/inode-item.c:499
   btrfs\_evict\_inode+0x923/0xe70 fs/btrfs/inode.c:5628
   evict+0x5f4/0xae0 fs/inode.c:837
   \_\_dentry\_kill+0x209/0x660 fs/dcache.c:670
   finish\_dput+0xc9/0x480 fs/dcache.c:879
   shrink\_dcache\_for\_umount+0xa0/0x170 fs/dcache.c:1661
   generic\_shutdown\_super+0x67/0x2c0 fs/super.c:621
   kill\_anon\_super+0x3b/0x70 fs/super.c:1289
   btrfs\_kill\_super+0x41/0x50 fs/btrfs/super.c:2127
   deactivate\_locked\_super+0xbc/0x130 fs/super.c:474
   cleanup\_mnt+0x425/0x4c0 fs/namespace.c:1318
   task\_work\_run+0x1d4/0x260 kernel/task\_work.c:233
   exit\_task\_work include/linux/task\_work.h:40 \[inline\]
   do\_exit+0x694/0x22f0 kernel/exit.c:971
   do\_group\_exit+0x21c/0x2d0 kernel/exit.c:1112
   \_\_do\_sys\_exit\_group kernel/exit.c:1123 \[inline\]
   \_\_se\_sys\_exit\_group kernel/exit.c:1121 \[inline\]
   \_\_x64\_sys\_exit\_group+0x3f/0x40 kernel/exit.c:1121
   x64\_sys\_call+0x2210/0x2210 arch/x86/include/generated/asm/syscalls\_64.h:232
   do\_syscall\_x64 arch/x86/entry/syscall\_64.c:63 \[inline\]
   do\_syscall\_64+0xe8/0xf80 arch/x86/entry/syscall\_64.c:94
   entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
  RIP: 0033:0x44f639
  Code: Unable to access opcode bytes at 0x44f60f.
  RSP: 002b:00007ffc15c4e088 EFLAGS: 00000246 ORIG\_RAX: 00000000000000e7
  RAX: ffffffffffffffda RBX: 00000000004c32f0 RCX: 000000000044f639
  RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001
  RBP: 0000000000000001 R08: ffffffffffffffc0 R09: 0000000000000000
  R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004c32f0
  R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001
   \</TASK\>

Since rescue mount options will mark the full fs read-only, there should
be no new transaction triggered.

But during unmount we will evict all inodes, which can trigger a new
transaction, and triggers warnings on a heavily corrupted fs.

\[CAUSE\]
Btrfs allows new transaction even on a read-only fs, this is to allow
log replay happen even on read-only mounts, just like what ext4/xfs do.

However with rescue mount options, the fs is fully read-only and cannot
be remounted read-write, thus in that case we should also reject any new
transactions.

\[FIX\]
If we find the fs has rescue mount options, we should treat the fs as
error, so that no new transaction can be started.

## Affected and fixed versions

- Linux: \>= 42437a6386ffeaaf200731e73d723ea491f3fe7d, \< 5319d8598ea45ae144149593ae701d2ca3bd3294; \>= 42437a6386ffeaaf200731e73d723ea491f3fe7d, \< 34614f5dd26c8257aafcdaf1053a797289359664; \>= 42437a6386ffeaaf200731e73d723ea491f3fe7d, \< a928eecf030a9a5dc5f5ca98332699f379b91963; \>= 42437a6386ffeaaf200731e73d723ea491f3fe7d, \< 3228b2eceb6c3d7e237f8a5330113dbd164fb90d; \>= 42437a6386ffeaaf200731e73d723ea491f3fe7d, \< 1972f44c189c8aacde308fa9284e474c1a5cbd9f (cvelist)
- Linux: 5.11 (cvelist)

## Mitigation

- Upgrade Linux to 1972f44c189c8aacde308fa9284e474c1a5cbd9f 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-23214. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23214.md
Affected: Linux >= 42437a6386ffeaaf200731e73d723ea491f3fe7d, < 5319d8598ea45ae144149593ae701d2ca3bd3294; >= 42437a6386ffeaaf200731e73d723ea491f3fe7d, < 34614f5dd26c8257aafcdaf1053a797289359664; >= 42437a6386ffeaaf200731e73d723ea491f3fe7d, < a928eecf030a9a5dc5f5ca98332699f379b91963; >= 42437a6386ffeaaf200731e…
Fixed in: Linux 5319d8598ea45ae144149593ae701d2ca3bd3294, Linux 34614f5dd26c8257aafcdaf1053a797289359664, Linux 3228b2eceb6c3d7e237f8a5330113dbd164fb90d, Linux 1972f44c189c8aacde308fa9284e474c1a5cbd9f

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-23214 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 42437a6386ffeaaf200731e73d723ea491f3fe7d, \< 5319d8598ea45ae144149593ae701d2ca3bd3294; \>= 42437a6386ffeaaf200731e73d723ea491f3fe7d, \< 34614f5dd26c8257aafcdaf1053a797289359664; \>= 42437a6386ffeaaf200731e73d723ea491f3fe7d, \< a928eecf030a9a5dc5f5ca98332699f379b91963; \>= 42437a6386ffeaaf200731e73d723ea491f3fe7d, \< 3228b2eceb6c3d7e237f8a5330113dbd164fb90d; \>= 42437a6386ffeaaf200731e73d723ea491f3fe7d, \< 1972f44c189c8aacde308fa9284e474c1a5cbd9f; Linux 5.11.

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

Yes. Fixed in Linux 5319d8598ea45ae144149593ae701d2ca3bd3294, Linux 34614f5dd26c8257aafcdaf1053a797289359664, Linux 3228b2eceb6c3d7e237f8a5330113dbd164fb90d, Linux 1972f44c189c8aacde308fa9284e474c1a5cbd9f. Upgrade Linux to 1972f44c189c8aacde308fa9284e474c1a5cbd9f or later.

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

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

- patch: <https://git.kernel.org/stable/c/a928eecf030a9a5dc5f5ca98332699f379b91963>
- patch: <https://git.kernel.org/stable/c/3228b2eceb6c3d7e237f8a5330113dbd164fb90d>
- patch: <https://git.kernel.org/stable/c/1972f44c189c8aacde308fa9284e474c1a5cbd9f>
- other: <https://git.kernel.org/stable/c/5319d8598ea45ae144149593ae701d2ca3bd3294>
- other: <https://git.kernel.org/stable/c/34614f5dd26c8257aafcdaf1053a797289359664>

## 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-23214>

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