syzbot


WARNING in __static_key_slow_dec_deferred

Status: closed as dup on 2021/10/21 01:32
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+3571c93ad7602c02dd81@syzkaller.appspotmail.com
First crash: 1131d, last: 1089d
Cause bisection: introduced by (bisect log) [no-op commit]:
commit 06447ae5e33bfbc5a777cc06d9854a31f3912833
Author: Oliver Hartkopp <socketcan@hartkopp.net>
Date: Wed Jul 14 19:56:55 2021 +0000

  ioprio: move user space relevant ioprio bits to UAPI includes

Crash: BUG: spinlock bad magic in synchronize_srcu (log)
Repro: C syz .config
  
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
WARNING in static_key_slow_try_dec (2) kernel C unreliable 5417 1089d 1157d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] WARNING in __static_key_slow_dec_deferred 0 (1) 2021/09/12 10:00

Sample crash report:
------------[ cut here ]------------
jump label: negative count!
WARNING: CPU: 0 PID: 22683 at kernel/jump_label.c:235 static_key_slow_try_dec kernel/jump_label.c:235 [inline]
WARNING: CPU: 0 PID: 22683 at kernel/jump_label.c:235 __static_key_slow_dec_deferred+0x15c/0x1c0 kernel/jump_label.c:286
Modules linked in:
CPU: 0 PID: 22683 Comm: syz-executor284 Not tainted 5.15.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:static_key_slow_try_dec kernel/jump_label.c:235 [inline]
RIP: 0010:__static_key_slow_dec_deferred+0x15c/0x1c0 kernel/jump_label.c:286
Code: 00 00 4c 89 ea 4c 89 f9 5b 41 5c 41 5d 41 5e 41 5f 5d e9 17 53 a9 ff e8 22 57 d8 ff 48 c7 c7 c0 99 59 8a 31 c0 e8 a4 77 a2 ff <0f> 0b e9 74 ff ff ff 48 c7 c1 84 d9 db 8d 80 e1 07 38 c1 0f 8c c3
RSP: 0018:ffffc9000aff7980 EFLAGS: 00010246

RAX: 87a92cb73c8cfc00 RBX: 00000000ffffffff RCX: ffff88807c405580
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: 00000000ffffffff R08: ffffffff81693402 R09: ffffed10173857a8
R10: ffffed10173857a8 R11: 0000000000000000 R12: ffffffff8ddbf8f8
R13: ffffffff8ddbf910 R14: ffff88801d8cde01 R15: 0000000000000064
FS:  00007f61667ee700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200000c0 CR3: 000000001db58000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 kvm_free_lapic+0x9f/0x170 arch/x86/kvm/lapic.c:2211
 kvm_arch_vcpu_create+0x88e/0x9f0 arch/x86/kvm/x86.c:10767
 kvm_vm_ioctl_create_vcpu arch/x86/kvm/../../../virt/kvm/kvm_main.c:3622 [inline]
 kvm_vm_ioctl+0x141d/0x2930 arch/x86/kvm/../../../virt/kvm/kvm_main.c:4344
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:860
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f616685d959
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f61667ee318 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f61668e5418 RCX: 00007f616685d959
RDX: 0000000000000000 RSI: 000000000000ae41 RDI: 0000000000000004
RBP: 00007f61668e5410 R08: 00007f61667ee700 R09: 0000000000000000
R10: 00007f61667ee700 R11: 0000000000000246 R12: 6d766b2f7665642f
R13: 00007ffcb6f2fd4f R14: 00007f61667ee400 R15: 0000000000022000

Crashes (1601):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/10/16 12:25 upstream 8fe31e0995f0 0c5d9412 .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/09 09:04 upstream 741668ef7832 efe0f24d .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/04 06:17 upstream 9e1ff307c779 db0f5787 .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/04 03:35 upstream 9e1ff307c779 db0f5787 .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/02 01:25 upstream 24f67d82c43c cc80db95 .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/09/28 23:27 upstream d33bec7b3dfa d82cb927 .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/09/15 21:59 upstream 3ca706c189db 07e953c1 .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/09/08 22:33 upstream ac08b1c68d1b e2776ee4 .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/11 20:32 upstream 64570fbc14f8 838e7e2c .config console log report syz ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/04 05:19 upstream 9e1ff307c779 db0f5787 .config console log report syz ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/09/20 21:16 upstream e4e737bb5c17 af796c18 .config console log report syz ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/09/12 12:52 upstream 78e709522d2c 5ae8508a .config console log report syz ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/20 16:54 upstream d9abdee5fd5a 418a00eb .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/20 15:30 upstream d9abdee5fd5a 418a00eb .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/20 12:27 upstream d9abdee5fd5a 418a00eb .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/20 11:26 upstream d9abdee5fd5a 418a00eb .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/20 10:23 upstream d9abdee5fd5a 418a00eb .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/20 08:00 upstream d9abdee5fd5a 466b7db1 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/20 06:20 upstream d9abdee5fd5a 466b7db1 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/20 03:48 upstream d9abdee5fd5a 466b7db1 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/20 00:31 upstream d9abdee5fd5a 466b7db1 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/19 22:42 upstream d9abdee5fd5a 466b7db1 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/19 20:56 upstream d9abdee5fd5a 466b7db1 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/19 19:23 upstream d9abdee5fd5a 466b7db1 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/19 18:21 upstream d9abdee5fd5a 466b7db1 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/19 15:00 upstream 519d81956ee2 24dc29db .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/19 13:56 upstream 519d81956ee2 24dc29db .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/19 11:42 upstream 519d81956ee2 24dc29db .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/19 10:38 upstream 519d81956ee2 24dc29db .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/19 03:43 upstream 519d81956ee2 24dc29db .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/19 01:49 upstream 519d81956ee2 24dc29db .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/19 00:45 upstream 519d81956ee2 24dc29db .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/18 23:41 upstream 519d81956ee2 24dc29db .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/18 22:34 upstream cf52ad5ff16c 0c5d9412 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/18 22:31 upstream cf52ad5ff16c 0c5d9412 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/18 21:28 upstream cf52ad5ff16c 0c5d9412 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/18 14:43 upstream cf52ad5ff16c 0c5d9412 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/18 12:51 upstream cf52ad5ff16c 0c5d9412 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/18 10:58 upstream cf52ad5ff16c 0c5d9412 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/18 09:44 upstream cf52ad5ff16c 0c5d9412 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/18 08:40 upstream cf52ad5ff16c 0c5d9412 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/18 06:10 upstream d999ade1cc86 0c5d9412 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/18 04:52 upstream d999ade1cc86 0c5d9412 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/18 03:00 upstream d999ade1cc86 0c5d9412 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/18 01:58 upstream d999ade1cc86 0c5d9412 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/18 00:11 upstream d999ade1cc86 0c5d9412 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/17 21:06 upstream d999ade1cc86 0c5d9412 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/17 17:40 upstream d999ade1cc86 0c5d9412 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/17 16:30 upstream d999ade1cc86 0c5d9412 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/17 14:57 upstream d999ade1cc86 0c5d9412 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/17 13:29 upstream d999ade1cc86 0c5d9412 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/17 12:16 upstream d999ade1cc86 0c5d9412 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/17 12:11 upstream d999ade1cc86 0c5d9412 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/10/17 11:10 upstream d999ade1cc86 0c5d9412 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
2021/09/08 09:56 upstream ac08b1c68d1b e2776ee4 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in __static_key_slow_dec_deferred
* Struck through repros no longer work on HEAD.