Hi Tiezhu,
On Sat, 14 Jan 2023 14:53:21 +0800
Tiezhu Yang <yangtiezhu@xxxxxxxxxxx> wrote:
If you saw that without any change, please report it. At least
memcpy is already marked as noinstr.
The current upstream mainline kernel has no problem, because it includes
commit e3a9e681adb7 ("x86/entry: Fixup bad_iret vs noinstr"), memcpy is
already marked as noinstr. But for the kernel without the above commit,
like kernel 5.7, it has problem.
I've confirmed that kernel 5.4.228 (the latest stable tree) did not have
this issue (it already rejects the memcpy).