On 15.11.2024 11:12, Roger Pau Monne wrote:
> While the alignment of the mfn is not relevant for non-present entries, the
> alignment of the linear address is.  Commit 5b52e1b0436f introduced a
> regression by not checking the alignment of the linear address when the new
> entry was a non-present one.
> 
> Fix by always checking the alignment of the linear address, non-present 
> entries
> must just skip the alignment check of the physical address.
> 
> Fixes: 5b52e1b0436f ('x86/mm: skip super-page alignment checks for 
> non-present entries')
> Reported-by: Andrew Cooper <andrew.coop...@citrix.com>
> Suggested-by: Jan Beulich <jbeul...@suse.com>
> Signed-off-by: Roger Pau Monné <roger....@citrix.com>

Reviewed-by: Jan Beulich <jbeul...@suse.com>



Reply via email to