CVE-2026-98245
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| microvm-kernel6.18 | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel-livepatch-6.12.113-138.209 | Amazon Linux | 1:1.0-0.amzn2023 |
| python3-perf6.18 | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| kernel6.18-tools | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| bpftool6.18 | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
1 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 78ce9fc269af6e69c1399ab910ba6bc81c934f67, 78ce9fc269af6e69c1399ab910ba6bc81c934f67, 78ce9fc269af6e69c1399ab910ba6bc81c934f67 |
| Linux | Linux | 5.12, 0, 5.15.224 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel-livepatch-6.12.113-138.209 | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | perf6.12 | 0 |
| Linux | Linux | 5.15.224, 0, 5.12 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| linux | linux_kernel | 5.12, 5.12, 5.12 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
…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