# CVE-2026-74571: btrfs: skip global block reserve accounting for rescue mounts

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-08-15T12:28:10.711Z
- **Modified:** 2026-10-30T13:20:02.770Z

## Who should check

- Anyone running Linux \>= cbec34d3021d47007a0334c634f7053dbaf93d02, \< aa72cc4675240ab6b01ec72ac6a1fe832e715569; \>= 8dbfc14fc736eb701089aff09645c3d4ad3decb1, \< ca05d9abde2195cec3d07d0d4d65152d8171078f; \>= 8dbfc14fc736eb701089aff09645c3d4ad3decb1, \< 3a69fae2371a5ee190d4c4bbe5304a753558c1c6; \>= 8dbfc14fc736eb701089aff09645c3d4ad3decb1, \< 969a96479add6bd42d7f7241f99f27b31571a953; \>= 8dbfc14fc736eb701089aff09645c3d4ad3decb1, \< 076349e4c8d11f6b58c4549976a513b2b4dc6df2; \>= 8dbfc14fc736eb701089aff09645c3d4ad3decb1, \< 51a0e8399858621442807a26057bcd1cd3ced046; 1e8087589b5cf6fa17adaf57b64cf1656d77dfec; \>= 6.1.43, \< 6.1.191; \>= 6.4.8, \< 6.5
- Anyone running Linux 6.5

## Description

In the Linux kernel, the following vulnerability has been resolved:

btrfs: skip global block reserve accounting for rescue mounts

\[BUG\]
Mounting with rescue=ibadroots after corrupting the block group tree
root triggers a NULL pointer dereference:

  BUG: kernel NULL pointer dereference, address: 0000000000000100
  RIP: 0010:btrfs\_update\_global\_block\_rsv+0x9d/0x1c0 \[btrfs\]
  Call Trace:
   fill\_dummy\_bgs+0xd4/0x120 \[btrfs\]
   open\_ctree+0xc6e/0x1ca0 \[btrfs\]
   btrfs\_get\_tree+0x50d/0xa40 \[btrfs\]

The same crash occurs with a corrupted raid stripe tree root, via
btrfs\_read\_block\_groups() instead of fill\_dummy\_bgs().

\[CAUSE\]
With rescue=ibadroots, btrfs\_read\_roots() allows the mount to continue
when either root cannot be read, leaving the corresponding root pointer
NULL while its on-disk feature bit remains set.

btrfs\_update\_global\_block\_rsv() then dereferences the missing root based
on the feature bit alone.

\[FIX\]
Rescue mounts are fully read-only and cannot start transactions, so the
global reserve is never consumed. Under btrfs\_is\_full\_ro(), mark the
reserve as full and return before performing the accounting.

And since we need to check if the fs is mount fully RO, export
fs\_is\_full\_ro() as btrfs\_is\_full\_ro(), and move it to fs.h.

\[ Squash the fs\_is\_full\_ro() export commit into this one. \]

## Affected and fixed versions

- Linux: \>= cbec34d3021d47007a0334c634f7053dbaf93d02, \< aa72cc4675240ab6b01ec72ac6a1fe832e715569; \>= 8dbfc14fc736eb701089aff09645c3d4ad3decb1, \< ca05d9abde2195cec3d07d0d4d65152d8171078f; \>= 8dbfc14fc736eb701089aff09645c3d4ad3decb1, \< 3a69fae2371a5ee190d4c4bbe5304a753558c1c6; \>= 8dbfc14fc736eb701089aff09645c3d4ad3decb1, \< 969a96479add6bd42d7f7241f99f27b31571a953; \>= 8dbfc14fc736eb701089aff09645c3d4ad3decb1, \< 076349e4c8d11f6b58c4549976a513b2b4dc6df2; \>= 8dbfc14fc736eb701089aff09645c3d4ad3decb1, \< 51a0e8399858621442807a26057bcd1cd3ced046; 1e8087589b5cf6fa17adaf57b64cf1656d77dfec; \>= 6.1.43, \< 6.1.191; \>= 6.4.8, \< 6.5 (cvelist)
- Linux: 6.5 (cvelist)

## Mitigation

- Upgrade Linux to 6.5 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-74571.md
Affected: Linux >= cbec34d3021d47007a0334c634f7053dbaf93d02, < aa72cc4675240ab6b01ec72ac6a1fe832e715569; >= 8dbfc14fc736eb701089aff09645c3d4ad3decb1, < ca05d9abde2195cec3d07d0d4d65152d8171078f; >= 8dbfc14fc736eb701089aff09645c3d4ad3decb1, < 3a69fae2371a5ee190d4c4bbe5304a753558c1c6; >= 8dbfc14fc736eb701089aff…
Fixed in: Linux 3a69fae2371a5ee190d4c4bbe5304a753558c1c6, Linux 969a96479add6bd42d7f7241f99f27b31571a953, Linux 076349e4c8d11f6b58c4549976a513b2b4dc6df2, Linux 51a0e8399858621442807a26057bcd1cd3ced046, Linux 6.1.191, Linux 6.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-74571 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= cbec34d3021d47007a0334c634f7053dbaf93d02, \< aa72cc4675240ab6b01ec72ac6a1fe832e715569; \>= 8dbfc14fc736eb701089aff09645c3d4ad3decb1, \< ca05d9abde2195cec3d07d0d4d65152d8171078f; \>= 8dbfc14fc736eb701089aff09645c3d4ad3decb1, \< 3a69fae2371a5ee190d4c4bbe5304a753558c1c6; \>= 8dbfc14fc736eb701089aff09645c3d4ad3decb1, \< 969a96479add6bd42d7f7241f99f27b31571a953; \>= 8dbfc14fc736eb701089aff09645c3d4ad3decb1, \< 076349e4c8d11f6b58c4549976a513b2b4dc6df2; \>= 8dbfc14fc736eb701089aff09645c3d4ad3decb1, \< 51a0e8399858621442807a26057bcd1cd3ced046; 1e8087589b5cf6fa17adaf57b64cf1656d77dfec; \>= 6.1.43, \< 6.1.191; \>= 6.4.8, \< 6.5; Linux 6.5.

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

Yes. Fixed in Linux 3a69fae2371a5ee190d4c4bbe5304a753558c1c6, Linux 969a96479add6bd42d7f7241f99f27b31571a953, Linux 076349e4c8d11f6b58c4549976a513b2b4dc6df2, Linux 51a0e8399858621442807a26057bcd1cd3ced046, Linux 6.1.191, Linux 6.5. Upgrade Linux to 6.5 or later.

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

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/aa72cc4675240ab6b01ec72ac6a1fe832e715569>
- other: <https://git.kernel.org/stable/c/ca05d9abde2195cec3d07d0d4d65152d8171078f>
- other: <https://git.kernel.org/stable/c/3a69fae2371a5ee190d4c4bbe5304a753558c1c6>
- other: <https://git.kernel.org/stable/c/969a96479add6bd42d7f7241f99f27b31571a953>
- other: <https://git.kernel.org/stable/c/076349e4c8d11f6b58c4549976a513b2b4dc6df2>
- other: <https://git.kernel.org/stable/c/51a0e8399858621442807a26057bcd1cd3ced046>

## 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-74571>

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