INFO: task syz-executor:9708 blocked for more than 143 seconds. Not tainted 6.1.137-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:0 pid:9708 ppid:1 flags:0x00000001 Call trace: __switch_to+0x2f4/0x568 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5244 [inline] __schedule+0xdd4/0x1b2c kernel/sched/core.c:6561 schedule+0xc4/0x170 kernel/sched/core.c:6637 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6696 __mutex_lock_common+0xad4/0x1f38 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799 del_device_store+0xd4/0x31c drivers/net/netdevsim/bus.c:209 bus_attr_store+0x80/0xa4 drivers/base/bus.c:124 sysfs_kf_write+0x1f8/0x278 fs/sysfs/file.c:136 kernfs_fop_write_iter+0x320/0x478 fs/kernfs/file.c:334 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x5ac/0x7c4 fs/read_write.c:584 ksys_write+0x120/0x210 fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:646 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x138 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffff8000152476b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xbb4 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffff800015247ed0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xbb4 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/28: #0: ffff800015246d40 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 2 locks held by kworker/u4:4/275: 4 locks held by kworker/u4:5/1777: #0: ffff0001b3e29118 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:537 [inline] #0: ffff0001b3e29118 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1355 [inline] #0: ffff0001b3e29118 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1645 [inline] #0: ffff0001b3e29118 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x2b8/0x1b2c kernel/sched/core.c:6477 #1: ffff0001b3e15b88 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x380/0x608 kernel/sched/psi.c:999 #2: ffff0001b3e16758 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x11c/0x224 kernel/time/timer.c:999 #3: ffff80001c4c7478 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x7c/0x468 lib/debugobjects.c:698 1 lock held by klogd/3903: 1 lock held by dhcpcd/3968: #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 2 locks held by getty/4059: #0: ffff0000d682c098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80001ce702f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2ec/0xf9c drivers/tty/n_tty.c:2198 2 locks held by sshd/4284: 3 locks held by kworker/1:8/4613: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800020cd7c20 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 3 locks held by kworker/1:14/4703: #0: ffff0000d06c0d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800020d87c20 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 4 locks held by kworker/u4:8/5536: #0: ffff0000c03dd138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800023ac7c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff8000176cc8d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x12c/0xa74 net/core/net_namespace.c:594 #3: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 3 locks held by kworker/u4:9/7310: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff8000224a7c20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 3 locks held by kworker/0:29/8592: #0: ffff0000d06c0d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff8000210a7c20 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 7 locks held by syz-executor/9675: #0: ffff0000d8a5c460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23c/0x7c4 fs/read_write.c:580 #1: ffff0000d1f04c88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c0/0x478 fs/kernfs/file.c:325 #2: ffff0000ce35a660 (kn->active#45){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1dc/0x478 fs/kernfs/file.c:326 #3: ffff800016a85ec8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xd4/0x31c drivers/net/netdevsim/bus.c:209 #4: ffff0001129350e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #4: ffff0001129350e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1080 [inline] #4: ffff0001129350e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0x9c/0x6d0 drivers/base/dd.c:1283 #5: ffff0001129362f8 (&devlink->lock_key#11){+.+.}-{3:3}, at: devl_lock+0x24/0x34 net/devlink/leftover.c:275 #6: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 4 locks held by syz-executor/9708: #0: ffff0000d8a5c460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23c/0x7c4 fs/read_write.c:580 #1: ffff0000d1324488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c0/0x478 fs/kernfs/file.c:325 #2: ffff0000ce35a660 (kn->active#45){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1dc/0x478 fs/kernfs/file.c:326 #3: ffff800016a85ec8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xd4/0x31c drivers/net/netdevsim/bus.c:209 1 lock held by syz-executor/9949: #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz-executor/10036: #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: __rtnl_newlink net/core/rtnetlink.c:3632 [inline] #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_newlink+0x880/0x1a1c net/core/rtnetlink.c:3655 1 lock held by syz-executor/10039: #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz-executor/10083: #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 3 locks held by syz.0.1509/10205: #0: ffff800017734bf0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x28/0x50 net/netlink/genetlink.c:860 #1: ffff800017734a08 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline] #1: ffff800017734a08 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0xec/0x62c net/netlink/genetlink.c:848 #2: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by syz-executor/10208: #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz-executor/10211: #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz-executor/10221: #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz-executor/10223: #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz-executor/10225: #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz-executor/10237: #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz-executor/10240: #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz-executor/10249: #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz-executor/10253: #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz-executor/10256: #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff8000176d8f48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 =============================================