syzbot


kernel BUG in __jump_label_patch

Status: upstream: reported C repro on 2024/06/26 10:44
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+03cfa0c5a0bcba3bf195@syzkaller.appspotmail.com
First crash: 20d, last: 19h25m
Cause bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [kernel?] kernel BUG in __jump_label_patch 0 (1) 2024/06/26 10:44

Sample crash report:
jump_label: Fatal kernel bug, unexpected op at preempt_notifier_register+0x10/0xe0 kernel/sched/core.c:4788 [ffffffff81639840] (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 PTI
CPU: 0 UID: 0 PID: 28186 Comm: syz-executor226 Not tainted 6.10.0-rc4-next-20240621-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:__jump_label_patch+0x463/0x490 arch/x86/kernel/jump_label.c:73
Code: e8 52 ae 5f 00 48 c7 c7 e0 41 c5 8b 48 8b 0c 24 48 89 ce 48 89 ca 4d 89 e8 4c 8b 4c 24 08 41 54 e8 a2 a1 56 0a 48 83 c4 08 90 <0f> 0b e8 96 9b 59 0a e8 21 ae 5f 00 90 0f 0b e8 19 ae 5f 00 90 0f
RSP: 0018:ffffc9000a7ff620 EFLAGS: 00010292
RAX: 0000000000000097 RBX: 0000000000000085 RCX: 1a06c80092f08800
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc9000a7ff748 R08: ffffffff81739789 R09: 1ffff920014ffe60
R10: dffffc0000000000 R11: fffff520014ffe61 R12: 0000000000000001
R13: ffffffff8bc56001 R14: ffffffff929c38a0 R15: ffffffff8bc56001
FS:  0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055558d6acce8 CR3: 000000002b0e8000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 arch_jump_label_transform_queue+0x68/0x100 arch/x86/kernel/jump_label.c:137
 __jump_label_update+0x177/0x3a0 kernel/jump_label.c:493
 __static_key_slow_dec_cpuslocked+0x250/0x410 kernel/jump_label.c:293
 __static_key_slow_dec kernel/jump_label.c:301 [inline]
 static_key_slow_dec+0x51/0xa0 kernel/jump_label.c:316
 kvm_destroy_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:1364 [inline]
 kvm_put_kvm+0xf3b/0x1300 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1388
 kvm_vm_release+0x46/0x50 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1411
 __fput+0x24a/0x8a0 fs/file_table.c:422
 task_work_run+0x24f/0x310 kernel/task_work.c:180
 exit_task_work include/linux/task_work.h:38 [inline]
 do_exit+0xa27/0x28e0 kernel/exit.c:876
 do_group_exit+0x207/0x2c0 kernel/exit.c:1025
 get_signal+0x16a1/0x1740 kernel/signal.c:2909
 arch_do_signal_or_restart+0x96/0x830 arch/x86/kernel/signal.c:310
 exit_to_user_mode_loop kernel/entry/common.c:111 [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+0xc9/0x370 kernel/entry/common.c:218
 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f6bcd95a559
Code: Unable to access opcode bytes at 0x7f6bcd95a52f.
RSP: 002b:00007f6bcd915228 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000001 RBX: 00007f6bcd9e4328 RCX: 00007f6bcd95a559
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f6bcd9e432c
RBP: 00007f6bcd9e4320 R08: 00007f6bcd9156c0 R09: 00007f6bcd9156c0
R10: 00007f6bcd9156c0 R11: 0000000000000246 R12: 00007f6bcd9e432c
R13: 00007f6bcd9b1074 R14: 6d766b2f7665642f R15: 00007ffd999e9ad8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__jump_label_patch+0x463/0x490 arch/x86/kernel/jump_label.c:73
Code: e8 52 ae 5f 00 48 c7 c7 e0 41 c5 8b 48 8b 0c 24 48 89 ce 48 89 ca 4d 89 e8 4c 8b 4c 24 08 41 54 e8 a2 a1 56 0a 48 83 c4 08 90 <0f> 0b e8 96 9b 59 0a e8 21 ae 5f 00 90 0f 0b e8 19 ae 5f 00 90 0f
RSP: 0018:ffffc9000a7ff620 EFLAGS: 00010292
RAX: 0000000000000097 RBX: 0000000000000085 RCX: 1a06c80092f08800
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc9000a7ff748 R08: ffffffff81739789 R09: 1ffff920014ffe60
R10: dffffc0000000000 R11: fffff520014ffe61 R12: 0000000000000001
R13: ffffffff8bc56001 R14: ffffffff929c38a0 R15: ffffffff8bc56001
FS:  0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055558d6acce8 CR3: 000000002b0e8000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (73):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/24 08:26 linux-next f76698bd9a8c edc5149a .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/06/23 14:06 linux-next f76698bd9a8c edc5149a .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/06/23 13:47 linux-next f76698bd9a8c edc5149a .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/06/23 21:07 linux-next f76698bd9a8c edc5149a .config console log report syz / log [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/12 14:56 linux-next 3fe121b62282 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/12 13:16 linux-next 3fe121b62282 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/12 05:46 linux-next 523b23f0bee3 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/12 03:18 linux-next 523b23f0bee3 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/11 18:31 linux-next 523b23f0bee3 c699c2eb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/11 10:02 linux-next 523b23f0bee3 c699c2eb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/11 02:56 linux-next 523b23f0bee3 c699c2eb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/10 22:45 linux-next 523b23f0bee3 e7213be3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/10 19:43 linux-next 523b23f0bee3 e7213be3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/10 19:00 linux-next 523b23f0bee3 e7213be3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/10 16:05 linux-next 523b23f0bee3 e7213be3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/10 08:10 linux-next 82d01fe6ee52 79d68ada .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/09 08:38 linux-next 0b58e108042b bc23a442 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/08 08:29 linux-next 0b58e108042b bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/08 06:41 linux-next 0b58e108042b bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/07 10:38 linux-next 0b58e108042b bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/07 01:38 linux-next 0b58e108042b bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/06 18:05 linux-next 0b58e108042b bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/06 15:10 linux-next 0b58e108042b bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/06 13:48 linux-next 0b58e108042b bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/06 00:13 linux-next 0b58e108042b 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/05 21:34 linux-next 0b58e108042b 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/05 16:16 linux-next 0b58e108042b 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/05 12:28 linux-next 0b58e108042b 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/04 18:50 linux-next 0b58e108042b dc6bbff0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/04 09:59 linux-next 0b58e108042b 409d975c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/04 08:38 linux-next 0b58e108042b 409d975c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/03 10:43 linux-next 0b58e108042b 1ecfa2d8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/03 02:50 linux-next 82e4255305c5 1ecfa2d8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/03 01:06 linux-next 82e4255305c5 1ecfa2d8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/02 16:53 linux-next 82e4255305c5 8373af66 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/02 16:50 linux-next 82e4255305c5 8373af66 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/02 10:59 linux-next 82e4255305c5 8373af66 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/02 10:51 linux-next 82e4255305c5 8373af66 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/01 19:24 linux-next 74564adfd352 b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/01 15:40 linux-next 74564adfd352 b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/01 14:36 linux-next 74564adfd352 b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/07/01 12:41 linux-next 74564adfd352 b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/06/28 07:41 linux-next 642a16ca7994 b62c7d46 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/06/28 04:53 linux-next 642a16ca7994 b62c7d46 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/06/28 04:25 linux-next 642a16ca7994 b62c7d46 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/06/27 15:18 linux-next 62c97045b8f7 5c045c04 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/06/27 13:42 linux-next 62c97045b8f7 5c045c04 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/06/27 11:28 linux-next 62c97045b8f7 5c045c04 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/06/27 08:43 linux-next 62c97045b8f7 5c045c04 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/06/27 03:40 linux-next 62c97045b8f7 880c1ca1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/06/26 18:09 linux-next 62c97045b8f7 880c1ca1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/06/26 11:45 linux-next 62c97045b8f7 dec8bc94 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/06/26 09:27 linux-next 62c97045b8f7 dec8bc94 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/06/25 22:07 linux-next 62c97045b8f7 da0bd5ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/06/25 19:56 linux-next 62c97045b8f7 da0bd5ca .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/06/25 06:45 linux-next 62c97045b8f7 215eef4a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/06/25 06:10 linux-next 62c97045b8f7 215eef4a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/06/25 05:06 linux-next 62c97045b8f7 215eef4a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/06/25 04:52 linux-next 62c97045b8f7 215eef4a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/06/24 18:46 linux-next f76698bd9a8c 215eef4a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/06/24 00:06 linux-next f76698bd9a8c edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/06/23 07:24 linux-next f76698bd9a8c edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/06/22 16:38 linux-next f76698bd9a8c edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
2024/06/22 10:38 linux-next f76698bd9a8c edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __jump_label_patch
* Struck through repros no longer work on HEAD.