Linux
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= be20aa9dbadc8c06283784ee12bbc0d97dea3418, < 4290e34fb87ae556b12c216efd0ae91583446b7a
- >= be20aa9dbadc8c06283784ee12bbc0d97dea3418, < 4734255ef39b416864139dcda96a387fe5f33a6a
- >= be20aa9dbadc8c06283784ee12bbc0d97dea3418, < da2124719f386b6e5d4d4b1a2e67c440e4d5892f
- >= be20aa9dbadc8c06283784ee12bbc0d97dea3418, < f4f5bd9251a4cbe55aaa05725c6c3c32ad1f74b3
- >= be20aa9dbadc8c06283784ee12bbc0d97dea3418, < 33e8f24b52d2796b8cfb28c19a1a7dd6476323a8
Fixed in 4290e34fb87ae556b12c216efd0ae91583446b7a, 4734255ef39b416864139dcda96a387fe5f33a6a, da2124719f386b6e5d4d4b1a2e67c440e4d5892f, f4f5bd9251a4cbe55aaa05725c6c3c32ad1f74b3, 33e8f24b52d2796b8cfb28c19a1a7dd6476323a8
- 2.6.29
Fixed in 0, 6.1.149, 6.6.103, 6.12.44, 6.16.4, 6.17
Mitigation
Upgrade Linux to 4290e34fb87ae556b12c216efd0ae91583446b7a or 4734255ef39b416864139dcda96a387fe5f33a6a or da2124719f386b6e5d4d4b1a2e67c440e4d5892f or f4f5bd9251a4cbe55aaa05725c6c3c32ad1f74b3 or 33e8f24b52d2796b8cfb28c19a1a7dd6476323a8 or later.
Upgrade Linux to 0 or 6.1.149 or 6.6.103 or 6.12.44 or 6.16.4 or 6.17 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.