CVE-2022-48768
Linux Kernel Missing Free Memory Leak Vulnerability
Description
In the Linux kernel, the following vulnerability has been resolved: tracing/histogram: Fix a potential memory leak for kstrdup() kfree() is missing on an error path to free the memory allocated by kstrdup(): p = param = kstrdup(data->params[i], GFP_KERNEL); So it is better to free it via kfree(p).
INFO
Published Date :
June 20, 2024, 12:15 p.m.
Last Modified :
Nov. 21, 2024, 7:33 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-2022-48768
.
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-2022-48768
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-48768
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/8a8878ebb596281f50fc0b9a6e1f23f0d7f154e8 Added Reference https://git.kernel.org/stable/c/d71b06aa995007eafd247626d0669b9364c42ad7 Added Reference https://git.kernel.org/stable/c/df86e2fe808c3536a9dba353cc2bebdfea00d0cf Added Reference https://git.kernel.org/stable/c/e33fa4a46ee22de88a700e2e3d033da8214a5175 Added Reference https://git.kernel.org/stable/c/e629e7b525a179e29d53463d992bdee759c950fb -
Initial Analysis by [email protected]
Sep. 09, 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/8a8878ebb596281f50fc0b9a6e1f23f0d7f154e8 No Types Assigned https://git.kernel.org/stable/c/8a8878ebb596281f50fc0b9a6e1f23f0d7f154e8 Patch Changed Reference Type https://git.kernel.org/stable/c/d71b06aa995007eafd247626d0669b9364c42ad7 No Types Assigned https://git.kernel.org/stable/c/d71b06aa995007eafd247626d0669b9364c42ad7 Patch Changed Reference Type https://git.kernel.org/stable/c/df86e2fe808c3536a9dba353cc2bebdfea00d0cf No Types Assigned https://git.kernel.org/stable/c/df86e2fe808c3536a9dba353cc2bebdfea00d0cf Patch Changed Reference Type https://git.kernel.org/stable/c/e33fa4a46ee22de88a700e2e3d033da8214a5175 No Types Assigned https://git.kernel.org/stable/c/e33fa4a46ee22de88a700e2e3d033da8214a5175 Patch Changed Reference Type https://git.kernel.org/stable/c/e629e7b525a179e29d53463d992bdee759c950fb No Types Assigned https://git.kernel.org/stable/c/e629e7b525a179e29d53463d992bdee759c950fb Patch Added CWE NIST CWE-401 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.4.19 up to (excluding) 5.4.176 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.6 up to (excluding) 5.10.96 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.19 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 5.16.5 *cpe:2.3:o:linux:linux_kernel:5.17:rc1:*:*:*:*:*:* -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 20, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: tracing/histogram: Fix a potential memory leak for kstrdup() kfree() is missing on an error path to free the memory allocated by kstrdup(): p = param = kstrdup(data->params[i], GFP_KERNEL); So it is better to free it via kfree(p). Added Reference kernel.org https://git.kernel.org/stable/c/8a8878ebb596281f50fc0b9a6e1f23f0d7f154e8 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/d71b06aa995007eafd247626d0669b9364c42ad7 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/e33fa4a46ee22de88a700e2e3d033da8214a5175 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/df86e2fe808c3536a9dba353cc2bebdfea00d0cf [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/e629e7b525a179e29d53463d992bdee759c950fb [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-2022-48768
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-2022-48768
weaknesses.