CVE-2024-26978
serial: max310x: fix NULL pointer dereference in I2C instantiation
Check your servers for CVE-2024-26978
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-26978 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 6 Jun 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-476 NULL Pointer Dereference
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from f5c252aaa1be5d38604e58e9bd335065f767d0d8, before 7d271b798add90c6196539167c019d0817285cf0 affected from 85d79478710ad2cbf11857aec107084a7104943e, before c45e53c27b78afd6c81fc25608003576f27b5735 affected from 2e1f2d9a9bdbe12ee475c82a45ac46a278e8049a, before 12609c76b755dbeb1645c0aacc0f0f4743b2eff3 affected from 2e1f2d9a9bdbe12ee475c82a45ac46a278e8049a, before 2160ad6861c4a21d3fa553d7b2aaec6634a37f8a affected from 2e1f2d9a9bdbe12ee475c82a45ac46a278e8049a, before 5cd8af02b466e1beeae13e2de3dc58fcc7925e5a affected from 2e1f2d9a9bdbe12ee475c82a45ac46a278e8049a, before aeca49661fd02fd56fb026768b580ce301b45733 affected from 2e1f2d9a9bdbe12ee475c82a45ac46a278e8049a, before 0d27056c24efd3d63a03f3edfbcfc4827086b110 affected from 5.4.272, before 5.4.274 affected from 5.10.213, before 5.10.215
Other versions: unaffected
|
| Linux |
affected 6.0 unaffected before 6.0 unaffected from 5.4.274 up to and including 5.4.* unaffected from 5.10.215 up to and including 5.10.* unaffected from 6.1.84 up to and including 6.1.* unaffected from 6.6.24 up to and including 6.6.* unaffected from 6.7.12 up to and including 6.7.* unaffected from 6.8.3 up to and including 6.8.* unaffected 6.9 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-26978 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-26978
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-26978
trivy image --scanners vuln IMAGE | grep CVE-2024-26978
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/7d271b798add90c6196539167c019d0817285cf0 git.kernel.org
- https://git.kernel.org/stable/c/c45e53c27b78afd6c81fc25608003576f27b5735 git.kernel.org
- https://git.kernel.org/stable/c/12609c76b755dbeb1645c0aacc0f0f4743b2eff3 git.kernel.org
- https://git.kernel.org/stable/c/2160ad6861c4a21d3fa553d7b2aaec6634a37f8a git.kernel.org
- https://git.kernel.org/stable/c/5cd8af02b466e1beeae13e2de3dc58fcc7925e5a git.kernel.org
- https://git.kernel.org/stable/c/aeca49661fd02fd56fb026768b580ce301b45733 git.kernel.org
- https://git.kernel.org/stable/c/0d27056c24efd3d63a03f3edfbcfc4827086b110 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html lists.debian.org
Source: the record CVE-2024-26978 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse