CVE-2026-98083

btrfs: fix transaction use-after-free in raid stripe insertion

HIGH
7
CVSS Score
Published: September 25, 2026 at 10:24 AM UTC
Updated: October 19, 2026 at 10:18 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
HIGH7
Exploit prediction
EPSS 0.1%

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix transaction use-after-free in raid stripe insertion If allocation of a RAID stripe extent fails, btrfs_insert_one_raid_extent() aborts and ends the transaction before returning -ENOMEM. btrfs_finish_one_ordered(), the production caller through btrfs_insert_raid_extent(), still owns the transaction handle. It handles the error by aborting the transaction and then reaches the common exit path, which ends the transaction again. The premature end can free the handle and drop its transaction reference. Transaction cleanup can then free the transaction before the caller's second abort accesses the handle and transaction, resulting in use-after-free. Keep the abort at the failure site, but let the caller's common exit path end the transaction once, after it has finished using both objects.

Affected

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

6.13 ≤ v < 6.18.536.19 ≤ v < 7.2.76.6.130 ≤ v < 6.6.1586.7 ≤ v < 6.12.1112c372e1f16e5113217597ab37b399c4e4074776.6.1307.37.3 rc1ab69bf6f8970c09d3735c25094e9471d54365282
Vendor states this is fixed in 089d9c45ea49ffffe55a8fe08d0ce2536626e90a (fixed)
Vendor states this is fixed in 2fbfd02bdfe12b20bd3cc7a3190fb32e3f7072f5 (fixed)
Vendor states this is fixed in a8813a923f9e43f788b357fb55c35f7f6ed6f98c (fixed)
Vendor states this is fixed in b185bdf30313e213fa1c887fe22fc3d513c061d9 (fixed)
Vendor states this is fixed in b7b94923b3b5774d85a2a7c8d6eb9e3e0ef66685 (fixed)
Vendor states this is fixed in 6.12.111 (unaffected)
Vendor states this is fixed in 6.18.53 (unaffected)
Vendor states this is fixed in 6.6.158 (unaffected)
Vendor states this is fixed in 6.7 (unaffected)
Vendor states this is fixed in 7.2.7 (unaffected)
Vendor states this is fixed in 7.3 (unaffected)
Vendor states this is fixed in 7.3-rc2 (unaffected)

CVSS

7HIGHLinux
Vector?

Quick Info

StatusANALYZED
CWE
CWE-416

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