CVE-2024-36891
linux_kernel maple_tree Null Pointer Dereference
Description
In the Linux kernel, the following vulnerability has been resolved: maple_tree: fix mas_empty_area_rev() null pointer dereference Currently the code calls mas_start() followed by mas_data_end() if the maple state is MA_START, but mas_start() may return with the maple state node == NULL. This will lead to a null pointer dereference when checking information in the NULL node, which is done in mas_data_end(). Avoid setting the offset if there is no node by waiting until after the maple state is checked for an empty or single entry state. A user could trigger the events to cause a kernel oops by unmapping all vmas to produce an empty maple tree, then mapping a vma that would cause the scenario described above.
INFO
Published Date :
May 30, 2024, 4:15 p.m.
Last Modified :
Nov. 21, 2024, 9:22 a.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
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-36891
.
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-36891
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-36891
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/6c9c7c1e63b198a8b979ad963eb21410f10ccb00 Added Reference https://git.kernel.org/stable/c/883e5d542bbdddbddeba60250cb482baf3ae2415 Added Reference https://git.kernel.org/stable/c/955a923d2809803980ff574270f81510112be9cf Added Reference https://git.kernel.org/stable/c/f3956791cf526540addd3295e4c1e0f0442486cc -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 16, 2024
Action Type Old Value New Value Added Reference kernel.org https://git.kernel.org/stable/c/883e5d542bbdddbddeba60250cb482baf3ae2415 [No types assigned] -
Initial Analysis by [email protected]
Jun. 10, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://git.kernel.org/stable/c/6c9c7c1e63b198a8b979ad963eb21410f10ccb00 No Types Assigned https://git.kernel.org/stable/c/6c9c7c1e63b198a8b979ad963eb21410f10ccb00 Patch Changed Reference Type https://git.kernel.org/stable/c/955a923d2809803980ff574270f81510112be9cf No Types Assigned https://git.kernel.org/stable/c/955a923d2809803980ff574270f81510112be9cf Patch Changed Reference Type https://git.kernel.org/stable/c/f3956791cf526540addd3295e4c1e0f0442486cc No Types Assigned https://git.kernel.org/stable/c/f3956791cf526540addd3295e4c1e0f0442486cc Patch Added CWE NIST CWE-476 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.1 up to (excluding) 6.6.31 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.8.10 -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 30, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: maple_tree: fix mas_empty_area_rev() null pointer dereference Currently the code calls mas_start() followed by mas_data_end() if the maple state is MA_START, but mas_start() may return with the maple state node == NULL. This will lead to a null pointer dereference when checking information in the NULL node, which is done in mas_data_end(). Avoid setting the offset if there is no node by waiting until after the maple state is checked for an empty or single entry state. A user could trigger the events to cause a kernel oops by unmapping all vmas to produce an empty maple tree, then mapping a vma that would cause the scenario described above. Added Reference kernel.org https://git.kernel.org/stable/c/6c9c7c1e63b198a8b979ad963eb21410f10ccb00 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/f3956791cf526540addd3295e4c1e0f0442486cc [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/955a923d2809803980ff574270f81510112be9cf [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-36891
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-36891
weaknesses.