INFO: task dhcpcd:3976 blocked for more than 143 seconds. Not tainted 6.1.147-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:dhcpcd state:D stack:0 pid:3976 ppid:3975 flags:0x00000004 Call trace: __switch_to+0x2f4/0x568 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5244 [inline] __schedule+0xddc/0x1b18 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 rtnl_lock net/core/rtnetlink.c:74 [inline] rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 netlink_rcv_skb+0x208/0x3c4 net/netlink/af_netlink.c:2511 rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:6171 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x60c/0x824 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x6e8/0x9b0 net/netlink/af_netlink.c:1872 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] ____sys_sendmsg+0x5b8/0x918 net/socket.c:2519 ___sys_sendmsg net/socket.c:2573 [inline] __sys_sendmsg+0x25c/0x320 net/socket.c:2602 __do_sys_sendmsg net/socket.c:2611 [inline] __se_sys_sendmsg net/socket.c:2609 [inline] __arm64_sys_sendmsg+0x80/0x94 net/socket.c:2609 __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 INFO: task kworker/u4:6:4420 blocked for more than 143 seconds. Not tainted 6.1.147-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:6 state:D stack:0 pid:4420 ppid:2 flags:0x00000008 Workqueue: netns cleanup_net Call trace: __switch_to+0x2f4/0x568 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5244 [inline] __schedule+0xddc/0x1b18 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 rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 ieee80211_unregister_hw+0x58/0x278 net/mac80211/main.c:1471 mac80211_hwsim_del_radio+0x210/0x3a8 drivers/net/wireless/mac80211_hwsim.c:4688 hwsim_exit_net+0x49c/0x558 drivers/net/wireless/mac80211_hwsim.c:5475 ops_exit_list net/core/net_namespace.c:172 [inline] cleanup_net+0x5c4/0xa74 net/core/net_namespace.c:640 process_one_work+0x7f4/0x13a8 kernel/workqueue.c:2292 worker_thread+0x8c8/0xfbc kernel/workqueue.c:2439 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:849 INFO: task syz-executor:5778 blocked for more than 143 seconds. Not tainted 6.1.147-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:0 pid:5778 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+0xddc/0x1b18 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 new_device_store+0x128/0x4f4 drivers/net/netdevsim/bus.c:160 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 INFO: task syz.8.602:6694 blocked for more than 143 seconds. Not tainted 6.1.147-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.8.602 state:D stack:0 pid:6694 ppid:5417 flags:0x00000001 Call trace: __switch_to+0x2f4/0x568 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5244 [inline] __schedule+0xddc/0x1b18 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 rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 tun_detach drivers/net/tun.c:698 [inline] tun_chr_close+0x44/0x1f8 drivers/net/tun.c:3492 __fput+0x1bc/0x7c0 fs/file_table.c:320 ____fput+0x20/0x30 fs/file_table.c:348 task_work_run+0x1ec/0x270 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x1f70/0x2b0c arch/arm64/kernel/signal.c:1137 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x98/0x138 arch/arm64/kernel/entry-common.c:638 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: ffff800015287770 (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: ffff800015287f90 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xbb4 kernel/rcu/tasks.h:517 2 locks held by ksoftirqd/0/15: 1 lock held by khungtaskd/28: #0: ffff800015286e00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 1 lock held by klogd/3910: 1 lock held by dhcpcd/3976: #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 2 locks held by getty/4068: #0: ffff0000d63e2098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80001cea32f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2ec/0xf9c drivers/tty/n_tty.c:2198 3 locks held by kworker/0:3/4296: #0: ffff0000d5a43938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800020727c20 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 3 locks held by kworker/1:5/4375: #0: ffff0000d5a43938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800020c97c20 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 4 locks held by kworker/u4:6/4420: #0: ffff0000c0845138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800020da7c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff800017712ed0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x12c/0xa74 net/core/net_namespace.c:594 #3: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 3 locks held by kworker/u4:15/5088: #0: ffff0000c002a138 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800020e67c20 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 4 locks held by syz-executor/5778: #0: ffff0000d877e460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23c/0x7c4 fs/read_write.c:580 #1: ffff0000f4aea888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c0/0x478 fs/kernfs/file.c:325 #2: ffff0000d08b00f0 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1dc/0x478 fs/kernfs/file.c:326 #3: ffff800016ac6f88 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: new_device_store+0x128/0x4f4 drivers/net/netdevsim/bus.c:160 1 lock held by syz.6.493/6271: #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 7 locks held by syz-executor/6295: #0: ffff0000d877e460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23c/0x7c4 fs/read_write.c:580 #1: ffff0000f4936488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c0/0x478 fs/kernfs/file.c:325 #2: ffff0000d08b01d8 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1dc/0x478 fs/kernfs/file.c:326 #3: ffff800016ac6f88 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xd4/0x31c drivers/net/netdevsim/bus.c:209 #4: ffff0000db6f50e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #4: ffff0000db6f50e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1080 [inline] #4: ffff0000db6f50e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0x9c/0x6d0 drivers/base/dd.c:1283 #5: ffff0000db6f62f8 (&devlink->lock_key#4){+.+.}-{3:3}, at: devl_lock+0x24/0x34 net/devlink/leftover.c:275 #6: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by syz.8.602/6694: #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by syz.8.602/6697: #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz-executor/6775: #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz-executor/6883: #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz.9.680/6947: #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by syz.9.680/6950: #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz-executor/6954: #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz-executor/6958: #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz-executor/6962: #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz-executor/6967: #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz-executor/6973: #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz-executor/6979: #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz-executor/6983: #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz-executor/6986: #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz-executor/6990: #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 1 lock held by syz-executor/6996: #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80001771f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6ec/0xce4 net/core/rtnetlink.c:6150 =============================================