CVE-2026-68442
btrfs: don't propagate EXTENT_FLAG_LOGGING to split extent maps
Reported by linux · Published August 12, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| bpftool6.12 | Amazon Linux | 1:6.12.103-127.188.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.103-127.188.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.103-127.188.amzn2023 |
| kernel6.12-tools | Amazon Linux | 1:6.12.103-127.188.amzn2023 |
| kernel-livepatch-6.12.103-127.188 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.103-127.188.amzn2023 |
| kernel6.18-headers | Amazon Linux | 1:6.18.44-99.149.amzn2023 |
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.44-99.149.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | f86f7a75e2fb5fd7d31d00eab8a392f97ba42ce9, f86f7a75e2fb5fd7d31d00eab8a392f97ba42ce9, f86f7a75e2fb5fd7d31d00eab8a392f97ba42ce9 |
| Linux | Linux | 6.8, 0, 6.12.101 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel-livepatch-6.12.103-127.188 | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| linux | linux_kernel | 6.8, 6.8, 6.8 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.18.44-99.149 | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
…and 7 more
Timeline
- Aug 12, 2026 Coalition ESS Score
- Aug 12, 2026 CVE Published
- Aug 14, 2026 Security Advisory
- Aug 24, 2026 EPSS Score (7 in total, the first dated here)
- Oct 19, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-68442
vulnetix vdb fixes CVE-2026-68442
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-68442/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart