RE: [PATCH v3] x86/fault: Send a SIGBUS to user process always for hwpoison page access.

From: Luck, Tony
Date: Thu Mar 11 2021 - 11:53:02 EST


> I think we need to at least fix the existing bug before we add more
> signals. AFAICS the MCE_IN_KERNEL_COPYIN code is busted for kernel
> threads.

Can a kernel thread do get_user() or copy_from_user()? Do we have kernel threads
that have an associated user address space to copy from?

-Tony