[PATCH] x86/uaccess: Avoid barrier_nospec() in copy_from_user()
Linus Torvalds
torvalds at linux-foundation.org
Thu Oct 17 09:34:11 AEDT 2024
On Wed, 16 Oct 2024 at 15:13, Kirill A. Shutemov <kirill at shutemov.name> wrote:
>
> It is worse than that. If we get LAM_SUP enabled (there's KASAN patchset
> in works) this check will allow arbitrary kernel addresses.
Ugh. I haven't seen the LAM_SUP patches.
But yeah, I assume any LAM_SUP model would basically then make the GP
fault due to non-canonical addresses go away.
Linus
More information about the Linuxppc-dev
mailing list