Skip to content
Not rated

CVE-2024-35936 In the Linux kernel, the following vulnerability has been resolved: btrfs: handle chunk tree lookup error in…

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: handle chunk tree lookup error in btrfs_relocate_sys_chunks() The unhandled case in btrfs_relocate_sys_chunks() loop is a corruption, as it could be caused only by two impossible conditions: - at first the search key is set up to look for a chunk tree item, with offset -1, this is an inexact search and the key->offset will contain the correct offset upon a successful search, a valid chunk tree item cannot have an offset -1 - after first successful search, the found_key corresponds to a chunk item, the offset is decremented by 1 before the next loop, it's impossible to find a chunk item there due to alignment and size constraints

Affected products and versions

Product Affected versions Fixed in
Linux 6.9 earliest → < 6.9 6.9
Linux 6.8 earliest → < 6.8.6 6.8.6
Linux 6.6 earliest → < 6.6.27 6.6.27
Linux 6.1 earliest → < 6.1.86 6.1.86
Linux 5.15 earliest → < 5.15.155 5.15.155
Linux 5.10 earliest → < 5.10.215 5.10.215
Linux 5.4 earliest → < 5.4.274 5.4.274
Linux 4.19 earliest → < 4.19.312 4.19.312
Linux 2.6.29 No fix stated
Show the other branch
Product Affected versions Fixed in
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 1.1 earliest → < 1.1.1 1.1.1
The 18286 CVEs of Linux →
Track this CVE