Re: hardened_usercopy 32-bit (was: Re: [tip: x86/merge] x86/fpu: Make task_struct::thread constant size)
From: Borislav Petkov
Date: Mon May 05 2025 - 05:15:44 EST
On Sun, May 04, 2025 at 03:43:07PM -0700, Kees Cook wrote:
> On Sun, May 04, 2025 at 03:30:38PM -0700, Kees Cook wrote:
> > However, I can't test this patch -- I'm not able to reproduce the problem
> > either, even with your .config. What hardware are you using?
>
> Oh, wait, yes, I reproduced it. I just didn't actually log in or wait for
> complex daemons to start. Without my patch I quickly see the crashes. With
> my patch, everything is fine. So, I can confirm that fixes it.
I can confirm your patch fixes the boot here too - thanks for the
debugging and fixing!
Reported-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>
Tested-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette