Thread (51 messages) 51 messages, 7 authors, 2024-10-28

Re: [PATCH] x86/uaccess: Avoid barrier_nospec() in copy_from_user()

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2024-10-16 22:34:38

On Wed, 16 Oct 2024 at 15:13, Kirill A. Shutemov [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help