INFO: task syz-executor:9529 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:0 pid:9529 ppid:1 flags:0x00000001 Call trace: __switch_to+0x2f4/0x550 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5245 [inline] __schedule+0xdd0/0x1b0c kernel/sched/core.c:6562 schedule+0xc4/0x170 kernel/sched/core.c:6638 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6697 __mutex_lock_common+0xafc/0x1f60 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+0xdc/0x32c 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+0x348/0x4c0 fs/kernfs/file.c:352 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x3ec/0x7f0 fs/read_write.c:584 ksys_write+0x12c/0x224 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/0x2b4 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x130 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x128 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 INFO: task syz-executor:9532 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:0 pid:9532 ppid:1 flags:0x00000001 Call trace: __switch_to+0x2f4/0x550 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5245 [inline] __schedule+0xdd0/0x1b0c kernel/sched/core.c:6562 schedule+0xc4/0x170 kernel/sched/core.c:6638 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6697 __mutex_lock_common+0xafc/0x1f60 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+0xdc/0x32c 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+0x348/0x4c0 fs/kernfs/file.c:352 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x3ec/0x7f0 fs/read_write.c:584 ksys_write+0x12c/0x224 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/0x2b4 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x130 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x128 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: ffff8000153f7c30 (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: ffff8000153f8450 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xbb4 kernel/rcu/tasks.h:517 2 locks held by kworker/0:1/14: #0: ffff0000c0021938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff80001ca17c20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 1 lock held by khungtaskd/28: #0: ffff8000153f72c0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 1 lock held by klogd/3925: 4 locks held by dhcpcd/3991: 2 locks held by getty/4080: #0: ffff0000d6a9c098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff8000207db2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2ec/0xfa0 drivers/tty/n_tty.c:2198 3 locks held by kworker/1:6/4374: #0: ffff0000d634a138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff8000217e7c20 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 3 locks held by kworker/0:4/4375: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff8000217f7c20 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 4 locks held by kworker/u4:7/4431: #0: ffff0000c0845138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800021987c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff8000178840d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x134/0xa84 net/core/net_namespace.c:594 #3: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 3 locks held by kworker/u4:11/4782: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800021187c20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 3 locks held by kworker/0:11/5133: #0: ffff0000d634a138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800021d27c20 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 4 locks held by syz-executor/9492: #0: ffff0000d8ed0460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x244/0x7f0 fs/read_write.c:580 #1: ffff0000f334d488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c0/0x4c0 fs/kernfs/file.c:343 #2: ffff0000cff95a00 (kn->active#51){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff0000cff95a00 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x200/0x4c0 fs/kernfs/file.c:344 #3: ffff800016c3a908 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: new_device_store+0x138/0x514 drivers/net/netdevsim/bus.c:160 4 locks held by syz-executor/9529: #0: ffff0000d8ed0460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x244/0x7f0 fs/read_write.c:580 #1: ffff0000f3963088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c0/0x4c0 fs/kernfs/file.c:343 #2: ffff0000cff95ae8 (kn->active#50){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff0000cff95ae8 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x200/0x4c0 fs/kernfs/file.c:344 #3: ffff800016c3a908 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xdc/0x32c drivers/net/netdevsim/bus.c:209 4 locks held by syz-executor/9532: #0: ffff0000d8ed0460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x244/0x7f0 fs/read_write.c:580 #1: ffff0001545a6488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c0/0x4c0 fs/kernfs/file.c:343 #2: ffff0000cff95ae8 (kn->active#50){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff0000cff95ae8 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x200/0x4c0 fs/kernfs/file.c:344 #3: ffff800016c3a908 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xdc/0x32c drivers/net/netdevsim/bus.c:209 7 locks held by syz-executor/9536: #0: ffff0000d8ed0460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x244/0x7f0 fs/read_write.c:580 #1: ffff0000f5739488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c0/0x4c0 fs/kernfs/file.c:343 #2: ffff0000cff95ae8 (kn->active#50){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff0000cff95ae8 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x200/0x4c0 fs/kernfs/file.c:344 #3: ffff800016c3a908 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xdc/0x32c drivers/net/netdevsim/bus.c:209 #4: ffff0000ca42b0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:840 [inline] #4: ffff0000ca42b0e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1080 [inline] #4: ffff0000ca42b0e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0x9c/0x6d0 drivers/base/dd.c:1283 #5: ffff0000d21492f8 (&devlink->lock_key#15){+.+.}-{3:3}, at: devl_lock+0x24/0x34 net/devlink/leftover.c:275 #6: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 4 locks held by syz-executor/9703: #0: ffff0000d8ed0460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x244/0x7f0 fs/read_write.c:580 #1: ffff0000f3965088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c0/0x4c0 fs/kernfs/file.c:343 #2: ffff0000cff95ae8 (kn->active#50){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff0000cff95ae8 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x200/0x4c0 fs/kernfs/file.c:344 #3: ffff800016c3a908 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xdc/0x32c drivers/net/netdevsim/bus.c:209 1 lock held by syz-executor/10010: #0: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x650/0xcdc net/core/rtnetlink.c:6154 1 lock held by syz-executor/10015: #0: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x650/0xcdc net/core/rtnetlink.c:6154 1 lock held by syz-executor/10016: #0: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x650/0xcdc net/core/rtnetlink.c:6154 1 lock held by syz-executor/10025: #0: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x650/0xcdc net/core/rtnetlink.c:6154 1 lock held by syz-executor/10030: #0: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x650/0xcdc net/core/rtnetlink.c:6154 1 lock held by syz-executor/10040: #0: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x650/0xcdc net/core/rtnetlink.c:6154 1 lock held by syz-executor/10045: #0: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x650/0xcdc net/core/rtnetlink.c:6154 1 lock held by syz-executor/10047: #0: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x650/0xcdc net/core/rtnetlink.c:6154 1 lock held by syz-executor/10052: #0: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x650/0xcdc net/core/rtnetlink.c:6154 1 lock held by syz-executor/10057: #0: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x650/0xcdc net/core/rtnetlink.c:6154 2 locks held by dhcpcd/10060: #0: ffff0000e27ae810 (&sb->s_type->i_mutex_key#12){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000e27ae810 (&sb->s_type->i_mutex_key#12){+.+.}-{3:3}, at: __sock_release net/socket.c:653 [inline] #0: ffff0000e27ae810 (&sb->s_type->i_mutex_key#12){+.+.}-{3:3}, at: sock_close+0x7c/0x1f8 net/socket.c:1399 #1: ffff8000153fcf78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #1: ffff8000153fcf78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3fc/0x77c kernel/rcu/tree_exp.h:962 2 locks held by dhcpcd/10061: #0: ffff0000ec61c130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1805 [inline] #0: ffff0000ec61c130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x48/0xb1c net/packet/af_packet.c:3249 #1: ffff8000153fcf78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #1: ffff8000153fcf78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x2b8/0x77c kernel/rcu/tree_exp.h:962 =============================================