[PATCH V3] arm64/mm: Intercept pfn changes in set_pte_at()

Catalin Marinas catalin.marinas at arm.com
Tue Jan 31 08:28:38 PST 2023


On Mon, 30 Jan 2023 17:44:57 +0530, Anshuman Khandual wrote:
> Changing pfn on a user page table mapped entry, without first going through
> break-before-make (BBM) procedure is unsafe. This just updates set_pte_at()
> to intercept such changes, via an updated pgattr_change_is_safe(). This new
> check happens via __check_racy_pte_update(), which has now been renamed as
> __check_safe_pte_update().
> 
> 
> [...]

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64/mm: Intercept pfn changes in set_pte_at()
      https://git.kernel.org/arm64/c/004fc58f917c

-- 
Catalin




More information about the linux-arm-kernel mailing list