CVE-2024-35984
i2c: smbus: fix NULL function pointer dereference
Check your servers for CVE-2024-35984
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-35984 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:
i2c: smbus: fix NULL function pointer dereference
Baruch reported an OOPS when using the designware controller as target only. Target-only modes break the assumption of one transfer function always being available. Fix this by always checking the pointer in __i2c_transfer.
[wsa: dropped the simplification in core-smbus to avoid theoretical regressions]
Exploitation
EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 18.5% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 21 May 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
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 63453b59e41173241c4efe9335815f6432fa8586, before 40f1d79f07b49c8a64a861706e5163f2db4bd95d affected from 63453b59e41173241c4efe9335815f6432fa8586, before ad3c3ac7a03be3697114f781193dd3e9d97e6e23 affected from 63453b59e41173241c4efe9335815f6432fa8586, before 5fd72404587d7db4acb2d241fd8c387afb0a7aec affected from 63453b59e41173241c4efe9335815f6432fa8586, before 5a09eae9a7db597fe0c1fc91636205b4a25d2620 affected from 63453b59e41173241c4efe9335815f6432fa8586, before 4e75e222d397c6752b229ed72fc4644c8c36ecde affected from 63453b59e41173241c4efe9335815f6432fa8586, before e3425674ff68dc521c57c6eabad0cbd20a027d85 affected from 63453b59e41173241c4efe9335815f6432fa8586, before 357c64ef1ef39b1e7cd91ab6bdd304d043702c83 affected from 63453b59e41173241c4efe9335815f6432fa8586, before 91811a31b68d3765b3065f4bb6d7d6d84a7cfc9f
Other versions: unaffected
|
| Linux |
affected 4.19 unaffected before 4.19 unaffected from 4.19.313 up to and including 4.19.* unaffected from 5.4.275 up to and including 5.4.* unaffected from 5.10.216 up to and including 5.10.* unaffected from 5.15.158 up to and including 5.15.* unaffected from 6.1.90 up to and including 6.1.* unaffected from 6.6.30 up to and including 6.6.* unaffected from 6.8.9 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-35984 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-35984
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-35984
trivy image --scanners vuln IMAGE | grep CVE-2024-35984
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/40f1d79f07b49c8a64a861706e5163f2db4bd95d git.kernel.org
- https://git.kernel.org/stable/c/ad3c3ac7a03be3697114f781193dd3e9d97e6e23 git.kernel.org
- https://git.kernel.org/stable/c/5fd72404587d7db4acb2d241fd8c387afb0a7aec git.kernel.org
- https://git.kernel.org/stable/c/5a09eae9a7db597fe0c1fc91636205b4a25d2620 git.kernel.org
- https://git.kernel.org/stable/c/4e75e222d397c6752b229ed72fc4644c8c36ecde git.kernel.org
- https://git.kernel.org/stable/c/e3425674ff68dc521c57c6eabad0cbd20a027d85 git.kernel.org
- https://git.kernel.org/stable/c/357c64ef1ef39b1e7cd91ab6bdd304d043702c83 git.kernel.org
- https://git.kernel.org/stable/c/91811a31b68d3765b3065f4bb6d7d6d84a7cfc9f git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-613116.html cert-portal.siemens.com
Source: the record CVE-2024-35984 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse