CVE-2024-50069

In the Linux kernel, the following vulnerability has been resolved: pinctrl: apple: check devm_kasprintf() returned value devm_kasprintf() can return a NULL pointer on failure but this returned value is not checked. Fix this lack and check the returned value. Found by code review.
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:6.12:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:*

History

30 Oct 2024, 16:58

Type Values Removed Values Added
First Time Linux
Linux linux Kernel
CPE cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CWE CWE-476
References () https://git.kernel.org/stable/c/0a4d4dbef622ac8796a6665e0080da2685f9220a - () https://git.kernel.org/stable/c/0a4d4dbef622ac8796a6665e0080da2685f9220a - Patch
References () https://git.kernel.org/stable/c/4d2296fb7c80fdc9925d29a8e85d617cad08731a - () https://git.kernel.org/stable/c/4d2296fb7c80fdc9925d29a8e85d617cad08731a - Patch
References () https://git.kernel.org/stable/c/665a58fe663ac7a9ea618dc0b29881649324b116 - () https://git.kernel.org/stable/c/665a58fe663ac7a9ea618dc0b29881649324b116 - Patch
References () https://git.kernel.org/stable/c/fad940e2dd789155f99ecafa71a7baf6f96530bc - () https://git.kernel.org/stable/c/fad940e2dd789155f99ecafa71a7baf6f96530bc - Patch

29 Oct 2024, 14:34

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: pinctrl: apple: comprobar el valor devuelto por devm_kasprintf() devm_kasprintf() puede devolver un puntero NULL en caso de error, pero este valor devuelto no se comprueba. Corrija esta falla y compruebe el valor devuelto. Encontrado por revisión de código.

29 Oct 2024, 01:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-10-29 01:15

Updated : 2024-10-30 16:58


NVD link : CVE-2024-50069

Mitre link : CVE-2024-50069

CVE.ORG link : CVE-2024-50069


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference