CVE-2022-48768

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).
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.17:rc1:*:*:*:*:*:*

History

09 Sep 2024, 12:59

Type Values Removed Values Added
First Time Linux linux Kernel
Linux
CWE CWE-401
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.17:rc1:*:*:*:*:*:*
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: rastreo/histograma: corrige una posible pérdida de memoria para kstrdup(). Falta kfree() en una ruta de error para liberar la memoria asignada por kstrdup(): p = param = kstrdup( datos->params[i], GFP_KERNEL); Por eso es mejor liberarlo mediante kfree(p).
References () https://git.kernel.org/stable/c/8a8878ebb596281f50fc0b9a6e1f23f0d7f154e8 - () https://git.kernel.org/stable/c/8a8878ebb596281f50fc0b9a6e1f23f0d7f154e8 - Patch
References () https://git.kernel.org/stable/c/d71b06aa995007eafd247626d0669b9364c42ad7 - () https://git.kernel.org/stable/c/d71b06aa995007eafd247626d0669b9364c42ad7 - Patch
References () https://git.kernel.org/stable/c/df86e2fe808c3536a9dba353cc2bebdfea00d0cf - () https://git.kernel.org/stable/c/df86e2fe808c3536a9dba353cc2bebdfea00d0cf - Patch
References () https://git.kernel.org/stable/c/e33fa4a46ee22de88a700e2e3d033da8214a5175 - () https://git.kernel.org/stable/c/e33fa4a46ee22de88a700e2e3d033da8214a5175 - Patch
References () https://git.kernel.org/stable/c/e629e7b525a179e29d53463d992bdee759c950fb - () https://git.kernel.org/stable/c/e629e7b525a179e29d53463d992bdee759c950fb - Patch

20 Jun 2024, 12:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-06-20 12:15

Updated : 2024-09-09 12:59


NVD link : CVE-2022-48768

Mitre link : CVE-2022-48768

CVE.ORG link : CVE-2022-48768


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-401

Missing Release of Memory after Effective Lifetime