First published: Wed May 01 2024(Updated: )
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.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | <5.4.274 | |
Linux Kernel | >=5.5<5.10.215 | |
Linux Kernel | >=5.11<6.1.84 | |
Linux Kernel | >=6.2<6.6.24 | |
Linux Kernel | >=6.7<6.7.12 | |
Linux Kernel | >=6.8<=6.8.3 | |
debian/linux | 5.10.223-1 5.10.226-1 6.1.123-1 6.1.119-1 6.12.11-1 6.12.12-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-26978 is classified as a low-severity vulnerability due to the potential for a NULL pointer dereference in the Linux kernel.
To fix CVE-2024-26978, update your Linux kernel to a version that includes the patch, such as 5.10.223-1 or later.
CVE-2024-26978 affects various versions of the Linux kernel from below 5.4.274 and between 5.5 and 6.8.3.
CVE-2024-26978 is not considered remotely exploitable as it requires local access to the device.
CVE-2024-26978 is a NULL pointer dereference vulnerability that occurs during the instantiation of a max14830 device.