Skip to main content

Linux Kernel btrfs EUVDEUVD-2026-28667

| CVE-2026-43361 MEDIUM
2026-05-08 Linux GHSA-v9r8-chwp-vmrm
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local user account with subvolume ownership
  2. Delivery
    Identify or create a btrfs received subvolume (via btrfs receive)
  3. Exploit
    Automate rapid read-only snapshot creation loop
  4. Execution
    Exhaust BTRFS_UUID_KEY_RECEIVED_SUBVOL B-tree leaf capacity after ~496 operations
  5. Persist
    Trigger EOVERFLOW in create_pending_snapshot()
  6. Impact
    Transaction abort forces filesystem to read-only mode

Vulnerability Assessment

Exploitation Conditions

Requires a local user account with ownership of (or inode_owner_or_capable() permission on) a btrfs subvolume that carries a received_uuid - meaning it was created via 'btrfs receive' from a 'btrfs send' stream. The user must have permission to invoke 'btrfs subvolume snapshot -r', which does NOT require CAP_SYS_ADMIN. The attack requires only approximately 496-500 snapshot creation operations with the smallest 4K node size; larger node sizes increase the required count but do not prevent the overflow. A btrfs filesystem must be mounted read-write. Exploitation is strictly limited to local access (AV:L) - no network-reachable exploitation path exists. Systems where untrusted users cannot create btrfs snapshots, or where no received subvolumes (btrfs receive output) exist on the filesystem, are not exploitable. The filesystem going read-only is persistent across the mount session and requires administrative intervention (umount/remount or reboot) to recover.

Impact

CVSS 5.5 Medium with vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H indicates local access with low privileges and low complexity - no confidentiality or integrity impact, but high availability impact. EPSS at 0.02% (7th percentile) strongly suggests this has not been observed in widespread automated exploitation at time of analysis, consistent with the local-only attack vector. Not listed in CISA KEV. However, the CVSS score and EPSS together understate practical risk in certain contexts: the low privilege bar (no CAP_SYS_ADMIN, just subvolume ownership), the availability of a step-by-step reproducer script embedded in the public advisory, and the irreversible nature of the filesystem going read-only (requiring remount or reboot to recover) all elevate real-world impact. Multi-tenant Linux systems where untrusted users have btrfs subvolume access - such as shared hosting, container runtimes using btrfs storage drivers, or CI environments - face meaningful denial-of-service risk. Single-user workstations and environments where unprivileged users cannot create btrfs snapshots are at negligible risk. No CVSS/description conflict identified; both are consistent with local exploitation.

Exploit ScenarioDerived

A local user on a shared btrfs-backed Linux system who owns or has inode_owner_or_capable() access to a received subvolume (one created via btrfs receive) runs a trivial shell loop creating approximately 500 read-only snapshots in rapid succession - exactly as shown in the reproducer script embedded in the advisory. After roughly 496 iterations with a 4K node size, the BTRFS_UUID_KEY_RECEIVED_SUBVOL item exceeds the B-tree leaf size limit, btrfs logs 'insert uuid item failed -75' to dmesg, and create_pending_snapshot() aborts the transaction, forcing the entire filesystem read-only and denying write access to every user and process on that mount until the system remounts or reboots.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 26, 2026

Filesystem denial-of-service in the Linux kernel's btrfs subsystem allows a local low-privileged user to force a mounted btrfs filesystem into read-only mode by repeatedly snapshotting a received subvolume until the BTRFS_UUID_KEY_RECEIVED_SUBVOL B-tree leaf overflows its maximum item size, triggering a transaction abort in create_pending_snapshot(). Critically, the operations involved - snapshot, send, receive, and set_received_subvol - require only inode_owner_or_capable() rather than CAP_SYS_ADMIN, meaning unprivileged users owning subvolumes can mount this attack. No public exploit identified at time of analysis beyond the detailed reproducer script embedded in the advisory itself; EPSS at 0.02% (7th percentile) reflects low widespread automated exploitation probability, though multi-tenant environments face elevated practical risk.

RemediationAI

Upgrade to a patched Linux kernel version. Vendor-released patches are confirmed at the following stable branches via kernel.org commits: Linux 7.0 (commit bac55dde8efa457e769c934fd88a63f2141ba238), 6.19.9 (commit 9a9227b488ffb7cdbb5d930a01fc6956c05ba61a), 6.18.19 (commit e1b18b959025e6b5dbad668f391f65d34b39595a), 6.12.78 (commit 770af8e465c2c3de528f85e840eab462dd41542b), 6.6.130 (commit 6bce705b699cba9afccb996c77d194fe003dfa2a), and 6.1.167 (commit e3d8efc157bc590457d3e31da403af1a221643d6), all available at https://git.kernel.org/stable/c/. For systems that cannot be patched immediately, restrict unprivileged users from executing btrfs snapshot operations on received subvolumes - this can be achieved by removing user ownership of received subvolumes or leveraging user namespace restrictions to prevent subvolume operations. Disabling btrfs receive workflows for non-administrative users eliminates the attack precondition entirely but may disrupt backup or replication pipelines that depend on btrfs send/receive. Red Hat and SUSE advisories should be consulted for distribution-specific patch availability.

Affected VersionsENISA

Linux dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70 <bac55dde8efa457e769c934fd88a63f2141ba238
Linux patch: 7.0
Linux patch: 6.12.78
Linux patch: 6.18.19
Linux patch: 6.1.167
Linux patch: 0
Linux patch: 6.6.130
Linux patch: 6.19.9
Linux dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70 <e1b18b959025e6b5dbad668f391f65d34b39595a
Linux dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70 <770af8e465c2c3de528f85e840eab462dd41542b
Linux 3.12
Linux dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70 <9a9227b488ffb7cdbb5d930a01fc6956c05ba61a
Linux dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70 <6bce705b699cba9afccb996c77d194fe003dfa2a
Linux dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70 <e3d8efc157bc590457d3e31da403af1a221643d6

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The btrfs filesystem organizes metadata in B-tree structures stored in fixed-size leaves (nodes). Each received subvolume carries a received_uuid, and each snapshot operation appends a BTRFS_UUID_KEY_RECEIVED_SUBVOL item to the corresponding B-tree leaf. These items accumulate without a size guard, and once the leaf reaches its maximum storable item size, the insert fails with EOVERFLOW (error -75). The error propagates to create_pending_snapshot() in fs/btrfs/transaction.c (around line 1907 per dmesg trace), which does not handle EOVERFLOW gracefully and instead calls btrfs_abort_transaction(), flipping the filesystem to read-only mode as a safety measure. With the smallest supported node size of 4K, only approximately 496 snapshot operations are needed to exhaust the leaf. The affected CPE is cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:* with the vulnerability introduced at commit dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70 dating back to Linux 3.12. The CWE field is absent from the NVD entry; the ENISA EUVD tag of 'Buffer Overflow' is imprecise - the actual root cause is an unchecked B-tree leaf item accumulation leading to an unhandled size overflow condition, not a memory buffer overflow.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
SUSE MEDIUM
Red Hat 5.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
May 15, 2026 - 13:37 NVD
5.5 (MEDIUM)
Patch available
May 08, 2026 - 16:18 EUVD
CVE Published
May 08, 2026 - 14:21 nvd
UNKNOWN (no severity yet)
CVE Published
May 08, 2026 - 14:21 nvd
MEDIUM 5.5

DescriptionNVD

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

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy