CVE-2026-43359

btrfs: fix transaction abort on set received ioctl due to item overflow

MEDIUM
5.5
CVSS Score
Published: May 8, 2026 at 02:21 PM UTC
Updated: June 17, 2026 at 10:49 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix transaction abort on set received ioctl due to item overflow If the set received ioctl fails due to an item overflow when attempting to add the BTRFS_UUID_KEY_RECEIVED_SUBVOL we have to abort the transaction since we did some metadata updates before. This means that if a user calls this ioctl with the same received UUID field for a lot of subvolumes, we will hit the overflow, trigger the transaction abort and turn the filesystem into RO mode. A malicious user could exploit this, and this ioctl does not even requires that a user has admin privileges (CAP_SYS_ADMIN), only that he/she owns the subvolume. Fix this by doing an early check for item overflow before starting a transaction. This is also race safe because we are holding the subvol_sem semaphore in exclusive (write) mode. A test case for fstests will follow soon.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.12 ≤ v < 6.1.1673.12 ≤ v < 6.12.783.12 ≤ v < 6.18.193.12 ≤ v < 6.19.93.12 ≤ v < 6.6.1303.12 ≤ v < 7.06.13 ≤ v < 6.18.196.19 ≤ v < 6.19.96.2 ≤ v < 6.6.1306.7 ≤ v < 6.12.783.127.0 rc17.0 rc27.0 rc3dd5f9615fc5c5e8d3751aab3a17b92768fb1ce70
Vendor states this is fixed in 2e57b8cac2ba0d38aac76c1ecdfd8b899e3581a5 (fixed)
Vendor states this is fixed in 41fb97353ff58fa4f31904c343fc8e3df2f7517d (fixed)
Vendor states this is fixed in 87f2c46003fce4d739138aab4af1942b1afdadac (fixed)
Vendor states this is fixed in b19c0465e4daad5aa8f60552ea0578cf31a11b1e (fixed)
Vendor states this is fixed in b9914db13ac15aca3b74544c0bb1a2e0dad1f174 (fixed)
Vendor states this is fixed in d11aefe654a04fc41996d254748d6a38b6b0a7be (fixed)
Vendor states this is fixed in 3.12 (unaffected)
Vendor states this is fixed in 6.1.167 (unaffected)
Vendor states this is fixed in 6.12.78 (unaffected)
Vendor states this is fixed in 6.18.19 (unaffected)
Vendor states this is fixed in 6.19.9 (unaffected)
Vendor states this is fixed in 6.6.130 (unaffected)
Vendor states this is fixed in 7.0 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-191

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card