CVE-2024-35936
"Btrfs Kernel Chunk Tree Item Offset Validation Vulnerability"
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
INFO
Published Date :
May 19, 2024, 11:15 a.m.
Last Modified :
Nov. 21, 2024, 9:21 a.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
Exploitability Score :
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-35936
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-35936
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-35936
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/0d23b34c68c46cd225b55868bc8a269e3134816d Added Reference https://git.kernel.org/stable/c/1f9212cdbd005bc55f2b7422e7b560d9c02bd1da Added Reference https://git.kernel.org/stable/c/36c2a2863bc3896243eb724dc3fd4cf9aea633f2 Added Reference https://git.kernel.org/stable/c/576164bd01bd795f8b09fb194b493103506b33c9 Added Reference https://git.kernel.org/stable/c/7411055db5ce64f836aaffd422396af0075fdc99 Added Reference https://git.kernel.org/stable/c/87299cdaae757f3f41212146cfb5b3af416b8385 Added Reference https://git.kernel.org/stable/c/bebd9e0ff90034875c5dfe4bd514fd7055fc7a89 Added Reference https://git.kernel.org/stable/c/d1ffa4ae2d591fdd40471074e79954ec45f147f7 Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 05, 2024
Action Type Old Value New Value Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 27, 2024
Action Type Old Value New Value Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 25, 2024
Action Type Old Value New Value Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 29, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 19, 2024
Action Type Old Value New Value Added 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 Added Reference kernel.org https://git.kernel.org/stable/c/bebd9e0ff90034875c5dfe4bd514fd7055fc7a89 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/576164bd01bd795f8b09fb194b493103506b33c9 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/87299cdaae757f3f41212146cfb5b3af416b8385 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/d1ffa4ae2d591fdd40471074e79954ec45f147f7 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/36c2a2863bc3896243eb724dc3fd4cf9aea633f2 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/0d23b34c68c46cd225b55868bc8a269e3134816d [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/1f9212cdbd005bc55f2b7422e7b560d9c02bd1da [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/7411055db5ce64f836aaffd422396af0075fdc99 [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-35936
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-35936
weaknesses.