Vulnerability in Linux
CVE-2021-47433
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix abort logic in btrfs_replace_file_extents Error injection testing uncovered a case where we'd end up with a corrupt file system with a missing extent in the middle of a file. This occurs because the if statement to decide if we should abort is wrong. The only way we would abort in this case is if we got a ret != -EOPNOTSUPP and we called from the file clone code. However the prealloc code uses this path too. Instead we need to abort if there is an error, and the only error we _don't_ abort on is -EOPNOTSUPP and only if we came from the clone file code.
EPSS: 0.003 (17.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H.
Affected products
- Linux — versions 8fccebfa534c7984864394fa03608305e4929aae, 5.10, 0
- Linux Linux_kernel — versions 5.15
References
Frequently asked questions
- What is CVE-2021-47433?
- CVE-2021-47433 is a high-severity vulnerability in Linux. CVSS score: 8.1/10. Published 2024-05-22.
- How severe is CVE-2021-47433?
- High severity. CVSS v3 base score is 8.1 out of 10.