[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <172175096929.2359500.17694398675089174396.b4-ty@kernel.org>
Date: Tue, 23 Jul 2024 17:33:06 +0100
From: Will Deacon <will@...nel.org>
To: Joerg Roedel <joro@...tes.org>,
Chunyan Zhang <zhang.lyra@...il.com>,
Artem Chernyshev <artem.chernyshev@...-soft.ru>
Cc: catalin.marinas@....com,
kernel-team@...roid.com,
Will Deacon <will@...nel.org>,
Robin Murphy <robin.murphy@....com>,
iommu@...ts.linux.dev,
linux-kernel@...r.kernel.org,
lvc-project@...uxtesting.org
Subject: Re: [PATCH] iommu: sprd: Avoid NULL deref in sprd_iommu_hw_en
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
Powered by blists - more mailing lists