CVE-2024-26978

Severity CVSS v4.0:
Pending analysis
Type:
CWE-476 NULL Pointer Dereference
Publication date:
01/05/2024
Last modified:
05/11/2024

Description

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

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.4.274 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.5 (including) 5.10.215 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (including) 6.1.84 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.24 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.7.12 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.8 (including) 6.8.3 (including)