CVE-2024-26978

serial: max310x: fix NULL pointer dereference in I2C instantiation

published May 1, 2024

CVSS
—
EPSS
0%
Percentile
12.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00225 · 12.4th percentile
Published
2024-05-01T05:20Z
EPSS history
Timeline
  • 01 MAY 05:20Z
    serial: max310x: fix NULL pointer dereference in I2C instantiation
    cvelistv5