syzbot


WARNING in cleanup_srcu_struct (3)

Status: auto-closed as invalid on 2022/04/03 12:40
Subsystems: block
[Documentation on labels]
Reported-by: syzbot+86a4d699d56e1efda543@syzkaller.appspotmail.com
First crash: 920d, last: 874d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] WARNING in cleanup_srcu_struct (3) 0 (1) 2021/10/23 17:15
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in cleanup_srcu_struct kvm 1 1573d 1569d 0/26 auto-closed as invalid on 2020/05/03 19:34
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 ]------------
ODEBUG: assert_init not available (active state 0) object type: timer_list hint: 0x0
WARNING: CPU: 0 PID: 8815 at lib/debugobjects.c:508 debug_print_object lib/debugobjects.c:505 [inline]
WARNING: CPU: 0 PID: 8815 at lib/debugobjects.c:508 debug_object_assert_init+0x1fa/0x250 lib/debugobjects.c:895
Modules linked in:
CPU: 0 PID: 8815 Comm: syz-executor.3 Not tainted 5.16.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:debug_print_object lib/debugobjects.c:505 [inline]
RIP: 0010:debug_object_assert_init+0x1fa/0x250 lib/debugobjects.c:895
Code: e8 7b 57 b5 fd 4c 8b 45 00 48 c7 c7 20 53 d5 8a 48 c7 c6 80 4f d5 8a 48 c7 c2 60 55 d5 8a 31 c9 49 89 d9 31 c0 e8 a6 5c 33 fd <0f> 0b ff 05 ea bb e3 09 48 83 c5 38 48 89 e8 48 c1 e8 03 42 80 3c
RSP: 0018:ffffc90010a1eed8 EFLAGS: 00010246
RAX: 922a2b6a30585300 RBX: 0000000000000000 RCX: 0000000000040000
RDX: ffffc900056a1000 RSI: 000000000000f534 RDI: 000000000000f535
RBP: ffffffff8a713f80 R08: ffffffff816a0e02 R09: ffffed10173467b1
R10: ffffed10173467b1 R11: 0000000000000000 R12: dffffc0000000000
R13: ffff8880b9a00110 R14: 0000000000000000 R15: ffffffff90de7ca8
FS:  00007f3d191f4700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fde763ce6b8 CR3: 0000000071cb6000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 debug_timer_assert_init kernel/time/timer.c:739 [inline]
 debug_assert_init kernel/time/timer.c:784 [inline]
 try_to_del_timer_sync+0xa5/0x3c0 kernel/time/timer.c:1229
 del_timer_sync+0x238/0x2f0 kernel/time/timer.c:1382
 cleanup_srcu_struct+0x2ca/0x580 kernel/rcu/srcutree.c:379
 blk_mq_hw_sysfs_release+0x6c/0x130 block/blk-mq-sysfs.c:40
 kobject_cleanup+0x1c0/0x280 lib/kobject.c:705
 blk_mq_release+0x255/0x2d0 block/blk-mq.c:3546
 blk_release_queue+0x18f/0x270 block/blk-sysfs.c:799
 kobject_cleanup+0x1c0/0x280 lib/kobject.c:705
 __blk_mq_alloc_disk+0x101/0x150 block/blk-mq.c:3594
 nbd_dev_add+0x360/0xab0 drivers/block/nbd.c:1765
 nbd_genl_connect+0xa66/0x1f50 drivers/block/nbd.c:1948
 genl_family_rcv_msg_doit net/netlink/genetlink.c:731 [inline]
 genl_family_rcv_msg net/netlink/genetlink.c:775 [inline]
 genl_rcv_msg+0x1032/0x1480 net/netlink/genetlink.c:792
 netlink_rcv_skb+0x200/0x470 net/netlink/af_netlink.c:2496
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:803
 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline]
 netlink_unicast+0x814/0x9f0 net/netlink/af_netlink.c:1345
 netlink_sendmsg+0xaea/0xe60 net/netlink/af_netlink.c:1921
 sock_sendmsg_nosec net/socket.c:704 [inline]
 sock_sendmsg net/socket.c:724 [inline]
 ____sys_sendmsg+0x5b9/0x910 net/socket.c:2409
 ___sys_sendmsg net/socket.c:2463 [inline]
 __sys_sendmsg+0x280/0x370 net/socket.c:2492
 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:0x7f3d1a27eae9
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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f3d191f4188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f3d1a391f60 RCX: 00007f3d1a27eae9
RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000006
RBP: 00007f3d1a2d8ff7 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc4bdfc97f R14: 00007f3d191f4300 R15: 0000000000022000
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/12/04 12:39 upstream 12119cfa1052 a617004c .config console log report info ci-upstream-kasan-gce-smack-root WARNING in cleanup_srcu_struct
2021/12/01 14:20 upstream 58e1100fdc59 5fa3eacc .config console log report info ci-upstream-kasan-gce-smack-root WARNING in cleanup_srcu_struct
2021/11/21 12:13 upstream 923dcc5eb0c1 4eb20a4e .config console log report info ci-upstream-kasan-gce-smack-root WARNING in cleanup_srcu_struct
2021/10/19 17:07 upstream 519d81956ee2 24dc29db .config console log report info ci-upstream-kasan-gce-smack-root WARNING in cleanup_srcu_struct
* Struck through repros no longer work on HEAD.