VDB

CVE-2024-26978

CVE-2024-26978 PUBLISHED

serial: max310x: fix NULL pointer dereference in I2C instantiation

Reported by linux · Published May 1, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.8.3, 6.7.12, 6.6.24, 6.1.84, 5.10.215, 5.4.274
LinuxLinuxaeca49661fd02fd56fb026768b580ce301b45733, 7d271b798add90c6196539167c019d0817285cf0, 6.0, 5cd8af02b466e1beeae13e2de3dc58fcc7925e5a, 2160ad6861c4a21d3fa553d7b2aaec6634a37f8a

Affected products

VendorProductVersions
LinuxLinuxf5c252aaa1be5d38604e58e9bd335065f767d0d8, 85d79478710ad2cbf11857aec107084a7104943e, 2e1f2d9a9bdbe12ee475c82a45ac46a278e8049a
LinuxLinux6.0, 0, 5.4.274
LinuxLinux5.10.213, 6.9, 6.0
linuxlinux_kernel6.0, 6.0, 5.10.213

Timeline

  • May 1, 2024 EPSS Score (30 in total, the first dated here)
  • May 1, 2024 CVE Published
  • Oct 4, 2024 Coalition ESS Score (13 in total, the first dated here)
  • Jan 15, 2026 Security Advisory (308 in total, the first dated here)
  • May 28, 2026 Distribution Patch (270 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-26978
vulnetix vdb fixes CVE-2024-26978

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-26978/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›