CVE-2024-42100
clk: sunxi-ng: common: Don't call hw_to_ccu_common on hw without common
Check your servers for CVE-2024-42100
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-42100 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:
clk: sunxi-ng: common: Don't call hw_to_ccu_common on hw without common
In order to set the rate range of a hw sunxi_ccu_probe calls hw_to_ccu_common() assuming all entries in desc->ccu_clks are contained in a ccu_common struct. This assumption is incorrect and, in consequence, causes invalid pointer de-references.
Remove the faulty call. Instead, add one more loop that iterates over the ccu_clks and sets the rate range, if required.
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 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 547263745e15a038ec3954b5c283805529377626, before 14c78d69dbca6a28af14095f639ec4318ec07fdc affected from b914ec33b391ec766545a41f0cfc0de3e0b388d7, before 7a0e2738cb6da5a55c9908dff333600aeb263e07 affected from b914ec33b391ec766545a41f0cfc0de3e0b388d7, before ea977d742507e534d9fe4f4d74256f6b7f589338 affected 761cbd9c0e4ed082b548bf6a0de25eebad24309d affected from 6.6.31, before 6.6.39 affected from 6.8.10, before 6.9
Other versions: unaffected
|
| Linux |
affected 6.9 unaffected before 6.9 unaffected from 6.6.39 up to and including 6.6.* unaffected from 6.9.9 up to and including 6.9.* unaffected 6.10 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-42100 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-42100
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-42100
trivy image --scanners vuln IMAGE | grep CVE-2024-42100
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/14c78d69dbca6a28af14095f639ec4318ec07fdc git.kernel.org
- https://git.kernel.org/stable/c/7a0e2738cb6da5a55c9908dff333600aeb263e07 git.kernel.org
- https://git.kernel.org/stable/c/ea977d742507e534d9fe4f4d74256f6b7f589338 git.kernel.org
Source: the record CVE-2024-42100 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