syzbot


net test error: INFO: trying to register non-static key in inet_csk_listen_stop

Status: fixed on 2024/03/27 19:12
Subsystems: net
[Documentation on labels]
Fix commit: 435e202d645c ipv6: init the accept_queue's spinlocks in inet6_create
First crash: 124d, last: 121d

Sample crash report:
netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
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: 0 PID: 143 Comm: kworker/u4:5 Not tainted 6.7.0-syzkaller-12290-g234ec0b6034b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Workqueue: netns cleanup_net
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
 assign_lock_key kernel/locking/lockdep.c:976 [inline]
 register_lock_class+0xc26/0x1230 kernel/locking/lockdep.c:1289
 __lock_acquire+0x112/0x3b30 kernel/locking/lockdep.c:5014
 lock_acquire kernel/locking/lockdep.c:5754 [inline]
 lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719
 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline]
 _raw_spin_lock_bh+0x33/0x40 kernel/locking/spinlock.c:178
 spin_lock_bh include/linux/spinlock.h:356 [inline]
 reqsk_queue_remove include/net/request_sock.h:205 [inline]
 inet_csk_listen_stop+0x35a/0x11d0 net/ipv4/inet_connection_sock.c:1385
 __tcp_close+0xc63/0xfd0 net/ipv4/tcp.c:2762
 tcp_close+0x2d/0xc0 net/ipv4/tcp.c:2921
 inet_release+0x132/0x270 net/ipv4/af_inet.c:436
 inet6_release+0x4f/0x70 net/ipv6/af_inet6.c:485
 __sock_release net/socket.c:659 [inline]
 sock_release+0x8b/0x1d0 net/socket.c:687
 rds_tcp_listen_stop+0x114/0x150 net/rds/tcp_listen.c:349
 rds_tcp_kill_sock net/rds/tcp.c:614 [inline]
 rds_tcp_exit_net+0xcc/0x810 net/rds/tcp.c:637
 ops_exit_list+0xb0/0x170 net/core/net_namespace.c:170
 cleanup_net+0x505/0xb20 net/core/net_namespace.c:618
 process_one_work+0x886/0x15d0 kernel/workqueue.c:2633
 process_scheduled_works kernel/workqueue.c:2706 [inline]
 worker_thread+0x8b9/0x1290 kernel/workqueue.c:2787
 kthread+0x2c6/0x3a0 kernel/kthread.c:388
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147

Crashes (21):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/23 11:29 net 234ec0b6034b 1c0ecc51 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce net test error: INFO: trying to register non-static key in inet_csk_listen_stop
2024/01/23 11:29 net 234ec0b6034b 1c0ecc51 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce net test error: INFO: trying to register non-static key in inet_csk_listen_stop
2024/01/23 10:45 net 97de5a15edf2 1c0ecc51 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce net test error: INFO: trying to register non-static key in inet_csk_listen_stop
2024/01/23 10:45 net 97de5a15edf2 1c0ecc51 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce net test error: INFO: trying to register non-static key in inet_csk_listen_stop
2024/01/22 23:45 net 13e788deb734 1c0ecc51 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce net test error: INFO: trying to register non-static key in inet_csk_listen_stop
2024/01/22 23:44 net 13e788deb734 1c0ecc51 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce net test error: INFO: trying to register non-static key in inet_csk_listen_stop
2024/01/22 13:09 net 13e788deb734 9bd8dcda .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce net test error: INFO: trying to register non-static key in inet_csk_listen_stop
2024/01/22 13:09 net 13e788deb734 9bd8dcda .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce net test error: INFO: trying to register non-static key in inet_csk_listen_stop
2024/01/22 13:08 net 13e788deb734 9bd8dcda .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce net test error: INFO: trying to register non-static key in inet_csk_listen_stop
2024/01/22 11:57 net 94fa82b095c7 9bd8dcda .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce net test error: INFO: trying to register non-static key in inet_csk_listen_stop
2024/01/22 11:57 net 94fa82b095c7 9bd8dcda .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce net test error: INFO: trying to register non-static key in inet_csk_listen_stop
2024/01/22 11:57 net 94fa82b095c7 9bd8dcda .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce net test error: INFO: trying to register non-static key in inet_csk_listen_stop
2024/01/22 02:29 net d09486a04f5d 9bd8dcda .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce net test error: INFO: trying to register non-static key in inet_csk_listen_stop
2024/01/22 02:29 net d09486a04f5d 9bd8dcda .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce net test error: INFO: trying to register non-static key in inet_csk_listen_stop
2024/01/22 02:29 net d09486a04f5d 9bd8dcda .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce net test error: INFO: trying to register non-static key in inet_csk_listen_stop
2024/01/21 18:44 net 359724fa3ab7 9bd8dcda .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce net test error: INFO: trying to register non-static key in inet_csk_listen_stop
2024/01/21 18:44 net 359724fa3ab7 9bd8dcda .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce net test error: INFO: trying to register non-static key in inet_csk_listen_stop
2024/01/21 18:44 net 359724fa3ab7 9bd8dcda .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce net test error: INFO: trying to register non-static key in inet_csk_listen_stop
2024/01/20 16:34 net e3f9bed9bee2 9bd8dcda .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce net test error: INFO: trying to register non-static key in inet_csk_listen_stop
2024/01/20 16:34 net e3f9bed9bee2 9bd8dcda .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce net test error: INFO: trying to register non-static key in inet_csk_listen_stop
2024/01/20 16:34 net e3f9bed9bee2 9bd8dcda .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce net test error: INFO: trying to register non-static key in inet_csk_listen_stop
* Struck through repros no longer work on HEAD.