syzbot


WARNING: ODEBUG bug in __cancel_work (2)

Status: upstream: reported on 2024/10/14 14:58
Subsystems: nfs
[Documentation on labels]
Reported-by: syzbot+3e0cda9a4186a611611b@syzkaller.appspotmail.com
First crash: 80d, last: 80d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [nfs?] WARNING: ODEBUG bug in __cancel_work (2) 0 (1) 2024/10/14 14:58
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING: ODEBUG bug in __cancel_work C 1362 661d 1604d 0/1 upstream: reported C repro on 2020/07/31 03:33
upstream WARNING: ODEBUG bug in __cancel_work bluetooth C inconclusive 1 859d 855d 22/28 fixed on 2023/02/24 13:50

Sample crash report:
svc: failed to register nfsdv3 RPC service (errno 111).
svc: failed to register nfsaclv3 RPC service (errno 111).
------------[ cut here ]------------
ODEBUG: assert_init not available (active state 0) object: ffffffff9a462b08 object type: timer_list hint: 0x0
WARNING: CPU: 1 PID: 6772 at lib/debugobjects.c:514 debug_print_object+0x1a3/0x2b0 lib/debugobjects.c:514
Modules linked in:
CPU: 1 UID: 0 PID: 6772 Comm: syz.1.278 Not tainted 6.12.0-rc1-syzkaller-00031-ge32cde8d2bd7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:debug_print_object+0x1a3/0x2b0 lib/debugobjects.c:514
Code: fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 54 48 8b 14 dd 60 32 b1 8b 41 56 4c 89 e6 48 c7 c7 c0 25 b1 8b e8 9e 72 c0 fc 90 <0f> 0b 90 90 58 83 05 ed 42 8f 0b 01 48 83 c4 18 5b 5d 41 5c 41 5d
RSP: 0018:ffffc90004277158 EFLAGS: 00010082
RAX: 0000000000000000 RBX: 0000000000000005 RCX: ffffffff814e2a49
RDX: ffff888026c81e00 RSI: ffffffff814e2a56 RDI: 0000000000000001
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffffffff8bb12ca0
R13: ffffffff8b4f6c60 R14: 0000000000000000 R15: ffffc90004277218
FS:  00007f08550c46c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555559c1808 CR3: 000000007ff7a000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 debug_object_assert_init+0x249/0x370 lib/debugobjects.c:910
 debug_timer_assert_init kernel/time/timer.c:846 [inline]
 debug_assert_init kernel/time/timer.c:891 [inline]
 __timer_delete+0x81/0x1c0 kernel/time/timer.c:1413
 del_timer include/linux/timer.h:202 [inline]
 try_to_grab_pending+0x7d/0x850 kernel/workqueue.c:2064
 work_grab_pending kernel/workqueue.c:2157 [inline]
 __cancel_work+0xac/0x370 kernel/workqueue.c:4308
 __cancel_work_sync+0x1d/0x130 kernel/workqueue.c:4325
 nfsd_file_cache_shutdown+0xc8/0x4e0 fs/nfsd/filecache.c:928
 nfsd_shutdown_generic fs/nfsd/nfssvc.c:314 [inline]
 nfsd_shutdown_generic fs/nfsd/nfssvc.c:308 [inline]
 nfsd_startup_net fs/nfsd/nfssvc.c:429 [inline]
 nfsd_svc+0x6a9/0x940 fs/nfsd/nfssvc.c:820
 nfsd_nl_threads_set_doit+0x535/0xbe0 fs/nfsd/nfsctl.c:1722
 genl_family_rcv_msg_doit+0x202/0x2f0 net/netlink/genetlink.c:1115
 genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline]
 genl_rcv_msg+0x565/0x800 net/netlink/genetlink.c:1210
 netlink_rcv_skb+0x165/0x410 net/netlink/af_netlink.c:2550
 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219
 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline]
 netlink_unicast+0x53c/0x7f0 net/netlink/af_netlink.c:1357
 netlink_sendmsg+0x8b8/0xd70 net/netlink/af_netlink.c:1901
 sock_sendmsg_nosec net/socket.c:729 [inline]
 __sock_sendmsg net/socket.c:744 [inline]
 ____sys_sendmsg+0x9ae/0xb40 net/socket.c:2602
 ___sys_sendmsg+0x135/0x1e0 net/socket.c:2656
 __sys_sendmsg+0x117/0x1f0 net/socket.c:2685
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f085437dff9
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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f08550c4038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f0854535f80 RCX: 00007f085437dff9
RDX: 000000002000c014 RSI: 0000000020000140 RDI: 0000000000000004
RBP: 00007f08543f0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f0854535f80 R15: 00007ffe830ff138
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/01 20:47 upstream e32cde8d2bd7 e9f6e118 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING: ODEBUG bug in __cancel_work
* Struck through repros no longer work on HEAD.