btrfs: replace BUG_ON() with error handling at update_ref_for_cow()
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: replace BUG_ON() with error handling at update_ref_for_cow()
Instead of a BUG_ON() just return an error, log an error message and abort the transaction in case we find an extent buffer belonging to the relocation tree that doesn't have the full backref flag set. This is unexpected and should never happen (save for bugs or a potential bad memory).
From the CVE record · Linux
The Linux kernel’s btrfs code can hit a BUG_ON() when a relocation-tree extent buffer unexpectedly lacks the full backref flag, potentially crashing the kernel. The input does not specify how an attacker could trigger this condition or whether access or user interaction is required.
Engineers running Linux systems that use btrfs should check their kernel versions; affected versions are not specified.