INFO: task syz-executor.0:14356 blocked for more than 143 seconds. Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:24632 pid:14356 tgid:14356 ppid:14268 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17d3/0x4a20 kernel/sched/core.c:6736 __schedule_loop kernel/sched/core.c:6813 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6828 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2548 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+0xa7b/0xc90 kernel/workqueue.c:4205 __cancel_work_sync+0x330/0x6d0 kernel/workqueue.c:4304 uhid_dev_destroy drivers/hid/uhid.c:584 [inline] uhid_char_release+0xaf/0x600 drivers/hid/uhid.c:662 __fput+0x42b/0x8a0 fs/file_table.c:422 __do_sys_close fs/open.c:1556 [inline] __se_sys_close fs/open.c:1541 [inline] __x64_sys_close+0x7f/0x110 fs/open.c:1541 do_syscall_64+0xfd/0x240 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f642827cc9a RSP: 002b:00007ffe7a85f7e0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f642827cc9a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f64283ad980 R08: 0000001b2dc20000 R09: 000000000000012f R10: 0000000081360ad3 R11: 0000000000000293 R12: 000000000023047c R13: ffffffffffffffff R14: 00007f6427e00000 R15: 000000000023013b Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e132020 ( rcu_read_lock ){....}-{1:2} , at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] , at: rcu_read_lock include/linux/rcupdate.h:750 [inline] , at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 4 locks held by kworker/u8:7/1089: 1 lock held by dhcpcd/4735: #0: ffffffff8f38da88 ( rtnl_mutex ){+.+.}-{3:3} , at: devinet_ioctl+0x2ce/0x1bc0 net/ipv4/devinet.c:1096 2 locks held by getty/4834: #0: ffff88802a7870a0 ( &tty->ldisc_sem ){++++}-{0:0} , at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000311b2f0 ( &ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 3 locks held by kworker/1:3/5101: 3 locks held by kworker/0:5/5153: 3 locks held by kworker/0:6/5275: 7 locks held by kworker/1:5/18102: 6 locks held by kworker/u8:5/13683: #0: ffff888015acd948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline] #0: ffff888015acd948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x1770 kernel/workqueue.c:3335 #1: ffffc900032b7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline] ffffc900032b7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x1770 kernel/workqueue.c:3335 #2: ffffffff8f381410 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:591 #3: ffff88802c1e40e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #3: ffff88802c1e40e8 (&dev->mutex){....}-{3:3}, at: devl_dev_lock net/devlink/devl_internal.h:108 [inline] #3: ffff88802c1e40e8 (&dev->mutex){....}-{3:3}, at: devlink_pernet_pre_exit+0x13b/0x440 net/devlink/core.c:506 #4: ffff88802c1e3250 (&devlink->lock_key#70){+.+.}-{3:3}, at: devl_lock net/devlink/core.c:276 [inline] #4: ffff88802c1e3250 (&devlink->lock_key#70){+.+.}-{3:3}, at: devl_dev_lock net/devlink/devl_internal.h:109 [inline] #4: ffff88802c1e3250 (&devlink->lock_key#70){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0x14d/0x440 net/devlink/core.c:506 #5: ffffffff8f38da88 (rtnl_mutex){+.+.}-{3:3}, at: nsim_init_netdevsim drivers/net/netdevsim/netdev.c:368 [inline] #5: ffffffff8f38da88 (rtnl_mutex){+.+.}-{3:3}, at: nsim_create+0x357/0x480 drivers/net/netdevsim/netdev.c:434 3 locks held by kworker/1:0/14322: #0: ffff888014c74948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline] #0: ffff888014c74948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x1770 kernel/workqueue.c:3335 #1: ffffc9000347fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline] #1: ffffc9000347fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x1770 kernel/workqueue.c:3335 #2: ffffffff8f38da88 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 3 locks held by kworker/1:7/14323: 3 locks held by kworker/0:7/14334: 7 locks held by syz-executor.4/14941: #0: ffff88802a186420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2853 [inline] #0: ffff88802a186420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x233/0xcb0 fs/read_write.c:586 #1: ffff888025d2e888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325 #2: ffff8880228ecae8 (kn->active#50 ){.+.+}-{0:0} , at: kernfs_fop_write_iter+0x20f/0x500 fs/kernfs/file.c:326 #3: ffffffff8ecc73a8 ( nsim_bus_dev_list_lock ){+.+.}-{3:3} , at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216 #4: ffff88806619f0e8 ( &dev->mutex ){....}-{3:3} , at: device_lock include/linux/device.h:990 [inline] , at: __device_driver_lock drivers/base/dd.c:1095 [inline] , at: device_release_driver_internal+0xce/0x7c0 drivers/base/dd.c:1292 #5: ffff88806619b250 ( &devlink->lock_key