All reports
Medium

kernel: Linux kernel (btrfs): Denial of Service due to unexpected metadata generation

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-39800

Probability of exploitation in the next 30 days: 0.16%

FIRST EPSS · 2026-11-21

Description

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.

A flaw was found in the Linux kernel's btrfs filesystem. A local user could exploit this vulnerability when the system processes an unexpected generation for an extent buffer during a root copy operation. Instead of properly stopping the transaction, the system allows corrupted metadata to persist. This issue can lead to a denial of service (DoS), making the system or data unavailable.