Re: [SECURITY] mm: khugepaged collapse_file() drops RWP PTE markers

From: Tal Zussman

Date: Tue Nov 10 2026 - 22:22:48 EST


On 11/10/26 6:55 AM, David Hildenbrand (Arm) wrote:
> On 11/10/26 12:54, n3rd wrote:
>>
>> Hello,
>>
>> I am reporting a security bug in the Linux kernel.
>
> Stop sending uffd problems as security bugs. STOP IT NOW.
>
> Tal has a long list of uffd-related fixes he is about to send out. CCing him.
>
So this issue was originally on my list and I had a fix for it... but it was
REALLY ugly and a band-aid, so I dropped it.

I think the real solution is to just add actual markers for RWP and solve
all of these issues at once... but that should be a separate series from my
batch of fixes (which I'll be sending shortly). Is there a reason RWP
markers weren't done in the first place that I'm missing?

Thanks,
Tal