btrfs: fix transaction use-after-free in raid stripe insertion
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 6.6.130 to before 6.6.158 | 6.6.158 | Patch available | CNA |
| Linux | Linux | 6.7 and later | 6.6.158, 6.12.111, 6.18.53, 7.2.7, 7.3 | Patch available | CNA |
Remediation
- Fix · CNA Linux (Linux) Fixed in 6.6.158
- Fix · CNA Linux (Linux) Fixed in 6.6.158, 6.12.111, 6.18.53, 7.2.7, 7.3
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
Not affected: 6 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
Timeline
- 2026-10-02 Threatist record created from CVE-2026-98083
- 2026-10-03 Alias added: GHSA-fmp8-q8mq-wm2x
- 2026-10-03 Fix available: Linux/Linux@089d9c45ea49ffffe55a8fe08d0ce2536626e90a, Linux/[email protected] · CNA
- 2026-10-03 1 new reference · CNA
- 2026-10-06 Weakness changed · NVD
- 2026-10-19 Fix available: Linux/[email protected] · CNA
- 2026-10-23 Affected versions changed · Red Hat
- 2026-10-23 CVSS score added · Red Hat
- 2026-11-06 Affected versions changed · Red Hat
References
Patch 5
- https://git.kernel.org/stable/c/089d9c45ea49ffffe55a8fe08d0ce2536626e90a
- https://git.kernel.org/stable/c/b185bdf30313e213fa1c887fe22fc3d513c061d9
- https://git.kernel.org/stable/c/2fbfd02bdfe12b20bd3cc7a3190fb32e3f7072f5
- https://git.kernel.org/stable/c/b7b94923b3b5774d85a2a7c8d6eb9e3e0ef66685
- https://git.kernel.org/stable/c/a8813a923f9e43f788b357fb55c35f7f6ed6f98c
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2026-98083 · CVE Program
- CVE-2026-98083 · NVD
- FIRST EPSS
- GHSA-fmp8-q8mq-wm2x · GitHub Advisory Database · CC BY 4.0
- CVE-2026-98083 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences