Re: [PATCH] x86/entry: Read CR2 in asm entry stub to redcue NMI clobbering window
From: Dave Hansen
Date: Wed May 13 2026 - 13:13:17 EST
On 5/13/26 09:43, Rik van Riel wrote:
...
> I have only "seen" this in syzkaller, so I don't know
> what the symptoms would look like if a regular system
> hit this race window.
>
> I would not be surprised if we occasionally hit this
> in production, but given that I don't know what the
> symptoms would look like, I have no idea how often.
I don't think there's a concrete enough problem being solved here to
justify adding complexity to the entry code. Especially since it's not
even a robust solution for the problem.
The FRED thing is simple, robust, and doesn't affect the actual (nasty)
entry assembly.
I think we should do the FRED bits and continue to ignore the pre-FRED
problem.