VDB

CVE-2026-68442

CVE-2026-68442 PUBLISHED CVSS 7.8 HIGH

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.

PackageEcosystemFixed in
bpftool6.12Amazon Linux1:6.12.103-127.188.amzn2023
kernel6.12-headersAmazon Linux1:6.12.103-127.188.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.103-127.188.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.103-127.188.amzn2023
kernel-livepatch-6.12.103-127.188Amazon Linux1:1.0-0.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.103-127.188.amzn2023
kernel6.18-headersAmazon Linux1:6.18.44-99.149.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.44-99.149.amzn2023

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxf86f7a75e2fb5fd7d31d00eab8a392f97ba42ce9, f86f7a75e2fb5fd7d31d00eab8a392f97ba42ce9, f86f7a75e2fb5fd7d31d00eab8a392f97ba42ce9
LinuxLinux6.8, 0, 6.12.101
amazon:2023bpftool6.120
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.12-tools0
amazon:2023kernel-livepatch-6.12.103-127.1880
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.18-headers0
amazon:2023kernel6.18-modules-extra-common0
linuxlinux_kernel6.8, 6.8, 6.8
amazon:2023kernel6.12-devel0
amazon:2023perf6.180
amazon:2023perf6.120
amazon:2023kernel6.12-modules-extra-common0
amazon:2023bpftool6.180
amazon:2023kernel-livepatch-6.18.44-99.1490
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.180
amazon:2023python3-perf6.120

…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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›