CVE-2026-93798

btrfs: fix reloc root cleanup in merge_reloc_roots()

  • High 7.8

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix reloc root cleanup in merge_reloc_roots() If the root we got has zero root refs in its root item, we are resetting the root's ->reloc_root without using barriers like we do everywhere else. Sashiko complained about this while reviewing another patch, and it's correct (see the Link tag below). Also, we should not clear BTRFS_ROOT_DEAD_RELOC_TREE from the root unless the root points to the reloc root we have. Fix this by using clear_reloc_root(), which issues the memory barrier after setting the root's ->reloc_root to NULL and before clearing the bit BTRFS_ROOT_DEAD_RELOC_TREE from the root.

Key facts

Published
24 Sep 2026
Last changed
3 Oct 2026
Assigned by
Linux
EPSS
0.129% likely to be exploited in the next 30 days, higher than 2.625% 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.8CVSS 3.1, Highfrom the CNA (Linux)CVSS:3.1/AV:L/AC:L/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
  • 1dae7e0e58b484eaa43d530f211098fdeeb0f404 up to but excluding 29531470b1bf1e8bd2df4941fe913106edbca615 (affected)
  • 1dae7e0e58b484eaa43d530f211098fdeeb0f404 up to but excluding 415f8665a969d3c906e4fd7c90fcbb4b357886f6 (affected)
  • 1dae7e0e58b484eaa43d530f211098fdeeb0f404 up to but excluding ee695a968aa73b1e67ccbf2133dc0e54381d32b2 (affected)
  • 1dae7e0e58b484eaa43d530f211098fdeeb0f404 up to but excluding 0bc25f0a2d1b3e0a691431c4d7aef36afcd527c5 (affected)
  • 1dae7e0e58b484eaa43d530f211098fdeeb0f404 up to but excluding ab48583aa9948205ff9a6470e23dbff74c565e24 (affected)
  • 1dae7e0e58b484eaa43d530f211098fdeeb0f404 up to but excluding 63d6b1f04cd91c825329712aa526215ffa5d11ca (affected)
  • 1dae7e0e58b484eaa43d530f211098fdeeb0f404 up to but excluding b78fe9563e2d5ae47805f1e5dc722c91fd30e1f8 (affected)
  • ee08663380ffd5a45a1c87580fbc305e8413c235 (affected)
  • 33823378ff2b510fd7b566f25bb18438aeb9b23b (affected)
  • 5.4.54 up to but excluding 5.5 (affected)
  • 5.7.11 up to but excluding 5.8 (affected)
LinuxLinux
  • Default status: affected
  • 5.8 (affected)
  • 0 up to but excluding 5.8 (unaffected)
  • 5.10.271 up to and including 5.10.* (unaffected)
  • 5.15.222 up to and including 5.15.* (unaffected)
  • 6.1.189 up to and including 6.1.* (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 up to and including * (unaffected)

Timeline

  1. 24 Sep 2026 Published

References