Re: [PATCH 1/3] x86: fix access_ok() and valid_user_address() using wrong USER_PTR_MAX in modules

From: Linus Torvalds

Date: Tue Nov 04 2025 - 20:50:40 EST


On Wed, 5 Nov 2025 at 01:14, Borislav Petkov <bp@xxxxxxxxx> wrote:
>
> Did a deeper look, did randbuilds, boots fine on a couple of machines, so all
> good AFAIIC.
>
> I sincerely hope that helps.

I pushed it out with a proper commit message etc. It might not be an
acute bug right now, but I do want it fixed in 6.18, so that when
Thomas' new scoped accessors get merged - and maybe cause the whole
inlining pattern to be much more commonly used - this is all behind
us.

And the patch certainly _looks_ ObviouslyCorrect(tm). Famous last words.

Linus