[lvc-project] [PATCH] iommu: sprd: Avoid NULL deref in sprd_iommu_hw_en
Will Deacon
will at kernel.org
Tue Jul 23 19:33:06 MSK 2024
On Tue, 16 Jul 2024 15:55:14 +0300, Artem Chernyshev wrote:
> 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.
>
>
Applied to iommu (next), thanks!
[1/1] iommu: sprd: Avoid NULL deref in sprd_iommu_hw_en
https://git.kernel.org/iommu/c/630482ee0653
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the lvc-project
mailing list