INFO: task syz-executor:7170 blocked for more than 143 seconds. Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:0 pid:7170 tgid:7170 ppid:1 flags:0x00000001 Call trace: __switch_to+0x414/0x788 arch/arm64/kernel/process.c:701 (T) context_switch kernel/sched/core.c:5328 [inline] __schedule+0x16e0/0x27d0 kernel/sched/core.c:6693 __schedule_loop kernel/sched/core.c:6770 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6785 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6842 __mutex_lock_common+0xbd8/0x21a0 kernel/locking/mutex.c:684 __mutex_lock kernel/locking/mutex.c:752 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:804 new_device_store+0x170/0x704 drivers/net/netdevsim/bus.c:166 bus_attr_store+0x80/0xa4 drivers/base/bus.c:172 sysfs_kf_write+0x200/0x280 fs/sysfs/file.c:136 kernfs_fop_write_iter+0x334/0x48c fs/kernfs/file.c:334 new_sync_write fs/read_write.c:590 [inline] vfs_write+0x920/0xcf4 fs/read_write.c:683 ksys_write+0x15c/0x26c 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+0x7c/0x90 fs/read_write.c:745 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 Showing all locks held in the system: 3 locks held by ksoftirqd/0/16: 1 lock held by khungtaskd/31: #0: ffff80008faafee0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:336 3 locks held by kworker/u8:7/683: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff80009cda7c20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 #2: ffff8000927f3628 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 6 locks held by kworker/u8:13/4553: #0: ffff0000c1891948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff8000a17a7c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 #2: ffff8000927e7110 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x13c/0x9b4 net/core/net_namespace.c:580 #3: ffff0000cfb440e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #3: ffff0000cfb440e8 (&dev->mutex){....}-{3:3}, at: devl_dev_lock net/devlink/devl_internal.h:108 [inline] #3: ffff0000cfb440e8 (&dev->mutex){....}-{3:3}, at: devlink_pernet_pre_exit+0x114/0x418 net/devlink/core.c:506 #4: ffff0000cfb45250 (&devlink->lock_key#6){+.+.}-{3:3}, at: devl_lock net/devlink/core.c:276 [inline] #4: ffff0000cfb45250 (&devlink->lock_key#6){+.+.}-{3:3}, at: devl_dev_lock net/devlink/devl_internal.h:109 [inline] #4: ffff0000cfb45250 (&devlink->lock_key#6){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0x124/0x418 net/devlink/core.c:506 #5: ffff8000927f3628 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 2 locks held by dhcpcd/6096: #0: ffff800092854970 (cb_lock){++++}-{3:3}, at: genl_rcv+0x28/0x50 net/netlink/genetlink.c:1218 #1: ffff8000927f3628 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 2 locks held by getty/6185: #0: ffff0000d80d80a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009b94b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2211 4 locks held by syz-executor/7170: #0: ffff0000d835a420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2931 [inline] #0: ffff0000d835a420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x354/0xcf4 fs/read_write.c:679 #1: ffff00011f9f7888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:325 #2: ffff0000cc84d788 (kn->active#45){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:326 #3: ffff800091951ae8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: new_device_store+0x170/0x704 drivers/net/netdevsim/bus.c:166 8 locks held by syz-executor/7174: #0: ffff0000d835a420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2931 [inline] #0: ffff0000d835a420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x354/0xcf4 fs/read_write.c:679 #1: ffff0000cfb35888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:325 #2: ffff0000cc84d878 (kn->active#44){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:326 #3: ffff800091951ae8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xec/0x39c drivers/net/netdevsim/bus.c:216 #4: ffff0000c963d0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #4: ffff0000c963d0e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff0000c963d0e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xbc/0x698 drivers/base/dd.c:1293 #5: ffff0000c963e250 (&devlink->lock_key#4){+.+.}-{3:3}, at: devl_lock+0x24/0x34 net/devlink/core.c:276 #6: ffff8000927f3628 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 #7: ffff80008fab5438 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #7: ffff80008fab5438 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x354/0x674 kernel/rcu/tree_exp.h:976 1 lock held by syz-executor/7401: #0: ffff8000927f3628 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz-executor/7406: #0: ffff8000927f3628 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz-executor/7408: #0: ffff8000927f3628 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz-executor/7435: #0: ffff8000927f3628 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffff8000927f3628 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x5e8/0xa9c net/core/rtnetlink.c:6672 1 lock held by syz-executor/7470: #0: ffff8000927f3628 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffff8000927f3628 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x5e8/0xa9c net/core/rtnetlink.c:6672 2 locks held by syz-executor/7476: #0: ffff8000927e7110 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x290/0x4ac net/core/net_namespace.c:490 #1: ffff8000927f3628 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 2 locks held by syz-executor/7479: #0: ffff8000927e7110 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x290/0x4ac net/core/net_namespace.c:490 #1: ffff8000927f3628 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 2 locks held by syz-executor/7481: 2 locks held by syz-executor/7482: #0: ffff8000927e7110 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x290/0x4ac net/core/net_namespace.c:490 #1: ffff8000927f3628 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz-executor/7496: #0: ffff8000927f3628 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffff8000927f3628 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x5e8/0xa9c net/core/rtnetlink.c:6672 =============================================