---
id: CVE-2026-98083
title: |-
  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 transact…
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 transact…
severity: high
cvss: 7
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-416
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 6.6.130, < 6.6.158'
  - 'linux_kernel >= 6.7, < 6.12.111'
  - 'linux_kernel >= 6.13, < 6.18.53'
  - 'linux_kernel >= 6.19, < 7.2.7'
  - linux_kernel = 7.3
patched:
  - linux_kernel 7.2.7
published: '2026-09-25'
updated: '2026-10-06'
sourceUpdated: '2026-10-06T14:44:14.390'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-98083'
references:
  - url: 'https://git.kernel.org/stable/c/089d9c45ea49ffffe55a8fe08d0ce2536626e90a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/2fbfd02bdfe12b20bd3cc7a3190fb32e3f7072f5'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a8813a923f9e43f788b357fb55c35f7f6ed6f98c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b185bdf30313e213fa1c887fe22fc3d513c061d9'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b7b94923b3b5774d85a2a7c8d6eb9e3e0ef66685'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98083.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-98083'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2541093'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-98083'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-98083'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-98083.mbox
  - url: 'https://kernelcve.org/list/?q=CVE-2026-98083'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
  - score-dispute
epss: 0.00118
epssPercentile: 0.01706
ingestedAt: '2026-09-25T11:06:38.836Z'
scores:
  nvd: 7
  vendor: 4.7
---

## Overview

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

- `linux_kernel >= 6.6.130, < 6.6.158`
- `linux_kernel >= 6.7, < 6.12.111`
- `linux_kernel >= 6.13, < 6.18.53`
- `linux_kernel >= 6.19, < 7.2.7`
- `linux_kernel = 7.3`

## Remediation

Upgrade past the affected range:

- `linux_kernel 7.2.7`

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10 · no fix planned: Red Hat Enterprise Linux 10 · updated 2026-10-23 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98083.json)
