VDB

CVE-2026-98245

CVE-2026-98245 PUBLISHED

btrfs: take commit root semaphore when iterating in mark_block_group_to_copy()

Reported by linux · Published October 6, 2026

In the Linux kernel, the following vulnerability has been resolved: btrfs: take commit root semaphore when iterating in mark_block_group_to_copy() mark_block_group_to_copy() iterates over the commit root with skip_locking=true. A concurrent transaction commit can swap and free the commit root during iteration, causing use-after-free when accessing extent buffers. Fix it by using path->need_commit_sem to protect the commit root search.

EPSS 0.17% · 6.7th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
microvm-kernel6.18Amazon Linux1:6.18.54-121.166.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.113-138.209.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.54-121.166.amzn2023
kernel-livepatch-6.12.113-138.209Amazon Linux1:1.0-0.amzn2023
python3-perf6.18Amazon Linux1:6.18.54-121.166.amzn2023
perf6.18Amazon Linux1:6.18.54-121.166.amzn2023
bpftool6.12Amazon Linux1:6.12.113-138.209.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.54-121.166.amzn2023
bpftool6.18Amazon Linux1:6.18.54-121.166.amzn2023
kernel6.12-headersAmazon Linux1:6.12.113-138.209.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.54-121.166.amzn2023
perf6.12Amazon Linux1:6.12.113-138.209.amzn2023

1 more packages have a fixed version. See every fix in Lookup.

Risk scores

EPSS Score
0.17%
6.7th percentile

Affected products

VendorProductVersions
LinuxLinux78ce9fc269af6e69c1399ab910ba6bc81c934f67, 78ce9fc269af6e69c1399ab910ba6bc81c934f67, 78ce9fc269af6e69c1399ab910ba6bc81c934f67
LinuxLinux5.12, 0, 5.15.224
amazon:2023microvm-kernel6.180
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel-livepatch-6.12.113-138.2090
amazon:2023python3-perf6.180
amazon:2023perf6.180
amazon:2023bpftool6.120
amazon:2023kernel6.18-tools0
amazon:2023bpftool6.180
amazon:2023kernel6.12-headers0
amazon:2023kernel6.18-modules-extra0
amazon:2023perf6.120
LinuxLinux5.15.224, 0, 5.12
amazon:2023kernel6.12-modules-extra0
amazon:2023python3-perf6.120
linuxlinux_kernel5.12, 5.12, 5.12
amazon:2023kernel6.12-tools0
amazon:2023kernel6.18-modules-extra-common0

…and 7 more

Timeline

  • Oct 6, 2026 EPSS Score (9 in total, the first dated here)
  • Oct 6, 2026 Coalition ESS Score
  • Oct 6, 2026 CVE Published
  • Oct 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98245
vulnetix vdb fixes CVE-2026-98245

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-98245/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 ›