FYI, we noticed the following commit:
commit: 81e605ae110c6baf99b3fbe0ff7997e2a9d4676e ("x86/fpu: tighten validation of
user-supplied xstate_header")
url:
https://github.com/0day-ci/linux/commits/Eric-Biggers/x86-fpu-prevent-lea...
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -smp 2 -m 512M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+-----------------------------------------------------------+------------+------------+
| | 14e633085a | 81e605ae11 |
+-----------------------------------------------------------+------------+------------+
| boot_successes | 0 | 0 |
| boot_failures | 8 | 8 |
| BUG:-#unexpected_failures(out_of#)-debugging_disabled!| | 8 | 8 |
| Kernel_panic-not_syncing:Attempted_to_kill_init!exitcode= | 0 | 6 |
+-----------------------------------------------------------+------------+------------+
[ 41.283828] sbc60xxwdt: Watchdog timer is now enabled
[ 41.286561] init: - watchdog -
[ 41.294197] kmodloader (161) used greatest stack depth: 6976 bytes left
[ 42.291535] init: - preinit -
[ 42.321610] init[1] bad frame in sigreturn frame:bffbc16c ip:b7ee59b5 sp:bffbc6dc
orax:ffffffff in libuClibc-0.9.33.2.so[b7edb000+4f000]
[ 42.326498] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[ 42.326498]
[ 42.330808] CPU: 1 PID: 1 Comm: init Tainted: G S
4.14.0-rc1-00022-g81e605a #2
[ 42.334343] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
1.9.3-20161025_171302-gandalf 04/01/2014
[ 42.338326] Call Trace:
[ 42.339855] dump_stack+0x138/0x189
[ 42.341724] panic+0x179/0x495
[ 42.343296] do_exit+0xde4/0x17cd
[ 42.344883] do_group_exit+0x125/0x125
[ 42.346758] get_signal+0xa54/0xa89
[ 42.348516] do_signal+0x3b/0xa27
[ 42.350185] ? kick_process+0x9/0x9a
[ 42.351958] ? signal_wake_up_state+0x67/0x79
[ 42.353897] prepare_exit_to_usermode+0x1ba/0x2f2
[ 42.355945] syscall_return_slowpath+0x278/0x28c
[ 42.357962] do_int80_syscall_32+0xab/0xbe
[ 42.359834] entry_INT80_32+0x2a/0x2a
[ 42.361651] EIP: 0xb7ee59b5
[ 42.363148] EFLAGS: 00000246 CPU: 1
[ 42.364874] EAX: 00000000 EBX: 00000004 ECX: b7f6570c EDX: 0000000a
[ 42.367264] ESI: 00000f99 EDI: 00000fa0 EBP: bffbc748 ESP: bffbc6dc
[ 42.369724] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 007b
[ 42.372005] Kernel Offset: 0xf600000 from 0xc1000000 (relocation range:
0xc0000000-0xe07dffff)
To reproduce:
git clone
https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this
email
Thanks,
Xiaolong