Re: [PATCH] iommu: sprd: Avoid NULL deref in sprd_iommu_hw_en

From: Will Deacon
Date: Tue Jul 23 2024 - 12:33:19 EST


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