Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
PendingCVE-2026-139430

btrfs: fix lost error return value in btrfs_alloc_logged_file_extent()

Published 30/11/2026 · Updated 30/11/2026 · Linux

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix lost error return value in btrfs_alloc_logged_file_extent() If we fail to allocate a reserved file extent we then call btrfs_record_squota_delta() and assign its return value to 'ret', discarding the error from the failed allocation attempt and allowing log replay to proceed as if no errors happened, resulting in some replayed file extent item to point to an unallocated extent. At the moment btrfs_record_squota_delta() always returns 0 (success).

Affected products and versions

Linux Linuxcecbb533b5fcec4ff77e786b7f94457f6cacd9e7 – < 07fdd2be199d565d9551b675f06849e3f063a900 · cecbb533b5fcec4ff77e786b7f94457f6cacd9e7 – < 8a38209f9ebe9ec229b25c5db58a89c188554426 · cecbb533b5fcec4ff77e786b7f94457f6cacd9e7 – < 2efc6bf370d9eea053528af1c51d898964d3bc84 · cecbb533b5fcec4ff77e786b7f94457f6cacd9e7 – < 784cd5a83476c6c720521f21350fb823928555ffFixed in: 07fdd2be199d565d9551b675f06849e3f063a900 · 8a38209f9ebe9ec229b25c5db58a89c188554426 · 2efc6bf370d9eea053528af1c51d898964d3bc84 · 784cd5a83476c6c720521f21350fb823928555ff
Linux Linux6.7Fixed in: 6.12.119 · 6.18.65 · 7.3.6 · 7.4-rc1

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.