------------[ cut here ]------------ cpu_t != t WARNING: arch/x86/kernel/cpu/mce/core.c:1770 at mce_timer_fn+0x289/0x2e0 arch/x86/kernel/cpu/mce/core.c:1770, CPU#0: kworker/u33:2/46 Modules linked in: CPU: 0 UID: 0 PID: 46 Comm: kworker/u33:2 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:mce_timer_fn+0x289/0x2e0 arch/x86/kernel/cpu/mce/core.c:1770 Code: 58 00 4d 01 e4 4d 39 ec 4d 0f 47 e5 31 ff 4c 89 e6 e8 eb e4 58 00 4d 85 e4 0f 84 20 ff ff ff e9 f7 fe ff ff e8 38 ea 58 00 90 <0f> 0b 90 e9 cf fd ff ff 4c 89 f6 48 c7 c7 a0 ee bf 8f e8 f0 17 85 RSP: 0000:ffffc90000007c20 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88802b023440 RCX: 0000000000000100 RDX: ffff888021d82580 RSI: ffffffff81b2b878 RDI: ffffffff8e6a9920 RBP: ffff88802b123440 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000100 R14: 1ffff92000000f8d R15: ffffffff81b2b5f0 FS: 0000000000000000(0000) GS:ffff88809574a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000f5176e04 CR3: 0000000053122000 CR4: 0000000000352ef0 Call Trace: call_timer_fn+0x198/0x5f0 kernel/time/timer.c:1748 expire_timers kernel/time/timer.c:1799 [inline] __run_timers+0x757/0xb00 kernel/time/timer.c:2374 __run_timer_base kernel/time/timer.c:2386 [inline] __run_timer_base kernel/time/timer.c:2378 [inline] run_timer_base+0x114/0x190 kernel/time/timer.c:2395 run_timer_softirq+0x10/0x50 kernel/time/timer.c:2403 handle_softirqs+0x1e6/0x9d0 kernel/softirq.c:645 __do_softirq kernel/softirq.c:679 [inline] invoke_softirq kernel/softirq.c:519 [inline] __irq_exit_rcu+0x16a/0x210 kernel/softirq.c:758 irq_exit_rcu+0x9/0x30 kernel/softirq.c:775 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:csd_lock_wait kernel/smp.c:363 [inline] RIP: 0010:smp_call_function_many_cond+0x8f0/0x18c0 kernel/smp.c:1002 Code: 48 b8 00 00 00 00 00 fc ff df 48 8b 4c 24 08 49 89 ce 83 e1 07 49 c1 ee 03 49 89 cd 49 01 c6 41 83 c5 03 e8 22 bb 0c 00 f3 90 <41> 0f b6 06 41 38 c5 7c 08 84 c0 0f 85 ca 0d 00 00 8b 45 08 31 ff RSP: 0000:ffffc900006df8a0 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000 RDX: ffff888021d82580 RSI: ffffffff81fee78e RDI: ffff888021d82580 RBP: ffff88802b341a40 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffed10043b0763 R13: 0000000000000003 R14: ffffed1005668349 R15: 0000000000000001 on_each_cpu include/linux/smp.h:71 [inline] smp_text_poke_sync_each_cpu arch/x86/kernel/alternative.c:2641 [inline] smp_text_poke_batch_finish+0x337/0xc60 arch/x86/kernel/alternative.c:2851 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x37a/0x550 kernel/jump_label.c:909 static_key_enable_cpuslocked+0x1bc/0x270 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate mm/kfence/core.c:902 [inline] toggle_allocation_gate+0xfe/0x2d0 mm/kfence/core.c:894 process_one_work+0xac7/0x1b10 kernel/workqueue.c:3396 process_scheduled_works kernel/workqueue.c:3479 [inline] worker_thread+0x5ef/0xe50 kernel/workqueue.c:3560 kthread+0x373/0x450 kernel/kthread.c:436 ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 ---------------- Code disassembly (best guess): 0: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 7: fc ff df a: 48 8b 4c 24 08 mov 0x8(%rsp),%rcx f: 49 89 ce mov %rcx,%r14 12: 83 e1 07 and $0x7,%ecx 15: 49 c1 ee 03 shr $0x3,%r14 19: 49 89 cd mov %rcx,%r13 1c: 49 01 c6 add %rax,%r14 1f: 41 83 c5 03 add $0x3,%r13d 23: e8 22 bb 0c 00 call 0xcbb4a 28: f3 90 pause * 2a: 41 0f b6 06 movzbl (%r14),%eax <-- trapping instruction 2e: 41 38 c5 cmp %al,%r13b 31: 7c 08 jl 0x3b 33: 84 c0 test %al,%al 35: 0f 85 ca 0d 00 00 jne 0xe05 3b: 8b 45 08 mov 0x8(%rbp),%eax 3e: 31 ff xor %edi,%edi