CVE-2024-43818

In the Linux kernel, the following vulnerability has been resolved: ASoC: amd: Adjust error handling in case of absent codec device acpi_get_first_physical_node() can return NULL in several cases (no such device, ACPI table error, reference count drop to 0, etc). Existing check just emit error message, but doesn't perform return. Then this NULL pointer is passed to devm_acpi_dev_add_driver_gpios() where it is dereferenced. Adjust this error handling by adding error code return. Found by Linux Verification Center (linuxtesting.org) with SVACE.
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:*:*:*:*:*:*:*:*

History

03 Sep 2024, 17:45

Type Values Removed Values Added
CWE CWE-476
References () https://git.kernel.org/stable/c/1ba9856cf7f6492b47c1edf853137f320d583db5 - () https://git.kernel.org/stable/c/1ba9856cf7f6492b47c1edf853137f320d583db5 - Patch
References () https://git.kernel.org/stable/c/5080808c3339de2220c602ab7c7fa23dc6c1a5a3 - () https://git.kernel.org/stable/c/5080808c3339de2220c602ab7c7fa23dc6c1a5a3 - Patch
References () https://git.kernel.org/stable/c/99b642dac24f6d09ba3ebf1d690be8aefff86164 - () https://git.kernel.org/stable/c/99b642dac24f6d09ba3ebf1d690be8aefff86164 - Patch
References () https://git.kernel.org/stable/c/b1173d64edd276c957b6d09e1f971c85b38f1519 - () https://git.kernel.org/stable/c/b1173d64edd276c957b6d09e1f971c85b38f1519 - Patch
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
First Time Linux linux Kernel
Linux

19 Aug 2024, 12:59

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ASoC: amd: ajustar el manejo de errores en caso de ausencia del dispositivo códec acpi_get_first_physical_node() puede devolver NULL en varios casos (no existe tal dispositivo, error en la tabla ACPI, recuento de referencias cae a 0, etc. ). La verificación existente simplemente emite un mensaje de error, pero no realiza devolución. Luego, este puntero NULL se pasa a devm_acpi_dev_add_driver_gpios() donde se elimina la referencia. Ajuste este manejo de errores agregando un retorno de código de error. Encontrado por el Centro de verificación de Linux (linuxtesting.org) con SVACE.

17 Aug 2024, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-08-17 10:15

Updated : 2024-09-03 17:45


NVD link : CVE-2024-43818

Mitre link : CVE-2024-43818

CVE.ORG link : CVE-2024-43818


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference