CVE-2025-39800
btrfs: abort transaction on unexpected eb generation at btrfs_copy_root()
Reported by linux · Published September 15, 2025
In the Linux kernel, the following vulnerability has been resolved: btrfs: abort transaction on unexpected eb generation at btrfs_copy_root() If we find an unexpected generation for the extent buffer we are cloning at btrfs_copy_root(), we just WARN_ON() and don't error out and abort the transaction, meaning we allow to persist metadata with an unexpected generation. Instead of warning only, abort the transaction and return -EUCLEAN.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-modules-extra | Amazon Linux | 1:6.1.150-174.273.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.46-66.121.amzn2023 |
| kernel-tools-devel | Amazon Linux | 1:6.1.150-174.273.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 1:6.1.150-174.273.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.46-66.121.amzn2023 |
| bpftool | Amazon Linux | 1:6.1.150-174.273.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.46-66.121.amzn2023 |
| kernel6.12-libbpf-static | Amazon Linux | 1:6.12.46-66.121.amzn2023 |
| kernel | Amazon Linux | 1:6.1.150-174.273.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.46-66.121.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.46-66.121.amzn2023 |
| kernel6.12-libbpf-devel | Amazon Linux | 1:6.12.46-66.121.amzn2023 |
1 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | be20aa9dbadc8c06283784ee12bbc0d97dea3418, be20aa9dbadc8c06283784ee12bbc0d97dea3418, be20aa9dbadc8c06283784ee12bbc0d97dea3418 |
| Linux | Linux | 2.6.29, 0, 6.1.149 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| linux | linux_kernel | 2.6.29, 2.6.29, 2.6.29 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
…and 13 more
Timeline
- Sep 15, 2025 CVE Published
- Sep 16, 2025 EPSS Score (30 in total, the first dated here)
- Oct 12, 2025 PoC Published (15 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (96 in total, the first dated here)
- Mar 29, 2026 Security Advisory (119 in total, the first dated here)
- Jun 8, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-39800
vulnetix vdb fixes CVE-2025-39800
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-2025-39800/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart