[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<175997202124.3661959.1599667136766880381.git-patchwork-notify@kernel.org>
Date: Thu, 09 Oct 2025 01:07:01 +0000
From: patchwork-bot+linux-riscv@...nel.org
To: XianLiang Huang <huangxianliang@...xincomputing.com>
Cc: linux-riscv@...ts.infradead.org, tjeznach@...osinc.com,
markus.elfring@....de, joro@...tes.org, will@...nel.org,
robin.murphy@....com, paul.walmsley@...ive.com, palmer@...belt.com,
aou@...s.berkeley.edu, alex@...ti.fr, iommu@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4] iommu/riscv: prevent NULL deref in iova_to_phys
Hello:
This patch was applied to riscv/linux.git (for-next)
by Joerg Roedel <joerg.roedel@....com>:
On Wed, 20 Aug 2025 15:22:48 +0800 you wrote:
> The riscv_iommu_pte_fetch() function returns either NULL for
> unmapped/never-mapped iova, or a valid leaf pte pointer that requires no
> further validation.
>
> riscv_iommu_iova_to_phys() failed to handle NULL returns. Prevent null pointer
> dereference in riscv_iommu_iova_to_phys(), and remove the pte validation.
>
> [...]
Here is the summary with links:
- [v4] iommu/riscv: prevent NULL deref in iova_to_phys
https://git.kernel.org/riscv/c/99d4d1a07087
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists