CVE-2024-42277Published Aug 17, 2024 · Aug 17Updated 3d ago
iommu: sprd: Avoid NULL deref in sprd_iommu_hw_en
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
d0a917fd5e3b3ed9d9306b4260ba684b982da9f3| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's sprd IOMMU cleanup path can call sprd_iommu_hw_en() when dom->sdev is NULL, causing a NULL pointer dereference. The input does not specify how an attacker could trigger this path, or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the sprd IOMMU component should check their versions; affected versions are not specified.