Re: [PATCH 1/3] x86: fix access_ok() and valid_user_address() using wrong USER_PTR_MAX in modules
From: Borislav Petkov
Date: Thu Nov 06 2025 - 08:37:13 EST
On Thu, Nov 06, 2025 at 02:19:06PM +0100, Mateusz Guzik wrote:
> Then, as I pointed out, you should be protesting the patching of
> USER_PTR_MAX as it came with no benchmarks
That came in as a security fix. I'd say correctness before performance. And if
anyone finds a better and faster fix and can prove it, I'm all ears.
> and also resulted in a regression.
Oh well, shit happens on a daily basis. And then we fix it and move on.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette