Re: [PATCHv8 14/17] x86/traps: Handle LASS thrown #SS

Kirill A. Shutemov
2025-07-02T14:47:43Z

On Wed, Jul 02, 2025 at 07:37:12AM -0700, H. Peter Anvin wrote:
> A LASS violation of any kind in the kernel (unless handled by fixup,
> including user access fixup) ought to be fatal, correct?

Yes, LASS violation is fatal for !user_mode(regs), unless addressed by
fixups.

For user_mode(regs), emulate_vsyscall_gp() is the notable exception.

--
Kiryl Shutsemau / Kirill A. Shutemov