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

15 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
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
debian/linux<6.1.85-1
6.1.85-1
debian/linux<6.7.12-1
6.7.12-1
debian/linux<6.7.12-1
6.7.12-1
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.85-1
  2. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.7.12-1
  3. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1

Event History

May 1, 2024
CVE Published
via MITRE·05:20 AM
Data Sourced
via MITRE·05:20 AM
Description
Data Sourced
via OSV·06:15 AM
DescriptionSeverityAffected Software
Jul 12, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

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