CVE-2024-26943
"Novel auvergne capacitated Linux kernel pointer dereference and allocation vulnerability"
Description
In the Linux kernel, the following vulnerability has been resolved: nouveau/dmem: handle kcalloc() allocation failure The kcalloc() in nouveau_dmem_evict_chunk() will return null if the physical memory has run out. As a result, if we dereference src_pfns, dst_pfns or dma_addrs, the null pointer dereference bugs will happen. Moreover, the GPU is going away. If the kcalloc() fails, we could not evict all pages mapping a chunk. So this patch adds a __GFP_NOFAIL flag in kcalloc(). Finally, as there is no need to have physically contiguous memory, this patch switches kcalloc() to kvcalloc() in order to avoid failing allocations.
INFO
Published Date :
May 1, 2024, 6:15 a.m.
Last Modified :
Nov. 21, 2024, 9:03 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-26943
.
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-26943
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-26943
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.
-
Initial Analysis by [email protected]
Mar. 04, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-476 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 from (excluding) 6.6.24 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 from (excluding) 6.7.12 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.8 from (excluding) 6.8.3 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.1 from (excluding) 6.1.84 Added Reference Type CVE: https://git.kernel.org/stable/c/16e87fe23d4af6df920406494ced5c0f4354567b Types: Mailing List, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/16e87fe23d4af6df920406494ced5c0f4354567b Types: Mailing List, Patch Added Reference Type CVE: https://git.kernel.org/stable/c/2a84744a037b8a511d6a9055f3defddc28ff4a4d Types: Mailing List, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/2a84744a037b8a511d6a9055f3defddc28ff4a4d Types: Mailing List, Patch Added Reference Type CVE: https://git.kernel.org/stable/c/3e82f7383e0b82a835e6b6b06a348b2bc4e2c2ee Types: Mailing List, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/3e82f7383e0b82a835e6b6b06a348b2bc4e2c2ee Types: Mailing List, Patch Added Reference Type CVE: https://git.kernel.org/stable/c/5e81773757a95fc298e96cfd6d4700f07b6192a2 Types: Mailing List, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/5e81773757a95fc298e96cfd6d4700f07b6192a2 Types: Mailing List, Patch Added Reference Type CVE: https://git.kernel.org/stable/c/9acfd8b083a0ffbd387566800d89f55058a68af2 Types: Mailing List, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/9acfd8b083a0ffbd387566800d89f55058a68af2 Types: Mailing List, Patch -
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/16e87fe23d4af6df920406494ced5c0f4354567b Added Reference https://git.kernel.org/stable/c/2a84744a037b8a511d6a9055f3defddc28ff4a4d Added Reference https://git.kernel.org/stable/c/3e82f7383e0b82a835e6b6b06a348b2bc4e2c2ee Added Reference https://git.kernel.org/stable/c/5e81773757a95fc298e96cfd6d4700f07b6192a2 Added Reference https://git.kernel.org/stable/c/9acfd8b083a0ffbd387566800d89f55058a68af2 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 29, 2024
Action Type Old Value New Value -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 14, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 01, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: nouveau/dmem: handle kcalloc() allocation failure The kcalloc() in nouveau_dmem_evict_chunk() will return null if the physical memory has run out. As a result, if we dereference src_pfns, dst_pfns or dma_addrs, the null pointer dereference bugs will happen. Moreover, the GPU is going away. If the kcalloc() fails, we could not evict all pages mapping a chunk. So this patch adds a __GFP_NOFAIL flag in kcalloc(). Finally, as there is no need to have physically contiguous memory, this patch switches kcalloc() to kvcalloc() in order to avoid failing allocations. Added Reference kernel.org https://git.kernel.org/stable/c/9acfd8b083a0ffbd387566800d89f55058a68af2 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/2a84744a037b8a511d6a9055f3defddc28ff4a4d [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/5e81773757a95fc298e96cfd6d4700f07b6192a2 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/3e82f7383e0b82a835e6b6b06a348b2bc4e2c2ee [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/16e87fe23d4af6df920406494ced5c0f4354567b [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-26943
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-26943
weaknesses.