linux: In the Linux kernel, the following vulnerability has been resolved: btrfs: fix abort logic in btrfs_replace_file_ext...
CVE-2021-47433 is fixed in linux on 1 platform, first by DEBIAN-CVE-2021-47433, released May 22, 2024. It is not reported as exploited. Patch Radar priority: Routine.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| linux · Debian 12.15 (bookworm) | 5.14.16-1 | DEBIAN-CVE-2021-47433 | May 22, 2024 |
| linux · Debian 13.5 (trixie) | 5.14.16-1 | DEBIAN-CVE-2021-47433 | May 22, 2024 |
| linux · Debian 14 | 5.14.16-1 | DEBIAN-CVE-2021-47433 | May 22, 2024 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.