CVE-2024-26978

published 1 May 2024 · updated 17 Nov 2026

serial: max310x: fix NULL pointer dereference in I2C instantiation

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 7d271b798add90c6196539167c019d0817285cf0, Kernel 2160ad6861c4a21d3fa553d7b2aaec6634a37f8a, Kernel 5cd8af02b466e1beeae13e2de3dc58fcc7925e5a and 10 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=f5c252aaa1be5d38604e58e9bd335065f767d0d8 <7d271b798add90c6196539167c019d0817285cf0, >=2e1f2d9a9bdbe12ee475c82a45ac46a278e8049a <2160ad6861c4a21d3fa553d7b2aaec6634a37f8a, >=2e1f2d9a9bdbe12ee475c82a45ac46a278e8049a <5cd8af02b466e1beeae13e2de3dc58fcc7925e5a, >=2e1f2d9a9bdbe12ee475c82a45ac46a278e8049a <aeca49661fd02fd56fb026768b580ce301b45733, >=5.10.213 <5.10.215, >=5.4.272 <5.4.274, >=85d79478710ad2cbf11857aec107084a7104943e <c45e53c27b78afd6c81fc25608003576f27b5735, =6.0, >=2e1f2d9a9bdbe12ee475c82a45ac46a278e8049a <0d27056c24efd3d63a03f3edfbcfc4827086b110, >=2e1f2d9a9bdbe12ee475c82a45ac46a278e8049a <12609c76b755dbeb1645c0aacc0f0f4743b2eff37d271b798add90c6196539167c019d0817285cf0, 2160ad6861c4a21d3fa553d7b2aaec6634a37f8a, 5cd8af02b466e1beeae13e2de3dc58fcc7925e5a, aeca49661fd02fd56fb026768b580ce301b45733, 5.10.215, 5.4.274, c45e53c27b78afd6c81fc25608003576f27b5735, 0d27056c24efd3d63a03f3edfbcfc4827086b110, 12609c76b755dbeb1645c0aacc0f0f4743b2eff3
linux-kernel: Kernel>=5.4.272 <5.4.274, >=6.0.0 <6.1.84, >=6.2.0 <6.6.24, >=6.7.0 <6.7.12, >=6.8.0 <6.8.3, >=5.10.213 <5.10.2155.4.274, 6.1.84, 6.6.24, 6.7.12, 6.8.3, 5.10.215

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-26978 severity on Zeptric[![CVE-2024-26978](https://zeptric.io/badge/cve/CVE-2024-26978.svg)](https://zeptric.io/cve/CVE-2024-26978)