# CVE-2026-43361: btrfs: fix transaction abort when snapshotting received subvolumes

> 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.16% (percentile 3, 2026-11-26)
- **Published:** 2026-05-08T14:21:15.683Z
- **Modified:** 2026-11-11T20:10:00.273Z

## Who should check

- Anyone running Linux \>= dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70, \< 9a9227b488ffb7cdbb5d930a01fc6956c05ba61a; \>= dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70, \< 6bce705b699cba9afccb996c77d194fe003dfa2a; \>= dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70, \< e3d8efc157bc590457d3e31da403af1a221643d6; \>= dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70, \< bac55dde8efa457e769c934fd88a63f2141ba238; \>= dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70, \< 770af8e465c2c3de528f85e840eab462dd41542b; \>= dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70, \< e1b18b959025e6b5dbad668f391f65d34b39595a
- Anyone running Linux 3.12

## Description

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

btrfs: fix transaction abort when snapshotting received subvolumes

Currently a user can trigger a transaction abort by snapshotting a
previously received snapshot a bunch of times until we reach a
BTRFS\_UUID\_KEY\_RECEIVED\_SUBVOL item overflow (the maximum item size we
can store in a leaf). This is very likely not common in practice, but
if it happens, it turns the filesystem into RO mode. The snapshot, send
and set\_received\_subvol and subvol\_setflags (used by receive) don't
require CAP\_SYS\_ADMIN, just inode\_owner\_or\_capable(). A malicious user
could use this to turn a filesystem into RO mode and disrupt a system.

Reproducer script:

  $ cat test.sh
  \#!/bin/bash

  DEV=/dev/sdi
  MNT=/mnt/sdi

  \# Use smallest node size to make the test faster.
  mkfs.btrfs -f --nodesize 4K $DEV
  mount $DEV $MNT

  \# Create a subvolume and set it to RO so that it can be used for send.
  btrfs subvolume create $MNT/sv
  touch $MNT/sv/foo
  btrfs property set $MNT/sv ro true

  \# Send and receive the subvolume into snaps/sv.
  mkdir $MNT/snaps
  btrfs send $MNT/sv \| btrfs receive $MNT/snaps

  \# Now snapshot the received subvolume, which has a received\_uuid, a
  \# lot of times to trigger the leaf overflow.
  total=500
  for ((i = 1; i \<= $total; i++)); do
      echo -ne "\\rCreating snapshot $i/$total"
      btrfs subvolume snapshot -r $MNT/snaps/sv $MNT/snaps/sv\_$i \> /dev/null
  done
  echo

  umount $MNT

When running the test:

  $ ./test.sh
  (...)
  Create subvolume '/mnt/sdi/sv'
  At subvol /mnt/sdi/sv
  At subvol sv
  Creating snapshot 496/500ERROR: Could not create subvolume: Value too large for defined data type
  Creating snapshot 497/500ERROR: Could not create subvolume: Read-only file system
  Creating snapshot 498/500ERROR: Could not create subvolume: Read-only file system
  Creating snapshot 499/500ERROR: Could not create subvolume: Read-only file system
  Creating snapshot 500/500ERROR: Could not create subvolume: Read-only file system

