FYI, we noticed the following commit: commit: 7684b56d008c9141492e00de32c6c7b9ef0066d2 ("x86/idt: Hide set_intr_gate()") https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git WIP.x86/apic in testcase: trinity with following parameters: runtime: 300s test-description: Trinity is a linux system call fuzz tester. test-url: http://codemonkey.org.uk/projects/trinity/ on test machine: qemu-system-i386 -enable-kvm -smp 2 -m 320M caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace): +----------------------------------------------------+------------+------------+ | | b0f4a9654d | 7684b56d00 | +----------------------------------------------------+------------+------------+ | boot_successes | 8 | 0 | | boot_failures | 0 | 34 | | WARNING:at_arch/x86/kernel/idt.c:#update_intr_gate | 0 | 34 | | EIP:update_intr_gate | 0 | 34 | | BUG:unable_to_handle_kernel | 0 | 34 | | Oops:#[##] | 0 | 34 | | EIP:native_irq_enable | 0 | 20 | | Kernel_panic-not_syncing:Fatal_exception | 0 | 34 | | EIP:hpet_enable | 0 | 13 | | EIP:get_page_from_freelist | 0 | 1 | | BUG:kernel_in_stage | 0 | 3 | | BUG:kernel_reboot-without-warning_in_boot_stage | 0 | 1 | +----------------------------------------------------+------------+------------+ [ 0.000000] WARNING: CPU: 0 PID: 0 at arch/x86/kernel/idt.c:355 update_intr_gate+0x16/0x21 [ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.13.0-rc6-00088-g7684b56d #66 [ 0.000000] task: 41edee00 task.stack: 41ed4000 [ 0.000000] EIP: update_intr_gate+0x16/0x21 [ 0.000000] EFLAGS: 00210002 CPU: 0 [ 0.000000] EAX: 0000000e EBX: 420a4380 ECX: 4222c401 EDX: 41a1c930 [ 0.000000] ESI: 3112fa61 EDI: 0209f0e0 EBP: 41ed5f68 ESP: 41ed5f68 [ 0.000000] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 [ 0.000000] CR0: 80050033 CR2: 00000000 CR3: 0222e000 CR4: 00000690 [ 0.000000] Call Trace: [ 0.000000] kvm_apf_trap_init+0x17/0x19 [ 0.000000] trap_init+0x42/0x44 [ 0.000000] start_kernel+0x1c8/0x3d0 [ 0.000000] i386_start_kernel+0xa6/0xaa [ 0.000000] startup_32_smp+0x164/0x166 [ 0.000000] Code: 41 00 75 02 0f 0b b8 00 70 ec 41 ff 15 60 2d ef 41 5b 5e 5d c3 55 89 e5 e8 a0 63 ff fe 0f a3 05 00 14 23 42 0f 92 c1 84 c9 74 04 <0f> ff eb 05 e8 31 0b fd fe 5d c3 55 89 e5 e8 7f 63 ff fe c7 05 [ 0.000000] random: get_random_bytes called from print_oops_end_marker+0x52/0x5f with crng_init=0 [ 0.000000] ---[ end trace f68728a0d3053b52 ]--- To reproduce: git clone https://github.com/01org/lkp-tests.git cd lkp-tests bin/lkp qemu -k job-script # job-script is attached in this email Thanks, Xiaolong