btrfs: abort transaction on unexpected eb generation at btrfs_copy_root()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s btrfs_copy_root() only warns when the extent buffer being cloned has an unexpected generation. It can then persist metadata with that unexpected generation. The input does not specify how an attacker could trigger this, or any access or user-interaction requirements.
Engineers running Linux kernels with btrfs should check their versions; affected versions were not provided.