CVE-2023-52569
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
02/03/2024
Last modified:
19/06/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
btrfs: remove BUG() after failure to insert delayed dir index item<br />
<br />
Instead of calling BUG() when we fail to insert a delayed dir index item<br />
into the delayed node&#39;s tree, we can just release all the resources we<br />
have allocated/acquired before and return the error to the caller. This is<br />
fine because all existing call chains undo anything they have done before<br />
calling btrfs_insert_delayed_dir_index() or BUG_ON (when creating pending<br />
snapshots in the transaction commit path).<br />
<br />
So remove the BUG() call and do proper error handling.<br />
<br />
This relates to a syzbot report linked below, but does not fix it because<br />
it only prevents hitting a BUG(), it does not fix the issue where somehow<br />
we attempt to use twice the same index number for different index items.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
CPE | From | Up to |
---|---|---|
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.1.56 (excluding) | |
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (including) | 6.5.6 (excluding) |
cpe:2.3:o:linux:linux_kernel:6.6:rc1:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/2c58c3931ede7cd08cbecf1f1a4acaf0a04a41a9
- https://git.kernel.org/stable/c/d10fd53393cc5de4b9cf1a4b8f9984f0a037aa51
- https://git.kernel.org/stable/c/2c58c3931ede7cd08cbecf1f1a4acaf0a04a41a9
- https://git.kernel.org/stable/c/39c4a9522db0072570d602e9b365119e17fb9f4f
- https://git.kernel.org/stable/c/d10fd53393cc5de4b9cf1a4b8f9984f0a037aa51