CVE-2024-26978

serial: max310x: fix NULL pointer dereference in I2C instantiation

MEDIUM
5.5
CVSS Score
Published: May 1, 2024 at 05:20 AM UTC
Updated: June 17, 2026 at 07:18 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.4.2745.10.213 ≤ v < 5.10.2155.11 ≤ v < 6.1.845.4.272 ≤ v < 5.4.2745.5 ≤ v < 5.10.2156.0 ≤ v < 6.1.846.0 ≤ v < 6.6.246.0 ≤ v < 6.7.126.0 ≤ v < 6.8.36.0 ≤ v < 6.96.2 ≤ v < 6.6.246.7 ≤ v < 6.7.126.8 ≤ v ≤ 6.8.32e1f2d9a9bdbe12ee475c82a45ac46a278e8049a5.10.2135.4.2726.085d79478710ad2cbf11857aec107084a7104943ef5c252aaa1be5d38604e58e9bd335065f767d0d8
Vendor states this is fixed in 0d27056c24efd3d63a03f3edfbcfc4827086b110 (fixed)
Vendor states this is fixed in 12609c76b755dbeb1645c0aacc0f0f4743b2eff3 (fixed)
Vendor states this is fixed in 2160ad6861c4a21d3fa553d7b2aaec6634a37f8a (fixed)
Vendor states this is fixed in 5cd8af02b466e1beeae13e2de3dc58fcc7925e5a (fixed)
Vendor states this is fixed in 7d271b798add90c6196539167c019d0817285cf0 (fixed)
Vendor states this is fixed in aeca49661fd02fd56fb026768b580ce301b45733 (fixed)
Vendor states this is fixed in c45e53c27b78afd6c81fc25608003576f27b5735 (fixed)
Vendor states this is fixed in 5.10.215 (unaffected)
Vendor states this is fixed in 5.4.274 (unaffected)
Vendor states this is fixed in 6.0 (unaffected)
Vendor states this is fixed in 6.1.84 (unaffected)
Vendor states this is fixed in 6.6.24 (unaffected)
Vendor states this is fixed in 6.7.12 (unaffected)
Vendor states this is fixed in 6.8.3 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0d27056c24efd3d63a03f3edfbcfc4827086b110
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/12609c76b755dbeb1645c0aacc0f0f4743b2eff3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2160ad6861c4a21d3fa553d7b2aaec6634a37f8a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5cd8af02b466e1beeae13e2de3dc58fcc7925e5a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7d271b798add90c6196539167c019d0817285cf0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/aeca49661fd02fd56fb026768b580ce301b45733
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c45e53c27b78afd6c81fc25608003576f27b5735
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card