CVE-2024-35936: btrfs: handle chunk tree lookup error in btrfs_relocate_sys_chunks()

Published May 19, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

btrfs: handle chunk tree lookup error in btrfsrelocatesyschunks()

The unhandled case in btrfsrelocatesyschunks() 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 foundkey 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 Software

9 affected componentsFixes available
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
Linux Linux kernel<4.19.312
Linux Linux kernel>=4.20<5.4.274
Linux Linux kernel>=5.5<5.10.215
Linux Linux kernel>=5.11<5.15.155
Linux Linux kernel>=5.16<6.1.86
Linux Linux kernel>=6.2<6.6.27
Linux Linux kernel>=6.7<6.8.6
Debian Debian Linux=10.0

Event History

May 19, 2024
CVE Published
via MITRE·10:10 AM
Data Sourced
via MITRE·10:10 AM
Description
Data Sourced
via NVD·11:15 AM
Description
Data Sourced
via NVD·11:15 AM
RemedySeverityAffected Software
Jul 11, 2024
Data Sourced
via Launchpad·07:47 PM
Description
Apr 27, 2025
Data Sourced
via Ubuntu·12:23 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-35936?

CVE-2024-35936 has a high severity rating due to the potential for data corruption.

2

How do I fix CVE-2024-35936?

To fix CVE-2024-35936, update your Linux kernel to the latest version that is not affected.

3

Which Linux kernel versions are affected by CVE-2024-35936?

CVE-2024-35936 affects specific versions of the Linux kernel including 5.10.223-1, 5.10.226-1, 6.1.119-1, 6.1.123-1, 6.12.10-1, and 6.12.11-1.

4

What type of vulnerability is CVE-2024-35936?

CVE-2024-35936 is a vulnerability related to an unhandled error in the btrfs filesystem handling in the Linux kernel.

5

Who is responsible for mitigating CVE-2024-35936?

System administrators and users of affected Linux kernel versions are responsible for mitigating CVE-2024-35936.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203