Skip to main content
← All vulnerabilities
CVE-2024-26978

serial: max310x: fix NULL pointer dereference in I2C instantiation

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.4.274, 5.10.215
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 5.4.272 · fixed in 5.4.274; From 5.10.213 · fixed in 5.10.215

  • Linux Linux

    6.0

References 7

git.kernel.org