syzbot


WARNING in cleanup_srcu_struct

Status: auto-closed as invalid on 2020/05/03 19:34
Subsystems: kvm
[Documentation on labels]
Reported-by: syzbot+1b1043fa771618e68377@syzkaller.appspotmail.com
First crash: 1574d, last: 1574d
Discussions (1)
Title Replies (including bot) Last reply
WARNING in cleanup_srcu_struct 0 (1) 2020/01/08 20:03
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in cleanup_srcu_struct (3) block 4 874d 916d 0/26 auto-closed as invalid on 2022/04/03 12:40
upstream WARNING in cleanup_srcu_struct (2) kvm 1 1317d 1313d 0/26 auto-closed as invalid on 2021/01/15 08:56

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 18326 at kernel/rcu/srcutree.c:376 cleanup_srcu_struct+0x248/0x2d0 kernel/rcu/srcutree.c:395
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 18326 Comm: syz-executor.1 Not tainted 5.5.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x197/0x210 lib/dump_stack.c:118
 panic+0x2e3/0x75c kernel/panic.c:221
 __warn.cold+0x2f/0x3e kernel/panic.c:582
 report_bug+0x289/0x300 lib/bug.c:195
 fixup_bug arch/x86/kernel/traps.c:174 [inline]
 fixup_bug arch/x86/kernel/traps.c:169 [inline]
 do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:267
 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:286
 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1027
RIP: 0010:cleanup_srcu_struct+0x248/0x2d0 kernel/rcu/srcutree.c:376
Code: 84 24 48 04 00 00 00 00 00 00 48 83 c4 28 5b 41 5c 41 5d 41 5e 41 5f 5d c3 0f 0b 48 83 c4 28 5b 41 5c 41 5d 41 5e 41 5f 5d c3 <0f> 0b e9 3c ff ff ff 48 8b 7d c0 e8 48 4c 51 00 e9 bd fe ff ff 48
RSP: 0018:ffffc900019a7b60 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000004 RCX: ffffc90004ed9000
RDX: 000000000000b393 RSI: ffffffff839b22b7 RDI: 0000000000000006
RBP: ffffc900019a7bb0 R08: ffff8880a6bdc580 R09: 0000000000000040
R10: 0000000000000000 R11: 0000000000000000 R12: ffffc90001ee9c48
R13: 0000000000000000 R14: ffffc90001ee19f0 R15: dffffc0000000000
 kvm_page_track_cleanup+0x19/0x20 arch/x86/kvm/mmu/page_track.c:167
 kvm_arch_destroy_vm+0x4aa/0x5f0 arch/x86/kvm/x86.c:9667
 kvm_create_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:758 [inline]
 kvm_dev_ioctl_create_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:3519 [inline]
 kvm_dev_ioctl+0x11af/0x17d0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3571
 vfs_ioctl fs/ioctl.c:47 [inline]
 file_ioctl fs/ioctl.c:545 [inline]
 do_vfs_ioctl+0x977/0x14e0 fs/ioctl.c:732
 ksys_ioctl+0xab/0xd0 fs/ioctl.c:749
 __do_sys_ioctl fs/ioctl.c:756 [inline]
 __se_sys_ioctl fs/ioctl.c:754 [inline]
 __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:754
 do_syscall_64+0xfa/0x790 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45af49
Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fe9be746c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045af49
RDX: 0000000000000000 RSI: 000000000000ae01 RDI: 0000000000000003
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe9be7476d4
R13: 00000000004c44c7 R14: 00000000004da970 R15: 00000000ffffffff
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/01/04 19:33 upstream 3a562aee727a 68256974 .config console log report ci-upstream-kasan-gce
* Struck through repros no longer work on HEAD.