CVE-2024-46823
Qualys Linux Kernel Device Name Use-After-Free Vulnerability
Description
In the Linux kernel, the following vulnerability has been resolved: kunit/overflow: Fix UB in overflow_allocation_test The 'device_name' array doesn't exist out of the 'overflow_allocation_test' function scope. However, it is being used as a driver name when calling 'kunit_driver_create' from 'kunit_device_register'. It produces the kernel panic with KASAN enabled. Since this variable is used in one place only, remove it and pass the device name into kunit_device_register directly as an ascii string.
INFO
Published Date :
Sept. 27, 2024, 1:15 p.m.
Last Modified :
April 10, 2025, 1:15 p.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-46823
.
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-46823
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-46823
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 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 10, 2025
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/99ddb9c58511f1b71e23d02a06082bf6d2dd2133 Added Reference https://git.kernel.org/stable/c/cacce7faa7c475cea55e82cc3a27794561fac157 -
Initial Analysis by [email protected]
Nov. 20, 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/92e9bac18124682c4b99ede9ee3bcdd68f121e92 No Types Assigned https://git.kernel.org/stable/c/92e9bac18124682c4b99ede9ee3bcdd68f121e92 Patch Changed Reference Type https://git.kernel.org/stable/c/d1207f07decc66546a7fa463d2f335a856c986ef No Types Assigned https://git.kernel.org/stable/c/d1207f07decc66546a7fa463d2f335a856c986ef Patch Added CWE NIST NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 6.10.10 *cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.11:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.11:rc3:*:*:*:*:*:* -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Sep. 27, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: kunit/overflow: Fix UB in overflow_allocation_test The 'device_name' array doesn't exist out of the 'overflow_allocation_test' function scope. However, it is being used as a driver name when calling 'kunit_driver_create' from 'kunit_device_register'. It produces the kernel panic with KASAN enabled. Since this variable is used in one place only, remove it and pass the device name into kunit_device_register directly as an ascii string. Added Reference kernel.org https://git.kernel.org/stable/c/d1207f07decc66546a7fa463d2f335a856c986ef [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/92e9bac18124682c4b99ede9ee3bcdd68f121e92 [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-46823
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-46823
weaknesses.