CVE-2024-46753Published Sep 18, 2024 · Sep 18Updated Oct 28
btrfs: handle errors from btrfs_dec_ref() properly
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 2c47e605a91dde6b0514f689645e7ab336c8592a · < 5eb178f373b4f16f3b42d55ff88fc94dd95b93b1| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
btrfs: handle errors from btrfs_dec_ref() properly
In walk_up_proc() we BUG_ON(ret) from btrfs_dec_ref(). This is incorrect, we have proper error handling here, return the error.
From the CVE record · Linux
The Linux kernel’s btrfs code calls BUG_ON when btrfs_dec_ref() returns an error during walk_up_proc(), rather than returning the error. This can cause a kernel crash; the input does not specify how an attacker could trigger it or whether access or user interaction is required.
Anyone running Linux with btrfs should check their kernel; affected versions are not specified.