CVE-2024-26978: serial: max310x: fix NULL pointer dereference in I2C instantiation
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/newdevice
we get the following error:
Unable to handle kernel NULL pointer dereference at virtual address... ... Call trace: max310xi2cprobe+0x48/0x170 [max310x] i2cdeviceprobe+0x150/0x2a0 ...
Add check for validity of devtype to prevent the error, and abort probe with a meaningful error message.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-26978?
CVE-2024-26978 is classified as a low-severity vulnerability due to the potential for a NULL pointer dereference in the Linux kernel.
How do I fix CVE-2024-26978?
To fix CVE-2024-26978, update your Linux kernel to a version that includes the patch, such as 5.10.223-1 or later.
What software versions are affected by CVE-2024-26978?
CVE-2024-26978 affects various versions of the Linux kernel from below 5.4.274 and between 5.5 and 6.8.3.
Is CVE-2024-26978 remotely exploitable?
CVE-2024-26978 is not considered remotely exploitable as it requires local access to the device.
What type of vulnerability is CVE-2024-26978?
CVE-2024-26978 is a NULL pointer dereference vulnerability that occurs during the instantiation of a max14830 device.