syzbot


WARNING in cleanup_srcu_struct (4)

Status: upstream: reported on 2024/05/03 14:35
Subsystems: kvm bcachefs
[Documentation on labels]
Reported-by: syzbot+6cf577c8ed4e23fe436b@syzkaller.appspotmail.com
First crash: 75d, last: 21d
Discussions (3)
Title Replies (including bot) Last reply
[syzbot] Monthly kvm report (Jun 2024) 0 (1) 2024/06/14 08:20
[syzbot] Monthly bcachefs report (Jun 2024) 0 (1) 2024/06/11 08:27
[syzbot] [bcachefs?] WARNING in cleanup_srcu_struct (4) 0 (1) 2024/05/03 14:35
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in cleanup_srcu_struct kvm 1 1655d 1651d 0/27 auto-closed as invalid on 2020/05/03 19:34
upstream WARNING in cleanup_srcu_struct (3) block 4 956d 998d 0/27 auto-closed as invalid on 2022/04/03 12:40
upstream WARNING in cleanup_srcu_struct (2) kvm 1 1399d 1395d 0/27 auto-closed as invalid on 2021/01/15 08:56

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 11919 at kernel/rcu/srcutree.c:653 cleanup_srcu_struct+0x37c/0x520 kernel/rcu/srcutree.c:653
Modules linked in:
CPU: 0 PID: 11919 Comm: syz-executor.0 Not tainted 6.10.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:cleanup_srcu_struct+0x37c/0x520 kernel/rcu/srcutree.c:653
Code: 83 c4 20 5b 5d 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc 90 0f 0b 90 48 83 c4 20 5b 5d 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc 90 <0f> 0b 90 e9 35 ff ff ff 90 0f 0b 90 48 b8 00 00 00 00 00 fc ff df
RSP: 0018:ffffc9000365fd20 EFLAGS: 00010202
RAX: 0000000000000001 RBX: ffffc90002d56000 RCX: 0000000000000002
RDX: fffff91ffffa8f74 RSI: 0000000000000008 RDI: ffffe8ffffd47b98
RBP: ffff88807cda6800 R08: 0000000000000000 R09: fffff91ffffa8f73
R10: ffffe8ffffd47b9f R11: 0000000000000000 R12: ffffc90002d5f8a8
R13: ffffc90002d5f880 R14: ffffc90002d5f868 R15: 0000000000000004
FS:  0000555592ffa480(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020b2a000 CR3: 00000000683f2000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 kvm_destroy_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:1351 [inline]
 kvm_put_kvm+0x8df/0xb80 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1380
 kvm_vm_release+0x42/0x60 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1403
 __fput+0x408/0xbb0 fs/file_table.c:422
 task_work_run+0x14e/0x250 kernel/task_work.c:180
 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+0x278/0x2a0 kernel/entry/common.c:218
 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f4b1067cea9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd9d28fe58 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f4b107b5980 RCX: 00007f4b1067cea9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f4b107b5980 R08: 00000000813cd03e R09: 0000000700000000
R10: 0000000080000000 R11: 0000000000000246 R12: 00000000000878a4
R13: 00007f4b107b405c R14: 0000000000000032 R15: 00007f4b107b5980
 </TASK>

Crashes (3567):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/11 12:54 upstream 83a7eefedc9b c7d7d815 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in cleanup_srcu_struct
2024/05/31 02:31 upstream 4a4be1ad3a6e 34889ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in cleanup_srcu_struct
2024/05/22 10:45 upstream b6394d6f7159 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in cleanup_srcu_struct
2024/05/19 15:09 upstream 0450d2083be6 c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_srcu_struct
2024/05/03 14:26 upstream f03359bca01b 375d4445 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in cleanup_srcu_struct
2024/06/24 23:30 upstream 626737a5791b c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in cleanup_srcu_struct
2024/06/26 09:10 upstream 55027e689933 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/26 08:10 upstream 55027e689933 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/26 06:55 upstream 55027e689933 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/26 05:29 upstream 55027e689933 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/26 04:18 upstream 55027e689933 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/26 02:57 upstream 55027e689933 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/26 01:56 upstream 55027e689933 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/26 00:41 upstream 55027e689933 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/25 23:29 upstream 55027e689933 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/25 22:28 upstream 55027e689933 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/25 21:28 upstream 55027e689933 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/25 18:37 upstream 55027e689933 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/25 17:36 upstream 55027e689933 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/25 16:32 upstream 55027e689933 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/25 16:32 upstream 55027e689933 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/25 14:26 upstream 55027e689933 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/25 13:17 upstream 55027e689933 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/25 09:44 upstream 55027e689933 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/25 08:13 upstream 55027e689933 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/25 06:32 upstream 55027e689933 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/25 04:46 upstream 55027e689933 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/25 01:04 upstream 626737a5791b c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/24 22:07 upstream 626737a5791b c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/24 20:01 upstream 626737a5791b c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/24 18:51 upstream 626737a5791b c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/24 16:59 upstream 626737a5791b c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/24 15:42 upstream 626737a5791b c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/24 12:51 upstream f2661062f16b c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/24 11:08 upstream f2661062f16b c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/24 09:40 upstream f2661062f16b c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/24 05:50 upstream f2661062f16b c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/24 04:13 upstream f2661062f16b c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/24 02:39 upstream f2661062f16b c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/24 01:37 upstream f2661062f16b c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/24 00:26 upstream f2661062f16b c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/23 22:44 upstream 5f583a3162ff c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/23 22:15 upstream 5f583a3162ff c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/23 20:15 upstream 5f583a3162ff c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/23 16:57 upstream 5f583a3162ff c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/23 15:45 upstream 5f583a3162ff c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/23 13:18 upstream 5f583a3162ff c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/23 11:37 upstream 5f583a3162ff c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/06/23 08:07 upstream 563a50672d8a c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_srcu_struct
2024/05/25 19:49 linux-next 3689b0ef08b7 a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in cleanup_srcu_struct
2024/05/17 16:51 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fda5695d692c a12e99e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_srcu_struct
* Struck through repros no longer work on HEAD.