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
History

Tue, 05 Nov 2024 10:45:00 +0000


Tue, 01 Oct 2024 02:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-460

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2024-05-19T10:10:42.967Z

Updated: 2024-11-05T09:25:20.075Z

Reserved: 2024-05-17T13:50:33.130Z

Link: CVE-2024-35936

cve-icon Vulnrichment

Updated: 2024-08-02T03:21:49.118Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-05-19T11:15:49.480

Modified: 2024-11-05T10:16:54.840

Link: CVE-2024-35936

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-05-19T00:00:00Z

Links: CVE-2024-35936 - Bugzilla