INFO: task syz.4.1191:10418 blocked for more than 143 seconds. Not tainted 6.13.0-rc5-syzkaller-00142-g8ce4f287524c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.1191 state:D stack:25720 pid:10418 tgid:10417 ppid:5846 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_timeout+0xb0/0x290 kernel/time/sleep_timeout.c:75 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion+0x355/0x620 kernel/sched/completion.c:148 __flush_work+0xa37/0xc50 kernel/workqueue.c:4231 __cancel_work_sync+0xbc/0x110 kernel/workqueue.c:4351 htable_put+0x1e4/0x250 net/netfilter/xt_hashlimit.c:429 cleanup_match net/ipv6/netfilter/ip6_tables.c:477 [inline] cleanup_entry+0x20f/0x4c0 net/ipv6/netfilter/ip6_tables.c:661 translate_table+0x213c/0x2330 net/ipv6/netfilter/ip6_tables.c:744 do_replace net/ipv6/netfilter/ip6_tables.c:1154 [inline] do_ip6t_set_ctl+0xe4c/0x1270 net/ipv6/netfilter/ip6_tables.c:1644 nf_setsockopt+0x295/0x2c0 net/netfilter/nf_sockopt.c:101 rawv6_setsockopt+0x327/0x740 net/ipv6/raw.c:1054 do_sock_setsockopt+0x3af/0x720 net/socket.c:2313 __sys_setsockopt net/socket.c:2338 [inline] __do_sys_setsockopt net/socket.c:2344 [inline] __se_sys_setsockopt net/socket.c:2341 [inline] __x64_sys_setsockopt+0x1ee/0x280 net/socket.c:2341 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd76bf85d29 RSP: 002b:00007fd76ce24038 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007fd76c175fa0 RCX: 00007fd76bf85d29 RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003 RBP: 00007fd76c001b08 R08: 0000000000000488 R09: 0000000000000000 R10: 0000000020000b00 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd76c175fa0 R15: 00007ffc6c810058 Showing all locks held in the system: 2 locks held by kworker/0:0/8: 3 locks held by kworker/u8:0/11: #0: ffff8880307ec948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff8880307ec948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc90000107d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90000107d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffffffff8fcb2d08 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4215 3 locks held by kworker/u8:1/12: #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc90000117d00 ((work_completion)(&pool->idle_cull_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90000117d00 ((work_completion)(&pool->idle_cull_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: idle_cull_fn+0xd5/0x760 kernel/workqueue.c:2951 1 lock held by kworker/R-mm_pe/13: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2669 1 lock held by khungtaskd/30: #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 4 locks held by kworker/u8:3/52: #0: ffff88801baed948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801baed948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc90000bc7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90000bc7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffffffff8fca6850 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x16a/0xd50 net/core/net_namespace.c:602 #3: ffff888058ff14e8 (&wg->device_update_lock){+.+.}-{4:4}, at: wg_destruct+0x110/0x2e0 drivers/net/wireguard/device.c:249 7 locks held by kworker/0:2/973: 2 locks held by kworker/u8:7/3484: 3 locks held by kworker/u8:8/3537: #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc9000c6f7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc9000c6f7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffffffff8fcb2d08 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:281 2 locks held by getty/5590: #0: ffff88823bf600a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 2 locks held by kworker/0:3/5836: 1 lock held by kworker/0:7/5885: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2669 1 lock held by kworker/R-wg-cr/9001: 1 lock held by kworker/R-wg-cr/10191: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2669 1 lock held by kworker/R-wg-cr/10192: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2669 1 lock held by kworker/R-wg-cr/10195: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2727 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xaf5/0x10a0 kernel/workqueue.c:3526 1 lock held by kworker/R-wg-cr/10337: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2669 1 lock held by kworker/R-wg-cr/10338: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2669 1 lock held by kworker/R-wg-cr/10343: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2669 1 lock held by kworker/R-wg-cr/10453: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2727 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xaf5/0x10a0 kernel/workqueue.c:3526 1 lock held by kworker/R-wg-cr/10454: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2727 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xaf5/0x10a0 kernel/workqueue.c:3526 1 lock held by kworker/R-wg-cr/10456: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2727 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xaf5/0x10a0 kernel/workqueue.c:3526 1 lock held by kworker/R-wg-cr/10495: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2727 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xaf5/0x10a0 kernel/workqueue.c:3526 1 lock held by kworker/R-wg-cr/10496: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2727 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xaf5/0x10a0 kernel/workqueue.c:3526 1 lock held by kworker/R-wg-cr/10497: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2727 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xaf5/0x10a0 kernel/workqueue.c:3526 1 lock held by kworker/R-wg-cr/10498: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2727 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xaf5/0x10a0 kernel/workqueue.c:3526 1 lock held by kworker/R-wg-cr/10499: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2727 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xaf5/0x10a0 kernel/workqueue.c:3526 1 lock held by kworker/R-wg-cr/10500: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2727 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xaf5/0x10a0 kernel/workqueue.c:3526 1 lock held by kworker/R-wg-cr/10501: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2727 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xaf5/0x10a0 kernel/workqueue.c:3526 1 lock held by kworker/R-wg-cr/10502: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x31/0x390 kernel/workqueue.c:2669 1 lock held by kworker/R-wg-cr/10503: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2727 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xaf5/0x10a0 kernel/workqueue.c:3526 1 lock held by kworker/R-wg-cr/10514: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2727 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xaf5/0x10a0 kernel/workqueue.c:3526 1 lock held by kworker/R-wg-cr/10515: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2727 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xaf5/0x10a0 kernel/workqueue.c:3526 1 lock held by kworker/R-wg-cr/10516: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2727 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xaf5/0x10a0 kernel/workqueue.c:3526 1 lock held by syz-executor/10606: #0: ffffffff8fcb2d08 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:128 [inline] #0: ffffffff8fcb2d08 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x47e/0x1bd0 net/ipv4/devinet.c:987 1 lock held by syz-executor/10610: #0: ffffffff8fcb2d08 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fcb2d08 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:326 [inline] #0: ffffffff8fcb2d08 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xce2/0x2210 net/core/rtnetlink.c:4011 1 lock held by syz-executor/10612: #0: ffffffff8fcb2d08 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fcb2d08 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:326 [inline] #0: ffffffff8fcb2d08 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xce2/0x2210 net/core/rtnetlink.c:4011 1 lock held by kworker/R-bond0/10618: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: set_pf_worker kernel/workqueue.c:3316 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xd0/0x10a0 kernel/workqueue.c:3443 1 lock held by kworker/R-bond0/10621: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: set_pf_worker kernel/workqueue.c:3316 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xd0/0x10a0 kernel/workqueue.c:3443 1 lock held by kworker/R-bond0/10623: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: set_pf_worker kernel/workqueue.c:3316 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xd0/0x10a0 kernel/workqueue.c:3443 1 lock held by kworker/R-bond0/10624: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: set_pf_worker kernel/workqueue.c:3316 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xd0/0x10a0 kernel/workqueue.c:3443 1 lock held by kworker/R-wg-cr/10625: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: set_pf_worker kernel/workqueue.c:3316 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xd0/0x10a0 kernel/workqueue.c:3443 1 lock held by kworker/R-wg-cr/10628: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: set_pf_worker kernel/workqueue.c:3316 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xd0/0x10a0 kernel/workqueue.c:3443 1 lock held by kworker/R-wg-cr/10629: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: set_pf_worker kernel/workqueue.c:3316 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xd0/0x10a0 kernel/workqueue.c:3443 1 lock held by kworker/R-wg-cr/10630: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: set_pf_worker kernel/workqueue.c:3316 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xd0/0x10a0 kernel/workqueue.c:3443 1 lock held by kworker/R-wg-cr/10631: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: set_pf_worker kernel/workqueue.c:3316 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xd0/0x10a0 kernel/workqueue.c:3443 1 lock held by kworker/R-wg-cr/10632: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: set_pf_worker kernel/workqueue.c:3316 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xd0/0x10a0 kernel/workqueue.c:3443 1 lock held by kworker/R-wg-cr/10633: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: set_pf_worker kernel/workqueue.c:3316 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xd0/0x10a0 kernel/workqueue.c:3443 1 lock held by kworker/R-wg-cr/10634: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: set_pf_worker kernel/workqueue.c:3316 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xd0/0x10a0 kernel/workqueue.c:3443 1 lock held by kworker/R-wg-cr/10635: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: set_pf_worker kernel/workqueue.c:3316 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xd0/0x10a0 kernel/workqueue.c:3443 1 lock held by kworker/R-wg-cr/10636: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: set_pf_worker kernel/workqueue.c:3316 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xd0/0x10a0 kernel/workqueue.c:3443 1 lock held by kworker/R-wg-cr/10637: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: set_pf_worker kernel/workqueue.c:3316 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xd0/0x10a0 kernel/workqueue.c:3443 1 lock held by kworker/R-wg-cr/10638: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: set_pf_worker kernel/workqueue.c:3316 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xd0/0x10a0 kernel/workqueue.c:3443 8 locks held by syz-executor/10640: #0: ffff88803518c420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2964 [inline] #0: ffff88803518c420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x225/0xd30 fs/read_write.c:675 #1: ffff88804402f888 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1ea/0x500 fs/kernfs/file.c:325 #2: ffff888026a17968 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20e/0x500 fs/kernfs/file.c:326 #3: ffffffff8f55e7e8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216 #4: ffff88806df880e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline] #4: ffff88806df880e8 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff88806df880e8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xce/0x7c0 drivers/base/dd.c:1293 #5: ffff88806df8c250 (&devlink->lock_key#32){+.+.}-{4:4}, at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1675 #6: ffffffff8fcb2d08 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0x71/0x5c0 drivers/net/netdevsim/netdev.c:816 #7: ffffffff8e7d2ed0 (cpu_hotplug_lock){++++}-{0:0}, at: flush_all_backlogs net/core/dev.c:6033 [inline] #7: ffffffff8e7d2ed0 (cpu_hotplug_lock){++++}-{0:0}, at: unregister_netdevice_many_notify+0x5ea/0x1da0 net/core/dev.c:11509 1 lock held by kworker/R-bond0/10643: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: set_pf_worker kernel/workqueue.c:3316 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xd0/0x10a0 kernel/workqueue.c:3443 1 lock held by kworker/R-wg-cr/10645: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: set_pf_worker kernel/workqueue.c:3316 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xd0/0x10a0 kernel/workqueue.c:3443 1 lock held by kworker/R-wg-cr/10646: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: set_pf_worker kernel/workqueue.c:3316 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xd0/0x10a0 kernel/workqueue.c:3443 1 lock held by kworker/R-wg-cr/10647: #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: set_pf_worker kernel/workqueue.c:3316 [inline] #0: ffffffff8e7e3348 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0xd0/0x10a0 kernel/workqueue.c:3443 1 lock held by syz-executor/10649: #0: ffffffff8fcb2d08 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:128 [inline] #0: ffffffff8fcb2d08 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x47e/0x1bd0 net/ipv4/devinet.c:987 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc5-syzkaller-00142-g8ce4f287524c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:234 [inline] watchdog+0xff6/0x1040 kernel/hung_task.c:397 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 973 Comm: kworker/0:2 Not tainted 6.13.0-rc5-syzkaller-00142-g8ce4f287524c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_power_efficient htable_gc RIP: 0010:__read_once_word_nocheck+0x0/0x10 include/asm-generic/rwonce.h:67 Code: e8 a5 04 ba 00 48 ba 00 00 00 00 00 fc ff df e9 9f fc ff ff 66 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <48> 8b 07 c3 cc cc cc cc 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 RSP: 0018:ffffc90000007390 EFLAGS: 00000283 RAX: ffffc90003aafa58 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: ffffc90003aa8000 RDI: ffffc90003aafa50 RBP: ffffc900000074c8 R08: ffffc90003aafa50 R09: 0000000000000000 R10: ffffc90000007510 R11: fffff52000000ea4 R12: 1ffff92000000e99 R13: 1ffff92000000e9a R14: ffffc900000074c0 R15: ffffc90003ab0000 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb03df47ab8 CR3: 000000000e736000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: deref_stack_reg+0x17c/0x210 arch/x86/kernel/unwind_orc.c:406 unwind_next_frame+0x1799/0x22d0 arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:582 poison_slab_object mm/kasan/common.c:247 [inline] __kasan_slab_free+0x59/0x70 mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:233 [inline] slab_free_hook mm/slub.c:2353 [inline] slab_free mm/slub.c:4613 [inline] kmem_cache_free+0x195/0x410 mm/slub.c:4715 can_receive+0x3dc/0x480 net/can/af_can.c:669 canfd_rcv+0x144/0x260 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5674 [inline] __netif_receive_skb+0x2e0/0x650 net/core/dev.c:5787 process_backlog+0x662/0x15b0 net/core/dev.c:6119 __napi_poll+0xcb/0x490 net/core/dev.c:6885 napi_poll net/core/dev.c:6954 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:7076 handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561 do_softirq+0x11b/0x1e0 kernel/softirq.c:462 __local_bh_enable_ip+0x1bb/0x200 kernel/softirq.c:389 spin_unlock_bh include/linux/spinlock.h:396 [inline] htable_selective_cleanup+0x25f/0x310 net/netfilter/xt_hashlimit.c:374 htable_gc+0x1f/0xa0 net/netfilter/xt_hashlimit.c:385 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244