CVE Catalog

CVE-2021-47433

HighCVSS 8.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.58%

44th percentile - higher than 44% of all known CVEs

Summary

In the Linux kernel, a flaw in the abort logic of btrfs_replace_file_extents can lead to a corrupt file system with a missing extent in the middle of a file. The incorrect condition may cause an abort when it should not, especially in prealloc code paths.

Risk Assessment

The risk involves potential data integrity issues in the btrfs file system, which could lead to data loss or service unavailability.

Recommendation

It is recommended to update the Linux kernel to a version containing the fix for this vulnerability and to monitor file system error messages.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS