CVE-2024-42277

Source
https://cve.org/CVERecord?id=CVE-2024-42277
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42277.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-42277
Downstream
Related
Published
2024-08-17T09:08:45.486Z
Modified
2026-03-20T12:38:45.541857Z
Summary
iommu: sprd: Avoid NULL deref in sprd_iommu_hw_en
Details

In the Linux kernel, the following vulnerability has been resolved:

iommu: sprd: Avoid NULL deref in sprdiommuhw_en

In sprdiommucleanup() before calling function sprdiommuhw_en() dom->sdev is equal to NULL, which leads to null dereference.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42277.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
92c089a931fd3939cd32318cf4f54e69e8f51a19
Fixed
8c79ceb4ecf823e6ec10fee6febb0fca3de79922
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8745f3592ee4a7b49ede16ddd3f12a41ecaa23c9
Fixed
dfe90030a0cfa26dca4cb6510de28920e5ad22fb
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9afea57384d4ae7b2034593eac7fa76c7122762a
Fixed
b62841e49a2b7938f6fdeaaf93fb57e4eb880bdb
Fixed
d5fe884ce28c5005f8582c35333c195a168f841c
Fixed
630482ee0653decf9e2482ac6181897eb6cde5b8
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
d0a917fd5e3b3ed9d9306b4260ba684b982da9f3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42277.json"