# CVE-2026-93798: btrfs: fix reloc root cleanup in merge\_reloc\_roots()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-09-24T16:02:31.291Z
- **Modified:** 2026-10-03T11:17:49.337Z

## Who should check

- Anyone running Linux \>= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, \< 29531470b1bf1e8bd2df4941fe913106edbca615; \>= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, \< 415f8665a969d3c906e4fd7c90fcbb4b357886f6; \>= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, \< ee695a968aa73b1e67ccbf2133dc0e54381d32b2; \>= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, \< 0bc25f0a2d1b3e0a691431c4d7aef36afcd527c5; \>= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, \< ab48583aa9948205ff9a6470e23dbff74c565e24; \>= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, \< 63d6b1f04cd91c825329712aa526215ffa5d11ca; \>= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, \< b78fe9563e2d5ae47805f1e5dc722c91fd30e1f8; ee08663380ffd5a45a1c87580fbc305e8413c235; 33823378ff2b510fd7b566f25bb18438aeb9b23b; \>= 5.4.54, \< 5.5; …
- Anyone running Linux 5.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.

## Affected and fixed versions

- Linux: \>= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, \< 29531470b1bf1e8bd2df4941fe913106edbca615; \>= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, \< 415f8665a969d3c906e4fd7c90fcbb4b357886f6; \>= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, \< ee695a968aa73b1e67ccbf2133dc0e54381d32b2; \>= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, \< 0bc25f0a2d1b3e0a691431c4d7aef36afcd527c5; \>= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, \< ab48583aa9948205ff9a6470e23dbff74c565e24; \>= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, \< 63d6b1f04cd91c825329712aa526215ffa5d11ca; \>= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, \< b78fe9563e2d5ae47805f1e5dc722c91fd30e1f8; ee08663380ffd5a45a1c87580fbc305e8413c235; 33823378ff2b510fd7b566f25bb18438aeb9b23b; \>= 5.4.54, \< 5.5; … (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-93798. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-93798.md
Affected: Linux >= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, < 29531470b1bf1e8bd2df4941fe913106edbca615; >= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, < 415f8665a969d3c906e4fd7c90fcbb4b357886f6; >= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, < ee695a968aa73b1e67ccbf2133dc0e54381d32b2; >= 1dae7e0e58b484eaa43d530…
Fixed in: Linux 29531470b1bf1e8bd2df4941fe913106edbca615, Linux 415f8665a969d3c906e4fd7c90fcbb4b357886f6, Linux 0bc25f0a2d1b3e0a691431c4d7aef36afcd527c5, Linux 63d6b1f04cd91c825329712aa526215ffa5d11ca, Linux 5.5

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-93798 being exploited?

There is no confirmed exploitation: CVE-2026-93798 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-93798?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-93798?

Linux \>= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, \< 29531470b1bf1e8bd2df4941fe913106edbca615; \>= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, \< 415f8665a969d3c906e4fd7c90fcbb4b357886f6; \>= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, \< ee695a968aa73b1e67ccbf2133dc0e54381d32b2; \>= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, \< 0bc25f0a2d1b3e0a691431c4d7aef36afcd527c5; \>= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, \< ab48583aa9948205ff9a6470e23dbff74c565e24; \>= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, \< 63d6b1f04cd91c825329712aa526215ffa5d11ca; \>= 1dae7e0e58b484eaa43d530f211098fdeeb0f404, \< b78fe9563e2d5ae47805f1e5dc722c91fd30e1f8; ee08663380ffd5a45a1c87580fbc305e8413c235; 33823378ff2b510fd7b566f25bb18438aeb9b23b; \>= 5.4.54, \< 5.5; …; Linux 5.8.

### Is there a fix for CVE-2026-93798?

Yes. Fixed in Linux 29531470b1bf1e8bd2df4941fe913106edbca615, Linux 415f8665a969d3c906e4fd7c90fcbb4b357886f6, Linux 0bc25f0a2d1b3e0a691431c4d7aef36afcd527c5, Linux 63d6b1f04cd91c825329712aa526215ffa5d11ca, Linux 5.5. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-93798?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/29531470b1bf1e8bd2df4941fe913106edbca615>
- other: <https://git.kernel.org/stable/c/415f8665a969d3c906e4fd7c90fcbb4b357886f6>
- other: <https://git.kernel.org/stable/c/ee695a968aa73b1e67ccbf2133dc0e54381d32b2>
- other: <https://git.kernel.org/stable/c/0bc25f0a2d1b3e0a691431c4d7aef36afcd527c5>
- other: <https://git.kernel.org/stable/c/ab48583aa9948205ff9a6470e23dbff74c565e24>
- other: <https://git.kernel.org/stable/c/63d6b1f04cd91c825329712aa526215ffa5d11ca>
- other: <https://git.kernel.org/stable/c/b78fe9563e2d5ae47805f1e5dc722c91fd30e1f8>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-93798>

HTML: <https://flawdb.com/CVE-2026-93798> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-93798>
