CVE-2024-26978
serial: max310x: fix NULL pointer dereference in I2C instantiation
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.4.274, 5.10.215
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- 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
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- 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
- stable/c/7d271b798add90c6196539167c019d0817285cf0
- stable/c/c45e53c27b78afd6c81fc25608003576f27b5735
- stable/c/12609c76b755dbeb1645c0aacc0f0f4743b2eff3
- stable/c/2160ad6861c4a21d3fa553d7b2aaec6634a37f8a
- stable/c/5cd8af02b466e1beeae13e2de3dc58fcc7925e5a
- stable/c/aeca49661fd02fd56fb026768b580ce301b45733
- stable/c/0d27056c24efd3d63a03f3edfbcfc4827086b110