jump_label: Fatal kernel bug, unexpected op at preempt_notifier_register+0xd/0xf0 [ffffffff815b2e1d] (eb 12 90 48 c7 != 66 90 0f 1f 00)) size:2 type:1 ------------[ cut here ]------------ kernel BUG at arch/x86/kernel/jump_label.c:73! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 7152 Comm: syz.2.572 Not tainted 6.11.0-rc1-syzkaller-00233-g948752d2e010 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:__jump_label_patch+0x388/0x400 arch/x86/kernel/jump_label.c:73 Code: 48 c7 c3 60 c0 1c 93 e8 06 6d 5a 00 45 89 e1 49 89 d8 4c 89 f1 41 55 4c 89 f2 4c 89 f6 48 c7 c7 60 34 46 8b e8 09 10 3b 00 90 <0f> 0b be 04 00 00 00 48 89 45 c8 e8 d8 f9 b8 00 48 8b 45 c8 e9 f4 RSP: 0018:ffffc90022f4fc28 EFLAGS: 00010282 RAX: 0000000000000096 RBX: ffffffff8b466ae1 RCX: ffffffff816bc7a9 RDX: 0000000000000000 RSI: ffffffff816c5796 RDI: 0000000000000005 RBP: ffffc90022f4fc70 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000001 R14: ffffffff815b2e1d R15: 0000000000000085 FS: 0000000000000000(0000) GS:ffff88802c000000(0063) knlGS:00000000572d7440 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000317fcff8 CR3: 0000000027900000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_jump_label_transform_queue+0x7e/0x120 arch/x86/kernel/jump_label.c:137 __jump_label_update+0x125/0x420 kernel/jump_label.c:493 jump_label_update+0x1d7/0x400 kernel/jump_label.c:900 __static_key_slow_dec_cpuslocked.part.0+0x4e/0x90 kernel/jump_label.c:293 __static_key_slow_dec_cpuslocked kernel/jump_label.c:288 [inline] __static_key_slow_dec kernel/jump_label.c:301 [inline] static_key_slow_dec+0x7c/0xc0 kernel/jump_label.c:316 kvm_destroy_vm virt/kvm/kvm_main.c:1362 [inline] kvm_put_kvm+0x8f8/0xb80 virt/kvm/kvm_main.c:1386 kvm_vm_release+0x42/0x60 virt/kvm/kvm_main.c:1409 __fput+0x408/0xbb0 fs/file_table.c:422 task_work_run+0x14e/0x250 kernel/task_work.c:228 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x27b/0x2a0 kernel/entry/common.c:218 __do_fast_syscall_32+0x80/0x120 arch/x86/entry/common.c:389 do_fast_syscall_32+0x32/0x80 arch/x86/entry/common.c:411 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf7f48579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000ffbf59cc EFLAGS: 00000202 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 000000000000001e RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__jump_label_patch+0x388/0x400 arch/x86/kernel/jump_label.c:73 Code: 48 c7 c3 60 c0 1c 93 e8 06 6d 5a 00 45 89 e1 49 89 d8 4c 89 f1 41 55 4c 89 f2 4c 89 f6 48 c7 c7 60 34 46 8b e8 09 10 3b 00 90 <0f> 0b be 04 00 00 00 48 89 45 c8 e8 d8 f9 b8 00 48 8b 45 c8 e9 f4 RSP: 0018:ffffc90022f4fc28 EFLAGS: 00010282 RAX: 0000000000000096 RBX: ffffffff8b466ae1 RCX: ffffffff816bc7a9 RDX: 0000000000000000 RSI: ffffffff816c5796 RDI: 0000000000000005 RBP: ffffc90022f4fc70 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000001 R14: ffffffff815b2e1d R15: 0000000000000085 FS: 0000000000000000(0000) GS:ffff88802c000000(0063) knlGS:00000000572d7440 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000002001c000 CR3: 0000000027900000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 10 06 adc %al,(%rsi) 2: 03 74 b4 01 add 0x1(%rsp,%rsi,4),%esi 6: 10 07 adc %al,(%rdi) 8: 03 74 b0 01 add 0x1(%rax,%rsi,4),%esi c: 10 08 adc %cl,(%rax) e: 03 74 d8 01 add 0x1(%rax,%rbx,8),%esi 1e: 00 51 52 add %dl,0x52(%rcx) 21: 55 push %rbp 22: 89 e5 mov %esp,%ebp 24: 0f 34 sysenter 26: cd 80 int $0x80 * 28: 5d pop %rbp <-- trapping instruction 29: 5a pop %rdx 2a: 59 pop %rcx 2b: c3 ret 2c: 90 nop 2d: 90 nop 2e: 90 nop 2f: 90 nop 30: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 37: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi