# CVE-2026-68442: btrfs: don't propagate EXTENT\_FLAG\_LOGGING to split extent maps

> 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.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-08-12T00:07:31.981Z
- **Modified:** 2026-10-19T22:17:19.330Z

## Who should check

- Anyone running Linux \>= f86f7a75e2fb5fd7d31d00eab8a392f97ba42ce9, \< 2a9246a424f45f33a1b8367052611ebe874868ad; \>= f86f7a75e2fb5fd7d31d00eab8a392f97ba42ce9, \< 9304713b70e7e1450e3a76e758836fe5391bfa95; \>= f86f7a75e2fb5fd7d31d00eab8a392f97ba42ce9, \< 0e465c63f103a5ce6849614d6bda048d70eebec8; \>= f86f7a75e2fb5fd7d31d00eab8a392f97ba42ce9, \< 5eff4d5b17fa1950e80bfd1ba43dc0699e61a644
- Anyone running Linux 6.8

## Description

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

btrfs: don't propagate EXTENT\_FLAG\_LOGGING to split extent maps

When btrfs\_drop\_extent\_map\_range() splits an extent map, the new split
maps inherit the original map's flags through a local 'flags' variable.
Commit f86f7a75e2fb ("btrfs: use the flags of an extent map to identify
the compression type") changed the EXTENT\_FLAG\_LOGGING clearing to
operate on em-\>flags instead of that local 'flags' copy, so a split of
an extent map that is currently being logged wrongly inherits
EXTENT\_FLAG\_LOGGING.

The flag is then never cleared on the split, and when it is freed while
still on the inode's modified\_extents list (for example by the extent
map shrinker) it trips the WARN\_ON(!list\_empty(&em-\>list)) in
btrfs\_free\_extent\_map() and leads to a use-after-free.

Clear EXTENT\_FLAG\_LOGGING from the local 'flags' copy used for the
splits and only clear EXTENT\_FLAG\_PINNED from em-\>flags, restoring the
behaviour prior to f86f7a75e2fb.

## Affected and fixed versions

- Linux: \>= f86f7a75e2fb5fd7d31d00eab8a392f97ba42ce9, \< 2a9246a424f45f33a1b8367052611ebe874868ad; \>= f86f7a75e2fb5fd7d31d00eab8a392f97ba42ce9, \< 9304713b70e7e1450e3a76e758836fe5391bfa95; \>= f86f7a75e2fb5fd7d31d00eab8a392f97ba42ce9, \< 0e465c63f103a5ce6849614d6bda048d70eebec8; \>= f86f7a75e2fb5fd7d31d00eab8a392f97ba42ce9, \< 5eff4d5b17fa1950e80bfd1ba43dc0699e61a644 (cvelist)
- Linux: 6.8 (cvelist)

## Mitigation

- Upgrade Linux to 5eff4d5b17fa1950e80bfd1ba43dc0699e61a644 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-68442. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-68442.md
Affected: Linux >= f86f7a75e2fb5fd7d31d00eab8a392f97ba42ce9, < 2a9246a424f45f33a1b8367052611ebe874868ad; >= f86f7a75e2fb5fd7d31d00eab8a392f97ba42ce9, < 9304713b70e7e1450e3a76e758836fe5391bfa95; >= f86f7a75e2fb5fd7d31d00eab8a392f97ba42ce9, < 0e465c63f103a5ce6849614d6bda048d70eebec8; >= f86f7a75e2fb5fd7d31d00e…
Fixed in: Linux 2a9246a424f45f33a1b8367052611ebe874868ad, Linux 9304713b70e7e1450e3a76e758836fe5391bfa95, Linux 0e465c63f103a5ce6849614d6bda048d70eebec8, Linux 5eff4d5b17fa1950e80bfd1ba43dc0699e61a644

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-68442 being exploited?

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

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

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

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

Linux \>= f86f7a75e2fb5fd7d31d00eab8a392f97ba42ce9, \< 2a9246a424f45f33a1b8367052611ebe874868ad; \>= f86f7a75e2fb5fd7d31d00eab8a392f97ba42ce9, \< 9304713b70e7e1450e3a76e758836fe5391bfa95; \>= f86f7a75e2fb5fd7d31d00eab8a392f97ba42ce9, \< 0e465c63f103a5ce6849614d6bda048d70eebec8; \>= f86f7a75e2fb5fd7d31d00eab8a392f97ba42ce9, \< 5eff4d5b17fa1950e80bfd1ba43dc0699e61a644; Linux 6.8.

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

Yes. Fixed in Linux 2a9246a424f45f33a1b8367052611ebe874868ad, Linux 9304713b70e7e1450e3a76e758836fe5391bfa95, Linux 0e465c63f103a5ce6849614d6bda048d70eebec8, Linux 5eff4d5b17fa1950e80bfd1ba43dc0699e61a644. Upgrade Linux to 5eff4d5b17fa1950e80bfd1ba43dc0699e61a644 or later.

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

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/2a9246a424f45f33a1b8367052611ebe874868ad>
- other: <https://git.kernel.org/stable/c/9304713b70e7e1450e3a76e758836fe5391bfa95>
- other: <https://git.kernel.org/stable/c/0e465c63f103a5ce6849614d6bda048d70eebec8>
- other: <https://git.kernel.org/stable/c/5eff4d5b17fa1950e80bfd1ba43dc0699e61a644>

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

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