INFO: task syz-executor:3586 blocked for more than 433 seconds. Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:0 pid:3586 tgid:3586 ppid:3585 flags:0x00400008 Call trace: __switch_to+0x204/0x39c arch/arm64/kernel/process.c:606 context_switch kernel/sched/core.c:5328 [inline] __schedule+0xafc/0x2df4 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0xd0/0x304 kernel/sched/core.c:6782 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6839 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x4e8/0x840 kernel/locking/mutex.c:752 mutex_lock_nested+0x24/0x30 kernel/locking/mutex.c:804 device_lock include/linux/device.h:1014 [inline] device_del+0xa0/0x7ac drivers/base/core.c:3826 device_unregister+0x20/0xbc drivers/base/core.c:3905 nsim_bus_dev_del drivers/net/netdevsim/bus.c:462 [inline] del_device_store+0x28c/0x3b8 drivers/net/netdevsim/bus.c:226 bus_attr_store+0x60/0x9c drivers/base/bus.c:172 sysfs_kf_write+0xe0/0x12c fs/sysfs/file.c:136 kernfs_fop_write_iter+0x238/0x3c8 fs/kernfs/file.c:334 new_sync_write fs/read_write.c:590 [inline] vfs_write+0x4b0/0xad0 fs/read_write.c:683 ksys_write+0xf0/0x1dc fs/read_write.c:736 __do_sys_write fs/read_write.c:748 [inline] __se_sys_write fs/read_write.c:745 [inline] __arm64_sys_write+0x6c/0x9c fs/read_write.c:745 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x6c/0x258 arch/arm64/kernel/syscall.c:49 el0_svc_common.constprop.0+0xac/0x230 arch/arm64/kernel/syscall.c:132 do_el0_svc_compat+0x40/0x68 arch/arm64/kernel/syscall.c:157 el0_svc_compat+0x4c/0x17c arch/arm64/kernel/entry-common.c:852 el0t_32_sync_handler+0x98/0x13c arch/arm64/kernel/entry-common.c:862 el0t_32_sync+0x194/0x198 arch/arm64/kernel/entry.S:603 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffff800086de64e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x48/0x340 kernel/locking/lockdep.c:6714 6 locks held by kworker/u8:8/1346: #0: ffff00000d95a148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x6e4/0x189c kernel/workqueue.c:3204 #1: ffff80008eb97ce0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x708/0x189c kernel/workqueue.c:3204 #2: ffff800088166770 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xcc/0x890 net/core/net_namespace.c:580 #3: ffff00001c67e0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #3: ffff00001c67e0e8 (&dev->mutex){....}-{3:3}, at: devl_dev_lock net/devlink/devl_internal.h:108 [inline] #3: ffff00001c67e0e8 (&dev->mutex){....}-{3:3}, at: devlink_pernet_pre_exit+0x108/0x23c net/devlink/core.c:506 #4: ffff00001d507250 (&devlink->lock_key#2){+.+.}-{3:3}, at: devl_lock net/devlink/core.c:276 [inline] #4: ffff00001d507250 (&devlink->lock_key#2){+.+.}-{3:3}, at: devl_dev_lock net/devlink/devl_internal.h:109 [inline] #4: ffff00001d507250 (&devlink->lock_key#2){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0x114/0x23c net/devlink/core.c:506 #5: ffff800086deee40 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x4c/0x594 kernel/rcu/tree.c:4562 2 locks held by getty/3220: #0: ffff0000182500a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80008ce8b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x93c/0xe9c drivers/tty/n_tty.c:2211 4 locks held by kworker/1:3/3282: 5 locks held by syz-executor/3586: #0: ffff0000173da420 (sb_writers#8){.+.+}-{0:0}, at: __sb_start_write include/linux/fs.h:1716 [inline] #0: ffff0000173da420 (sb_writers#8){.+.+}-{0:0}, at: sb_start_write include/linux/fs.h:1852 [inline] #0: ffff0000173da420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2931 [inline] #0: ffff0000173da420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x66c/0xad0 fs/read_write.c:679 #1: ffff00001d453888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1ac/0x3c8 fs/kernfs/file.c:325 #2: ffff000016d95a58 (kn->active#35){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1c8/0x3c8 fs/kernfs/file.c:326 #3: ffff80008796bbe8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xbc/0x3b8 drivers/net/netdevsim/bus.c:216 #4: ffff00001c67e0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #4: ffff00001c67e0e8 (&dev->mutex){....}-{3:3}, at: device_del+0xa0/0x7ac drivers/base/core.c:3826 4 locks held by syz-executor/3625: #0: ffff0000173da420 (sb_writers#8){.+.+}-{0:0}, at: __sb_start_write include/linux/fs.h:1716 [inline] #0: ffff0000173da420 (sb_writers#8){.+.+}-{0:0}, at: sb_start_write include/linux/fs.h:1852 [inline] #0: ffff0000173da420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2931 [inline] #0: ffff0000173da420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x66c/0xad0 fs/read_write.c:679 #1: ffff0000224d7c88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1ac/0x3c8 fs/kernfs/file.c:325 #2: ffff000016d95a58 (kn->active#35){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1c8/0x3c8 fs/kernfs/file.c:326 #3: ffff80008796bbe8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xbc/0x3b8 drivers/net/netdevsim/bus.c:216 =============================================