CVE-2024-42277
iommu: sprd: Avoid NULL deref in sprd_iommu_hw_en
Check your servers for CVE-2024-42277
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-42277 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:
iommu: sprd: Avoid NULL deref in sprd_iommu_hw_en
In sprd_iommu_cleanup() before calling function sprd_iommu_hw_en() dom->sdev is equal to NULL, which leads to null dereference.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.1% 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 92c089a931fd3939cd32318cf4f54e69e8f51a19, before 8c79ceb4ecf823e6ec10fee6febb0fca3de79922 affected from 8745f3592ee4a7b49ede16ddd3f12a41ecaa23c9, before dfe90030a0cfa26dca4cb6510de28920e5ad22fb affected from 9afea57384d4ae7b2034593eac7fa76c7122762a, before b62841e49a2b7938f6fdeaaf93fb57e4eb880bdb affected from 9afea57384d4ae7b2034593eac7fa76c7122762a, before d5fe884ce28c5005f8582c35333c195a168f841c affected from 9afea57384d4ae7b2034593eac7fa76c7122762a, before 630482ee0653decf9e2482ac6181897eb6cde5b8 affected d0a917fd5e3b3ed9d9306b4260ba684b982da9f3 affected from 5.15.113, before 5.15.165 affected from 6.1.81, before 6.1.103 affected from 6.3.4, before 6.4
Other versions: unaffected
|
| Linux |
affected 6.4 unaffected before 6.4 unaffected from 5.15.165 up to and including 5.15.* unaffected from 6.1.103 up to and including 6.1.* unaffected from 6.6.44 up to and including 6.6.* unaffected from 6.10.3 up to and including 6.10.* unaffected 6.11 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-42277 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-42277
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-42277
trivy image --scanners vuln IMAGE | grep CVE-2024-42277
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/8c79ceb4ecf823e6ec10fee6febb0fca3de79922 git.kernel.org
- https://git.kernel.org/stable/c/dfe90030a0cfa26dca4cb6510de28920e5ad22fb git.kernel.org
- https://git.kernel.org/stable/c/b62841e49a2b7938f6fdeaaf93fb57e4eb880bdb git.kernel.org
- https://git.kernel.org/stable/c/d5fe884ce28c5005f8582c35333c195a168f841c git.kernel.org
- https://git.kernel.org/stable/c/630482ee0653decf9e2482ac6181897eb6cde5b8 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
Source: the record CVE-2024-42277 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