syzbot


INFO: trying to register non-static key in __timer_delete_sync (2)

Status: fixed on 2024/06/07 18:10
Subsystems: net
[Documentation on labels]
Fix commit: 3c668cef61ad net: hsr: init prune_proxy_timer sooner
First crash: 166d, last: 148d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: trying to register non-static key in __timer_delete_sync net C done 3 604d 657d 0/28 closed as dup on 2023/02/13 08:58

Sample crash report:
INFO: trying to register non-static key.
The code is fine but needs lockdep annotation, or maybe
you didn't initialize this object before use?
turning off the locking correctness validator.
CPU: 1 PID: 1050 Comm: kworker/u8:5 Not tainted 6.9.0-rc5-syzkaller-01536-gba39486d2c43 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
Workqueue: netns cleanup_net
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114
 assign_lock_key+0x238/0x270 kernel/locking/lockdep.c:976
 register_lock_class+0x1cf/0x980 kernel/locking/lockdep.c:1289
 __lock_acquire+0xda/0x1fd0 kernel/locking/lockdep.c:5014
 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754
 __timer_delete_sync+0x148/0x310 kernel/time/timer.c:1648
 del_timer_sync include/linux/timer.h:185 [inline]
 hsr_dellink+0x33/0x80 net/hsr/hsr_netlink.c:132
 default_device_exit_batch+0x956/0xa90 net/core/dev.c:11738
 ops_exit_list net/core/net_namespace.c:175 [inline]
 cleanup_net+0x89d/0xcc0 net/core/net_namespace.c:637
 process_one_work kernel/workqueue.c:3254 [inline]
 process_scheduled_works+0xa10/0x17c0 kernel/workqueue.c:3335
 worker_thread+0x86d/0xd70 kernel/workqueue.c:3416
 kthread+0x2f0/0x390 kernel/kthread.c:388
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
------------[ cut here ]------------
ODEBUG: assert_init not available (active state 0) object: ffff888072684d88 object type: timer_list hint: 0x0
WARNING: CPU: 1 PID: 1050 at lib/debugobjects.c:517 debug_print_object+0x17a/0x1f0 lib/debugobjects.c:514
Modules linked in:
CPU: 1 PID: 1050 Comm: kworker/u8:5 Not tainted 6.9.0-rc5-syzkaller-01536-gba39486d2c43 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
Workqueue: netns cleanup_net
RIP: 0010:debug_print_object+0x17a/0x1f0 lib/debugobjects.c:514
Code: e8 db 75 43 fd 4c 8b 0b 48 c7 c7 00 a8 1f 8c 48 8b 74 24 08 48 89 ea 44 89 e1 4d 89 f8 ff 34 24 e8 9b 41 a1 fc 48 83 c4 08 90 <0f> 0b 90 90 ff 05 cc 12 f2 0a 48 83 c4 10 5b 41 5c 41 5d 41 5e 41
RSP: 0018:ffffc90004aaf658 EFLAGS: 00010282
RAX: 45929f4fb9cdfd00 RBX: ffffffff8bcca4a0 RCX: ffff888022739e00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffffff8c1fa9c0 R08: ffffffff81589b62 R09: fffffbfff1c39b6c
R10: dffffc0000000000 R11: fffffbfff1c39b6c R12: 0000000000000000
R13: ffffffff8c1fa8a8 R14: dffffc0000000000 R15: ffff888072684d88
FS:  0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc3bc9bcc8 CR3: 000000007ef76000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 debug_object_assert_init+0x374/0x440 lib/debugobjects.c:910
 debug_timer_assert_init kernel/time/timer.c:847 [inline]
 debug_assert_init kernel/time/timer.c:892 [inline]
 __try_to_del_timer_sync+0xaa/0x340 kernel/time/timer.c:1505
 __timer_delete_sync+0x245/0x310 kernel/time/timer.c:1666
 del_timer_sync include/linux/timer.h:185 [inline]
 hsr_dellink+0x33/0x80 net/hsr/hsr_netlink.c:132
 default_device_exit_batch+0x956/0xa90 net/core/dev.c:11738
 ops_exit_list net/core/net_namespace.c:175 [inline]
 cleanup_net+0x89d/0xcc0 net/core/net_namespace.c:637
 process_one_work kernel/workqueue.c:3254 [inline]
 process_scheduled_works+0xa10/0x17c0 kernel/workqueue.c:3335
 worker_thread+0x86d/0xd70 kernel/workqueue.c:3416
 kthread+0x2f0/0x390 kernel/kthread.c:388
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (45524):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/14 03:57 bpf-next ba39486d2c43 fdb4c10c .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 01:57 bpf-next ba39486d2c43 fdb4c10c .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/13 20:46 bpf-next ba39486d2c43 fdb4c10c .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/13 12:40 bpf-next 20a759df3bba 9026e142 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/12 18:53 bpf-next fcd1ed89a043 9026e142 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/12 14:25 bpf-next fcd1ed89a043 9026e142 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/11 10:13 bpf-next fcd1ed89a043 9026e142 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/11 03:31 bpf-next fcd1ed89a043 9026e142 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/10 16:00 bpf-next fcd1ed89a043 f7c35481 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/10 10:48 bpf-next fcd1ed89a043 de979bc2 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/09 17:58 bpf-next 009367099eb6 de979bc2 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/09 08:20 bpf-next e612b5c1d3ee 20bf80e1 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/01 23:47 bpf-next 9a1a2cb5a0e3 3ba885bc .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/01 00:28 bpf-next 1bba3b3d373d 9e0e6af1 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 15:23 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 15:12 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 15:00 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 14:52 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 14:39 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 14:30 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 14:20 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 14:11 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 14:02 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 13:51 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 13:43 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 13:35 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 13:25 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 13:16 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 13:10 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 13:00 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 12:46 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 12:35 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 12:22 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 12:08 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 11:57 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 11:45 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 11:34 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 11:20 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 11:10 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 10:55 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 10:45 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 10:31 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 10:19 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 10:07 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 09:55 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 09:48 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 09:37 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 09:26 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 09:13 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 09:03 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 08:53 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 08:39 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 08:28 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 08:18 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 08:11 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/14 08:03 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/04/30 09:31 net-next b3f1a08fcf0d f10afd69 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce INFO: trying to register non-static key in __timer_delete_sync
2024/04/30 07:55 net-next b3f1a08fcf0d 27e33c58 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: trying to register non-static key in __timer_delete_sync
2024/04/26 13:35 net-next fc48de77d69d 059e9963 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce INFO: trying to register non-static key in __timer_delete_sync
2024/05/01 10:46 linux-next d04466706db5 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: trying to register non-static key in __timer_delete_sync
* Struck through repros no longer work on HEAD.