CVE-2026-98083 btrfs: fix transaction use-after-free in raid stripe insertion
A use-after-free in the Linux kernel's btrfs filesystem allows local attackers to potentially execute code or escalate privileges via RAID stripe insertion errors.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-98083?
CVE-2026-98083 is a high-severity use after free vulnerability in Linux kernel, published on 25 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-416
Which versions are affected by CVE-2026-98083?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-98083?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2026-98083 being exploited?
There is no known exploitation of CVE-2026-98083 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-104688, BELL-CVE-2026-98083, DEBIAN-CVE-2026-98083, GHSA-fmp8-q8mq-wm2x, UBUNTU-CVE-2026-98083.