# CVE-2024-42277: iommu: sprd: Avoid NULL deref in sprd_iommu_hw_en

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-08-17T09:08:45.486Z
- Modified: 2026-06-17T07:49:09.620Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 92c089a931fd3939cd32318cf4f54e69e8f51a19 before 8c79ceb4ecf823e6ec10fee6febb0fca3de79922; from 8745f3592ee4a7b49ede16ddd3f12a41ecaa23c9 before dfe90030a0cfa26dca4cb6510de28920e5ad22fb; from 9afea57384d4ae7b2034593eac7fa76c7122762a before b62841e49a2b7938f6fdeaaf93fb57e4eb880bdb; from 9afea57384d4ae7b2034593eac7fa76c7122762a before d5fe884ce28c5005f8582c35333c195a168f841c; from 9afea57384d4ae7b2034593eac7fa76c7122762a before 630482ee0653decf9e2482ac6181897eb6cde5b8; d0a917fd5e3b3ed9d9306b4260ba684b982da9f3; from 5.15.113 before 5.15.165; from 6.1.81 before 6.1.103; from 6.3.4 before 6.4; 6.4 (not affected: before 6.4; from 5.15.165 up to 5.15.*; from 6.1.103 up to 6.1.*; from 6.6.44 up to 6.6.*; from 6.10.3 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: from 5.15.113 before 5.15.165; from 6.1.81 before 6.1.103; from 6.3.4 before 6.6.44; from 6.7 before 6.10.3

## References

- <https://git.kernel.org/stable/c/8c79ceb4ecf823e6ec10fee6febb0fca3de79922> (patch)
- <https://git.kernel.org/stable/c/dfe90030a0cfa26dca4cb6510de28920e5ad22fb> (patch)
- <https://git.kernel.org/stable/c/b62841e49a2b7938f6fdeaaf93fb57e4eb880bdb> (patch)
- <https://git.kernel.org/stable/c/d5fe884ce28c5005f8582c35333c195a168f841c> (patch)
- <https://git.kernel.org/stable/c/630482ee0653decf9e2482ac6181897eb6cde5b8> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-42277](https://www.cve.org/CVERecord?id=CVE-2024-42277), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2024-42277](https://nvd.nist.gov/vuln/detail/CVE-2024-42277), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-42277 · Whole record: https://cve.day/CVE-2024-42277.json · Rebuilt by cve.day 2026-11-25T22:58:44.461Z
