CVE-2026-93798

btrfs: fix reloc root cleanup in merge_reloc_roots()

7.8 high EPSS 0.18%

Published 24 Sep 2026 Updated 3 Oct 2026 CNA: Linux

Check your servers for CVE-2026-93798

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-93798 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 4.24% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 1dae7e0e58b484eaa43d530f211098fdeeb0f404, before 29531470b1bf1e8bd2df4941fe913106edbca615
affected from 1dae7e0e58b484eaa43d530f211098fdeeb0f404, before 415f8665a969d3c906e4fd7c90fcbb4b357886f6
affected from 1dae7e0e58b484eaa43d530f211098fdeeb0f404, before ee695a968aa73b1e67ccbf2133dc0e54381d32b2
affected from 1dae7e0e58b484eaa43d530f211098fdeeb0f404, before 0bc25f0a2d1b3e0a691431c4d7aef36afcd527c5
affected from 1dae7e0e58b484eaa43d530f211098fdeeb0f404, before ab48583aa9948205ff9a6470e23dbff74c565e24
affected from 1dae7e0e58b484eaa43d530f211098fdeeb0f404, before 63d6b1f04cd91c825329712aa526215ffa5d11ca
affected from 1dae7e0e58b484eaa43d530f211098fdeeb0f404, before b78fe9563e2d5ae47805f1e5dc722c91fd30e1f8
affected ee08663380ffd5a45a1c87580fbc305e8413c235
affected 33823378ff2b510fd7b566f25bb18438aeb9b23b
affected from 5.4.54, before 5.5
affected from 5.7.11, before 5.8
Other versions: unaffected
Linux
affected 5.8
unaffected before 5.8
unaffected from 5.10.271 up to and including 5.10.*
unaffected from 5.15.222 up to and including 5.15.*
unaffected from 6.1.189 up to and including 6.1.*
unaffected from 6.6.158 up to and including 6.6.*
unaffected from 6.12.111 up to and including 6.12.*
unaffected from 6.18.53 up to and including 6.18.*
unaffected 7.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-93798 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-93798

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-93798
trivy image --scanners vuln IMAGE | grep CVE-2026-93798

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-93798 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.