syzbot


kernel BUG in __jump_label_patch

Status: auto-obsoleted due to no activity on 2024/11/22 03:16
Reported-by: syzbot+d94e8f564d16e3ad15bf@syzkaller.appspotmail.com
First crash: 139d, last: 129d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in __jump_label_patch kernel C error done 1253 122d 178d 0/28 auto-obsoleted due to no activity on 2024/10/30 13:45

Sample crash report:
jump_label: Fatal kernel bug, unexpected op at preempt_notifier_register+0xc/0xd0 [ffffffff815f36cc] (eb 0e 48 c7 c7 != 66 90 0f 1f 00)) size:2 type:1
------------[ cut here ]------------
kernel BUG at arch/x86/kernel/jump_label.c:73!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 5854 Comm: syz.0.502 Not tainted 6.1.104-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:__jump_label_patch+0x429/0x440 arch/x86/kernel/jump_label.c:73
Code: 24 08 e9 df fd ff ff 48 c7 c7 c0 68 06 8b 4c 89 fe 4c 89 fa 4c 89 f9 49 89 d8 44 8b 4c 24 08 41 54 e8 9b 31 72 09 48 83 c4 08 <0f> 0b e8 d0 34 74 09 0f 0b 0f 0b 0f 0b 66 2e 0f 1f 84 00 00 00 00
RSP: 0018:ffffc9000398fa20 EFLAGS: 00010292
RAX: 0000000000000096 RBX: ffffffff8b0689a1 RCX: dd6ab0d9415a4300
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc9000398fb48 R08: ffffffff816e3d8c R09: fffff52000731ee5
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001
R13: ffffffff90033a80 R14: ffffffff8b0689a1 R15: ffffffff815f36cc
FS:  0000555556b2c500(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020602030 CR3: 0000000062558000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 arch_jump_label_transform_queue+0x4a/0xd0 arch/x86/kernel/jump_label.c:137
 __jump_label_update+0x177/0x3a0 kernel/jump_label.c:488
 __static_key_slow_dec_cpuslocked+0x246/0x400 kernel/jump_label.c:288
 __static_key_slow_dec kernel/jump_label.c:296 [inline]
 static_key_slow_dec+0x4d/0x90 kernel/jump_label.c:311
 kvm_destroy_vm virt/kvm/kvm_main.c:1345 [inline]
 kvm_put_kvm+0x1403/0x18a0 virt/kvm/kvm_main.c:1370
 kvm_vm_release+0x42/0x50 virt/kvm/kvm_main.c:1393
 __fput+0x3f6/0x8d0 fs/file_table.c:320
 task_work_run+0x246/0x300 kernel/task_work.c:203
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:177
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
 syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303
 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f4d15d799f9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc769b3b28 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 000000000003684b RCX: 00007f4d15d799f9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007ffc769b3c00 R08: 0000000000000001 R09: 00007ffc769b3e0f
R10: 00007f4d15a00000 R11: 0000000000000246 R12: 0000000000000032
R13: 00007ffc769b3c20 R14: 00007ffc769b3c40 R15: ffffffffffffffff
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__jump_label_patch+0x429/0x440 arch/x86/kernel/jump_label.c:73
Code: 24 08 e9 df fd ff ff 48 c7 c7 c0 68 06 8b 4c 89 fe 4c 89 fa 4c 89 f9 49 89 d8 44 8b 4c 24 08 41 54 e8 9b 31 72 09 48 83 c4 08 <0f> 0b e8 d0 34 74 09 0f 0b 0f 0b 0f 0b 66 2e 0f 1f 84 00 00 00 00
RSP: 0018:ffffc9000398fa20 EFLAGS: 00010292
RAX: 0000000000000096 RBX: ffffffff8b0689a1 RCX: dd6ab0d9415a4300
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc9000398fb48 R08: ffffffff816e3d8c R09: fffff52000731ee5
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001
R13: ffffffff90033a80 R14: ffffffff8b0689a1 R15: ffffffff815f36cc
FS:  0000555556b2c500(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007efdfe1f4480 CR3: 0000000062558000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/14 03:16 linux-6.1.y 36790ef5e00b bde81f6f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in __jump_label_patch
2024/08/11 14:13 linux-6.1.y 36790ef5e00b 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in __jump_label_patch
2024/08/09 17:36 linux-6.1.y 48d525b0e463 a83d9288 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in __jump_label_patch
2024/08/08 13:40 linux-6.1.y 48d525b0e463 de12cf65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in __jump_label_patch
2024/08/07 21:31 linux-6.1.y 48d525b0e463 109d2082 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in __jump_label_patch
2024/08/06 08:09 linux-6.1.y 48d525b0e463 e1bdb00a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in __jump_label_patch
2024/08/04 19:26 linux-6.1.y 48d525b0e463 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in __jump_label_patch
2024/08/03 22:18 linux-6.1.y 48d525b0e463 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in __jump_label_patch
2024/08/03 16:58 linux-6.1.y 48d525b0e463 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in __jump_label_patch
* Struck through repros no longer work on HEAD.