# CVE-2026-98083: btrfs: fix transaction use-after-free in raid stripe insertion

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.15% (percentile 2, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-09-25T10:24:19.287Z
- **Modified:** 2026-10-19T10:18:04.367Z

## Who should check

- Anyone running Linux \>= ab69bf6f8970c09d3735c25094e9471d54365282, \< 089d9c45ea49ffffe55a8fe08d0ce2536626e90a; \>= 02c372e1f016e5113217597ab37b399c4e407477, \< b185bdf30313e213fa1c887fe22fc3d513c061d9; \>= 02c372e1f016e5113217597ab37b399c4e407477, \< 2fbfd02bdfe12b20bd3cc7a3190fb32e3f7072f5; \>= 02c372e1f016e5113217597ab37b399c4e407477, \< b7b94923b3b5774d85a2a7c8d6eb9e3e0ef66685; \>= 02c372e1f016e5113217597ab37b399c4e407477, \< a8813a923f9e43f788b357fb55c35f7f6ed6f98c; \>= 6.6.130, \< 6.6.158
- Anyone running Linux 6.7

## 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 and fixed versions

- Linux: \>= ab69bf6f8970c09d3735c25094e9471d54365282, \< 089d9c45ea49ffffe55a8fe08d0ce2536626e90a; \>= 02c372e1f016e5113217597ab37b399c4e407477, \< b185bdf30313e213fa1c887fe22fc3d513c061d9; \>= 02c372e1f016e5113217597ab37b399c4e407477, \< 2fbfd02bdfe12b20bd3cc7a3190fb32e3f7072f5; \>= 02c372e1f016e5113217597ab37b399c4e407477, \< b7b94923b3b5774d85a2a7c8d6eb9e3e0ef66685; \>= 02c372e1f016e5113217597ab37b399c4e407477, \< a8813a923f9e43f788b357fb55c35f7f6ed6f98c; \>= 6.6.130, \< 6.6.158 (cvelist)
- Linux: 6.7 (cvelist)

## Mitigation

- Upgrade Linux to 6.6.158 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-98083.md
Affected: Linux >= ab69bf6f8970c09d3735c25094e9471d54365282, < 089d9c45ea49ffffe55a8fe08d0ce2536626e90a; >= 02c372e1f016e5113217597ab37b399c4e407477, < b185bdf30313e213fa1c887fe22fc3d513c061d9; >= 02c372e1f016e5113217597ab37b399c4e407477, < 2fbfd02bdfe12b20bd3cc7a3190fb32e3f7072f5; >= 02c372e1f016e5113217597…
Fixed in: Linux 089d9c45ea49ffffe55a8fe08d0ce2536626e90a, Linux 2fbfd02bdfe12b20bd3cc7a3190fb32e3f7072f5, Linux 6.6.158

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

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

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

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

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

Linux \>= ab69bf6f8970c09d3735c25094e9471d54365282, \< 089d9c45ea49ffffe55a8fe08d0ce2536626e90a; \>= 02c372e1f016e5113217597ab37b399c4e407477, \< b185bdf30313e213fa1c887fe22fc3d513c061d9; \>= 02c372e1f016e5113217597ab37b399c4e407477, \< 2fbfd02bdfe12b20bd3cc7a3190fb32e3f7072f5; \>= 02c372e1f016e5113217597ab37b399c4e407477, \< b7b94923b3b5774d85a2a7c8d6eb9e3e0ef66685; \>= 02c372e1f016e5113217597ab37b399c4e407477, \< a8813a923f9e43f788b357fb55c35f7f6ed6f98c; \>= 6.6.130, \< 6.6.158; Linux 6.7.

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

Yes. Fixed in Linux 089d9c45ea49ffffe55a8fe08d0ce2536626e90a, Linux 2fbfd02bdfe12b20bd3cc7a3190fb32e3f7072f5, Linux 6.6.158. Upgrade Linux to 6.6.158 or later.

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

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/089d9c45ea49ffffe55a8fe08d0ce2536626e90a>
- patch: <https://git.kernel.org/stable/c/b185bdf30313e213fa1c887fe22fc3d513c061d9>
- patch: <https://git.kernel.org/stable/c/2fbfd02bdfe12b20bd3cc7a3190fb32e3f7072f5>
- patch: <https://git.kernel.org/stable/c/b7b94923b3b5774d85a2a7c8d6eb9e3e0ef66685>
- patch: <https://git.kernel.org/stable/c/a8813a923f9e43f788b357fb55c35f7f6ed6f98c>

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

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