And in dmesg/syslog:

  $ dmesg
  (...)
  \[251067.627338\] BTRFS warning (device sdi): insert uuid item failed -75 (0x4628b21c4ac8d898, 0x2598bee2b1515c91) type 252!
  \[251067.629212\] ------------\[ cut here \]------------
  \[251067.630033\] BTRFS: Transaction aborted (error -75)
  \[251067.630871\] WARNING: fs/btrfs/transaction.c:1907 at create\_pending\_snapshot.cold+0x52/0x465 \[btrfs\], CPU\#10: btrfs/615235
  \[251067.632851\] Modules linked in: btrfs dm\_zero (...)
  \[251067.644071\] CPU: 10 UID: 0 PID: 615235 Comm: btrfs Tainted: G        W           6.19.0-rc8-btrfs-next-225+ \#1 PREEMPT(full)
  \[251067.646165\] Tainted: \[W\]=WARN
  \[251067.646733\] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org 04/01/2014
  \[251067.648735\] RIP: 0010:create\_pending\_snapshot.cold+0x55/0x465 \[btrfs\]
  \[251067.649984\] Code: f0 48 0f (...)
  \[251067.653313\] RSP: 0018:ffffce644908fae8 EFLAGS: 00010292
  \[251067.653987\] RAX: 00000000ffffff01 RBX: ffff8e5639e63a80 RCX: 00000000ffffffd3
  \[251067.655042\] RDX: ffff8e53faa76b00 RSI: 00000000ffffffb5 RDI: ffffffffc0919750
  \[251067.656077\] RBP: ffffce644908fbd8 R08: 0000000000000000 R09: ffffce644908f820
  \[251067.657068\] R10: ffff8e5adc1fffa8 R11: 0000000000000003 R12: ffff8e53c0431bd0
  \[251067.658050\] R13: ffff8e5414593600 R14: ffff8e55efafd000 R15: 00000000ffffffb5
  \[251067.659019\] FS:  00007f2a4944b3c0(0000) GS:ffff8e5b27dae000(0000) knlGS:0000000000000000
  \[251067.660115\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  \[251067.660943\] CR2: 00007ffc5aa57898 CR3: 00000005813a2003 CR4: 0000000000370ef0
  \[251067.661972\] Call Trace:
  \[251067.662292\]  \<TASK\>
  \[251067.662653\]  create\_pending\_snapshots+0x97/0xc0 \[btrfs\]
  \[251067.663413\]  btrfs\_commit\_transaction+0x26e/0xc00 \[btrfs\]
  \[251067.664257\]  ? btrfs\_qgroup\_convert\_reserved\_meta+0x35/0x390 \[btrfs\]
  \[251067.665238\]  ? \_raw\_spin\_unlock+0x15/0x30
  \[251067.665837\]  ? record\_root\_
---truncated---

## Affected and fixed versions

- Linux: \>= dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70, \< 9a9227b488ffb7cdbb5d930a01fc6956c05ba61a; \>= dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70, \< 6bce705b699cba9afccb996c77d194fe003dfa2a; \>= dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70, \< e3d8efc157bc590457d3e31da403af1a221643d6; \>= dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70, \< bac55dde8efa457e769c934fd88a63f2141ba238; \>= dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70, \< 770af8e465c2c3de528f85e840eab462dd41542b; \>= dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70, \< e1b18b959025e6b5dbad668f391f65d34b39595a (cvelist)
- Linux: 3.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-43361.md
Affected: Linux >= dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70, < 9a9227b488ffb7cdbb5d930a01fc6956c05ba61a; >= dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70, < 6bce705b699cba9afccb996c77d194fe003dfa2a; >= dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70, < e3d8efc157bc590457d3e31da403af1a221643d6; >= dd5f9615fc5c5e8d3751aab…
Fixed in: Linux 9a9227b488ffb7cdbb5d930a01fc6956c05ba61a, Linux 6bce705b699cba9afccb996c77d194fe003dfa2a, Linux 770af8e465c2c3de528f85e840eab462dd41542b

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

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

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

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

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

Linux \>= dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70, \< 9a9227b488ffb7cdbb5d930a01fc6956c05ba61a; \>= dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70, \< 6bce705b699cba9afccb996c77d194fe003dfa2a; \>= dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70, \< e3d8efc157bc590457d3e31da403af1a221643d6; \>= dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70, \< bac55dde8efa457e769c934fd88a63f2141ba238; \>= dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70, \< 770af8e465c2c3de528f85e840eab462dd41542b; \>= dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70, \< e1b18b959025e6b5dbad668f391f65d34b39595a; Linux 3.12.

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

Yes. Fixed in Linux 9a9227b488ffb7cdbb5d930a01fc6956c05ba61a, Linux 6bce705b699cba9afccb996c77d194fe003dfa2a, Linux 770af8e465c2c3de528f85e840eab462dd41542b. No fix listed yet: follow the vendor advisory.

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

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/9a9227b488ffb7cdbb5d930a01fc6956c05ba61a>
- patch: <https://git.kernel.org/stable/c/6bce705b699cba9afccb996c77d194fe003dfa2a>
- patch: <https://git.kernel.org/stable/c/e3d8efc157bc590457d3e31da403af1a221643d6>
- patch: <https://git.kernel.org/stable/c/bac55dde8efa457e769c934fd88a63f2141ba238>
- patch: <https://git.kernel.org/stable/c/770af8e465c2c3de528f85e840eab462dd41542b>
- patch: <https://git.kernel.org/stable/c/e1b18b959025e6b5dbad668f391f65d34b39595a>

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

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