CVE-2026-98083

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

  • High 7.0

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.

Key facts

Published
25 Sep 2026
Last changed
19 Oct 2026
Assigned by
Linux
EPSS
0.118% likely to be exploited in the next 30 days, higher than 1.756% of CVEs (scores for 17 Nov 2026)

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 7.0CVSS 3.1, Highfrom the CNA (Linux)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • ab69bf6f8970c09d3735c25094e9471d54365282 up to but excluding 089d9c45ea49ffffe55a8fe08d0ce2536626e90a (affected)
  • 02c372e1f016e5113217597ab37b399c4e407477 up to but excluding b185bdf30313e213fa1c887fe22fc3d513c061d9 (affected)
  • 02c372e1f016e5113217597ab37b399c4e407477 up to but excluding 2fbfd02bdfe12b20bd3cc7a3190fb32e3f7072f5 (affected)
  • 02c372e1f016e5113217597ab37b399c4e407477 up to but excluding b7b94923b3b5774d85a2a7c8d6eb9e3e0ef66685 (affected)
  • 02c372e1f016e5113217597ab37b399c4e407477 up to but excluding a8813a923f9e43f788b357fb55c35f7f6ed6f98c (affected)
  • 6.6.130 up to but excluding 6.6.158 (affected)
LinuxLinux
  • Default status: affected
  • 6.7 (affected)
  • 0 up to but excluding 6.7 (unaffected)
  • 6.6.158 up to and including 6.6.* (unaffected)
  • 6.12.111 up to and including 6.12.* (unaffected)
  • 6.18.53 up to and including 6.18.* (unaffected)
  • 7.2.7 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 25 Sep 2026 Published

References