Greeting, FYI, we noticed the following commit (built with gcc-9): commit: 330f9c9423d9a2df2c518929a756caac837dfde2 ("x86/entry, selftests: Further improve user entry sanity checks") https://git.kernel.org/cgit/linux/kernel/git/luto/linux.git x86/entry_fixes in testcase: kernel-selftests with following parameters: group: kselftests-x86 test-description: The kernel contains a set of "self tests" under the tools/testing/selftests/ directory. These are intended to be small unit tests to exercise individual code paths in the kernel. test-url: https://www.kernel.org/doc/Documentation/kselftest.txt on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace): +-----------------------------------------------------+------------+------------+ | | 9d33b3f321 | 330f9c9423 | +-----------------------------------------------------+------------+------------+ | boot_successes | 14 | 4 | | boot_failures | 0 | 6 | | WARNING:at_arch/x86/entry/common.c:#check_user_regs | 0 | 6 | | EIP:check_user_regs | 0 | 6 | +-----------------------------------------------------+------------+------------+ If you fix the issue, kindly add following tag Reported-by: kernel test robot [ 68.311328] WARNING: CPU: 0 PID: 1440 at arch/x86/entry/common.c:58 check_user_regs+0x4e/0x66 [ 68.311328] Modules linked in: [ 68.311330] CPU: 0 PID: 1440 Comm: syscall_nt_32 Not tainted 5.8.0-rc2-00010-g330f9c9423d9a #1 [ 68.311332] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 68.311333] EIP: check_user_regs+0x4e/0x66 [ 68.311334] Code: 8b 15 f8 17 b8 82 29 e2 81 fa ff 1f 00 00 77 26 64 8b 15 fc 17 b8 82 8b 52 0c 81 c2 ac 1f 00 00 39 d0 75 02 5d c3 0f 0b 5d c3 <0f> 0b 8d 74 26 00 eb b7 0f 0b eb c9 0f 0b 8d b4 26 00 00 00 00 90 [ 68.311335] EAX: ef1d1fac EBX: 77f6d2c0 ECX: 00000000 EDX: 00040000 [ 68.311336] ESI: ff403100 EDI: ef1d1ff0 EBP: ef1d1f9c ESP: ef1d1f9c [ 68.311337] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 EFLAGS: 00050006 [ 68.311338] CR0: 80050033 CR2: 087431ac CR3: 6f1e2000 CR4: 00040690 [ 68.311339] Call Trace: [ 68.311339] do_int80_syscall_32+0x8/0x1c [ 68.311340] entry_INT80_32+0x131/0x131 [ 68.311341] EIP: 0x77f59092 [ 68.311342] Code: Bad RIP value. [ 68.311343] EAX: ffffffda EBX: 77f6d2c0 ECX: 7fdaa9b4 EDX: 0804a000 [ 68.311343] ESI: 080486f9 EDI: 0804a000 EBP: 7fdaa8d4 ESP: 7fdaa888 [ 68.311344] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b EFLAGS: 00040202 [ 68.311345] ---[ end trace f36c2afd8d271d11 ]--- To reproduce: # build kernel cd linux cp config-5.8.0-rc2-00010-g330f9c9423d9a .config make HOSTCC=gcc-9 CC=gcc-9 ARCH=i386 olddefconfig prepare modules_prepare bzImage git clone https://github.com/intel/lkp-tests.git cd lkp-tests bin/lkp qemu -k job-script # job-script is attached in this email Thanks, lkp