Re: [PATCH] mm/hmm: reject shadow-stack mappings

From: Gregory Price (Meta)

Date: Fri Nov 13 2026 - 15:43:07 EST


On 2026-11-13 21:03 +0100, David Hildenbrand (Arm) wrote:
> On 11/13/26 20:55, Gregory Price (Meta) wrote:
> Cool, so I can drop
>
> e27dc0754e3f4 mm/hmm: refuse shadow stack vmas in hmm_range_fault()
>
> :)
>

Haven't seen that one :], i suppose *yoink*

> Acked-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
>
>
> I used the comment:
>
> + * Shadow stack VMAs must not be written, and there is no particular
> + * reason to allow read access to shadow stacks from devices, so just
> + * disallow it entirely.
> + *
>

Seems reasonable, maybe addresses Jason's request for additional
context.

--
~Gregory