CVE-2024-26978: serial: max310x: fix NULL pointer dereference in I2C instantiation

Published May 1, 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/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

12 affected componentsFixes available
Linux Linux kernel<5.4.274
Linux Linux kernel>=5.5<5.10.215
Linux Linux kernel>=5.11<6.1.84
Linux Linux kernel>=6.2<6.6.24
Linux Linux kernel>=6.7<6.7.12
Linux Linux kernel>=6.8<=6.8.3
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
Microsoft azl3 kernel 6.6.22.1-2
Microsoft cbl2 kernel 5.15.180.1-1
Microsoft cbl2 kernel 5.15.180.1-1
Microsoft cbl2 kernel 5.15.160.1-1
Microsoft azl3 kernel 6.6.35.1-5

Event History

May 1, 2024
CVE Published
via MITRE·05:20 AM
Data Sourced
via MITRE·05:20 AM
Description
Jun 8, 2024
Data Sourced
via Launchpad·01:11 AM
Description
Jul 12, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Dec 1, 2024
Data Sourced
via Ubuntu·05:27 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

4

Is CVE-2024-26978 remotely exploitable?

CVE-2024-26978 is not considered remotely exploitable as it requires local access to the device.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203