CVEvulnerability
CVE-2024-42277
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-08-17
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-476
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.
Affected configurations
• linux linux kernel (>= 5.15.113 < 5.15.165)
• linux linux kernel (>= 6.1.81 < 6.1.103)
• linux linux kernel (>= 6.3.4 < 6.6.44)
• linux linux kernel (>= 6.7 < 6.10.3)
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/630482ee0653decf9e2482ac6181897eb6cde5b8 Patch
- https://git.kernel.org/stable/c/8c79ceb4ecf823e6ec10fee6febb0fca3de79922 Patch
- https://git.kernel.org/stable/c/b62841e49a2b7938f6fdeaaf93fb57e4eb880bdb Patch
- https://git.kernel.org/stable/c/d5fe884ce28c5005f8582c35333c195a168f841c Patch
- https://git.kernel.org/stable/c/dfe90030a0cfa26dca4cb6510de28920e5ad22fb Patch
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org