btrfs: abort transaction on unexpected eb generation at btrfs_copy_root()
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.1.149, 6.12.44, 6.16.4, 6.6.103
- CVEs
- CVE-2025-39800
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 15:55 UTC · Revision 1
Source evidence
btrfs: abort transaction on unexpected eb generation at btrfs_copy_root()
core-osv · Original sourcePublished 15 Sept 2025, 12:36 UTC
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.
osv:CVE-2025-39800
Kernel
Fixed versions: 6.1.149, 6.6.103, 6.12.44, 6.16.4
Complete source record
{
"id": "36fdf3155567e637014e6ff7ee22e4568898c5b68bf8fd80de0564b720a7db1a",
"url": "https://osv.dev/vulnerability/CVE-2025-39800",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "btrfs: abort transaction on unexpected eb generation at btrfs_copy_root()",
"summary": "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.",
"evidence": "osv:CVE-2025-39800",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.1.149",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.103",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.44",
"evidence": "/affected/1/ranges"
},
{
"value": "6.16.4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2025-39800",
"aliases": [
"CVE-2025-39800"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "be20aa9dbadc8c06283784ee12bbc0d97dea3418"
},
{
"fixed": "4290e34fb87ae556b12c216efd0ae91583446b7a"
},
{
"fixed": "4734255ef39b416864139dcda96a387fe5f33a6a"
},
{
"fixed": "da2124719f386b6e5d4d4b1a2e67c440e4d5892f"
},
{
"fixed": "f4f5bd9251a4cbe55aaa05725c6c3c32ad1f74b3"
},
{
"fixed": "33e8f24b52d2796b8cfb28c19a1a7dd6476323a8"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39800.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.6.29"
},
{
"fixed": "6.1.149"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.103"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.44"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.16.4"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39800.json"
}
}
],
"modified": "2026-10-28T02:30:36.829463626Z",
"provider": "osv",
"references": [
"https://cert-portal.siemens.com/productcert/html/ssa-032379.html",
"https://git.kernel.org/stable/c/33e8f24b52d2796b8cfb28c19a1a7dd6476323a8",
"https://git.kernel.org/stable/c/4290e34fb87ae556b12c216efd0ae91583446b7a",
"https://git.kernel.org/stable/c/4734255ef39b416864139dcda96a387fe5f33a6a",
"https://git.kernel.org/stable/c/da2124719f386b6e5d4d4b1a2e67c440e4d5892f",
"https://git.kernel.org/stable/c/f4f5bd9251a4cbe55aaa05725c6c3c32ad1f74b3",
"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39800.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-39800",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39800.json"
}
},
"related_cves": [
{
"value": "CVE-2025-39800",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 504350,
"published_at": "2025-09-15T12:36:43.043+00:00"
}