CVE-2024-26978

In the Linux kernel, the following vulnerability has been resolved: serial: max310x: fix NULL pointer dereference in I2C instantiation When trying to instantiate a max14830 device from userspace: echo max14830 0x60 > /sys/bus/i2c/devices/i2c-2/new_device we get the following error: Unable to handle kernel NULL pointer dereference at virtual address... ... Call trace: max310x_i2c_probe+0x48/0x170 [max310x] i2c_device_probe+0x150/0x2a0 ... Add check for validity of devtype to prevent the error, and abort probe with a meaningful error message.
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:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

25 Jun 2024, 22:15

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html -

23 May 2024, 19:14

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
References () https://git.kernel.org/stable/c/0d27056c24efd3d63a03f3edfbcfc4827086b110 - () https://git.kernel.org/stable/c/0d27056c24efd3d63a03f3edfbcfc4827086b110 - Patch
References () https://git.kernel.org/stable/c/12609c76b755dbeb1645c0aacc0f0f4743b2eff3 - () https://git.kernel.org/stable/c/12609c76b755dbeb1645c0aacc0f0f4743b2eff3 - Patch
References () https://git.kernel.org/stable/c/2160ad6861c4a21d3fa553d7b2aaec6634a37f8a - () https://git.kernel.org/stable/c/2160ad6861c4a21d3fa553d7b2aaec6634a37f8a - Patch
References () https://git.kernel.org/stable/c/5cd8af02b466e1beeae13e2de3dc58fcc7925e5a - () https://git.kernel.org/stable/c/5cd8af02b466e1beeae13e2de3dc58fcc7925e5a - Patch
References () https://git.kernel.org/stable/c/7d271b798add90c6196539167c019d0817285cf0 - () https://git.kernel.org/stable/c/7d271b798add90c6196539167c019d0817285cf0 - Patch
References () https://git.kernel.org/stable/c/aeca49661fd02fd56fb026768b580ce301b45733 - () https://git.kernel.org/stable/c/aeca49661fd02fd56fb026768b580ce301b45733 - Patch
References () https://git.kernel.org/stable/c/c45e53c27b78afd6c81fc25608003576f27b5735 - () https://git.kernel.org/stable/c/c45e53c27b78afd6c81fc25608003576f27b5735 - Patch
Summary
  • (es) En el kernel de Linux, se resolvió la siguiente vulnerabilidad: serial: max310x: corrige la desreferencia del puntero NULL en la creación de instancias I2C Al intentar crear una instancia de un dispositivo max14830 desde el espacio de usuario: echo max14830 0x60 > /sys/bus/i2c/devices/i2c-2/ new_device obtenemos el siguiente error: No se puede manejar la desreferencia del puntero NULL del kernel en la dirección virtual... ... Rastreo de llamadas: max310x_i2c_probe+0x48/0x170 [max310x] i2c_device_probe+0x150/0x2a0... Agregar verificación de validez del tipo de desarrollo para evitar el error y cancelar la sonda con un mensaje de error significativo.
CWE CWE-476
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
First Time Linux linux Kernel
Linux

01 May 2024, 06:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-05-01 06:15

Updated : 2024-07-03 01:50


NVD link : CVE-2024-26978

Mitre link : CVE-2024-26978

CVE.ORG link : CVE-2024-26978


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference