Re: [tip: x86/urgent] x86/mm/pat: Acquire init_mm write lock on collapse to avoid UAF

From: Dave Hansen

Date: Tue Sep 08 2026 - 11:48:13 EST


On 9/8/26 06:58, Dave Hansen wrote:
> On 9/8/26 02:32, Mike Rapoport wrote:
>> I have to say I'm confused with today's batch of tip-bot emails saying Ingo
>> applied these to x86/mm :/
> Just a reminder that we have x86/urgent which will be going to Linus
> like today. There's also x86/mm which goes up in the next merge window..
>
> The "Fix effective RW computation" patch is getting broken out and is
> going to wait for the next merge window. We don't want it sitting in
> mainline generating warnings, especially false positives like the one
> this weekend. That's not to disparage the patch; it's overall the right
> thing to do.
>
> Sound good?

... and no, that isn't the current state of x86/mm and x86/urgent. But
that's where I _want_ to end up.