INFO: task syz-executor:6718 blocked for more than 144 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:6718 tgid:6718 ppid:1 task_flags:0x400140 flags:0x00000001 Call trace: __switch_to+0x418/0x87c arch/arm64/kernel/process.c:742 (T) context_switch kernel/sched/core.c:5256 [inline] __schedule+0x1250/0x2a7c kernel/sched/core.c:6863 __schedule_loop kernel/sched/core.c:6945 [inline] schedule+0xb4/0x230 kernel/sched/core.c:6960 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:7017 __mutex_lock_common+0xd04/0x2678 kernel/locking/mutex.c:692 __mutex_lock kernel/locking/mutex.c:776 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:828 new_device_store+0x128/0x594 drivers/net/netdevsim/bus.c:184 bus_attr_store+0x80/0xa4 drivers/base/bus.c:172 sysfs_kf_write+0x1a8/0x23c fs/sysfs/file.c:142 kernfs_fop_write_iter+0x33c/0x4d0 fs/kernfs/file.c:352 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x540/0xa3c fs/read_write.c:686 ksys_write+0x120/0x210 fs/read_write.c:738 __do_sys_write fs/read_write.c:749 [inline] __se_sys_write fs/read_write.c:746 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:746 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x254 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xe8/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x5c/0x26c arch/arm64/kernel/entry-common.c:724 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:743 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 INFO: task syz-executor:6731 blocked for more than 144 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:6731 tgid:6731 ppid:1 task_flags:0x400140 flags:0x00800001 Call trace: __switch_to+0x418/0x87c arch/arm64/kernel/process.c:742 (T) context_switch kernel/sched/core.c:5256 [inline] __schedule+0x1250/0x2a7c kernel/sched/core.c:6863 __schedule_loop kernel/sched/core.c:6945 [inline] schedule+0xb4/0x230 kernel/sched/core.c:6960 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:7017 __mutex_lock_common+0xd04/0x2678 kernel/locking/mutex.c:692 __mutex_lock kernel/locking/mutex.c:776 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:828 del_device_store+0xd4/0x31c drivers/net/netdevsim/bus.c:234 bus_attr_store+0x80/0xa4 drivers/base/bus.c:172 sysfs_kf_write+0x1a8/0x23c fs/sysfs/file.c:142 kernfs_fop_write_iter+0x33c/0x4d0 fs/kernfs/file.c:352 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x540/0xa3c fs/read_write.c:686 ksys_write+0x120/0x210 fs/read_write.c:738 __do_sys_write fs/read_write.c:749 [inline] __se_sys_write fs/read_write.c:746 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:746 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x254 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xe8/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x5c/0x26c arch/arm64/kernel/entry-common.c:724 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:743 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Showing all locks held in the system: 1 lock held by khungtaskd/32: #0: ffff80008fa5b6e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 5 locks held by kworker/u8:5/376: #0: ffff0000c1843148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff80009c4d7be0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff800092ad79d0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf0/0x638 net/core/net_namespace.c:670 #3: ffff800092ae4928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 #4: ffff80008fa611f8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:311 [inline] #4: ffff80008fa611f8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x33c/0x628 kernel/rcu/tree_exp.h:956 3 locks held by kworker/u8:7/713: #0: ffff0000c0031948 ((wq_completion)events_unbound#2){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff80009cad7be0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff800092ae4928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 2 locks held by dhcpcd/6265: #0: ffff800092ac8a88 (vlan_ioctl_mutex){+.+.}-{4:4}, at: sock_ioctl+0x5b4/0x84c net/socket.c:1337 #1: ffff800092ae4928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 2 locks held by getty/6356: #0: ffff0000daf290a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff800099f1e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfc8 drivers/tty/n_tty.c:2211 4 locks held by syz-executor/6718: #0: ffff0000db38a420 ( sb_writers#6){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2681 [inline] sb_writers#6){.+.+}-{0:0}, at: vfs_write+0x24c/0xa3c fs/read_write.c:682 #1: ffff0000c7df9c88 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1b4/0x4d0 fs/kernfs/file.c:343 #2: ffff0000cdf305a8 (kn->active#56){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff0000cdf305a8 (kn->active#56){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1f4/0x4d0 fs/kernfs/file.c:344 #3: ffff800091bf3c68 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: new_device_store+0x128/0x594 drivers/net/netdevsim/bus.c:184 7 locks held by syz-executor/6719: #0: ffff0000db38a420 (sb_writers#6){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2681 [inline] #0: ffff0000db38a420 (sb_writers#6){.+.+}-{0:0}, at: vfs_write+0x24c/0xa3c fs/read_write.c:682 #1: ffff0000cf52f888 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1b4/0x4d0 fs/kernfs/file.c:343 #2: ffff0000cdf30698 (kn->active#55){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff0000cdf30698 (kn->active#55){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1f4/0x4d0 fs/kernfs/file.c:344 #3: ffff800091bf3c68 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd4/0x31c drivers/net/netdevsim/bus.c:234 #4: ffff0000d2fbe0e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:895 [inline] #4: ffff0000d2fbe0e8 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1104 [inline] #4: ffff0000d2fbe0e8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0x9c/0x68c drivers/base/dd.c:1302 #5: ffff0000d2fbf250 (&devlink->lock_key){+.+.}-{4:4}, at: devl_lock+0x24/0x34 net/devlink/core.c:276 #6: ffff800092ae4928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 4 locks held by syz-executor/6731: #0: ffff0000db38a420 (sb_writers#6){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2681 [inline] #0: ffff0000db38a420 (sb_writers#6){.+.+}-{0:0}, at: vfs_write+0x24c/0xa3c fs/read_write.c:682 #1: ffff0000db2c5c88 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1b4/0x4d0 fs/kernfs/file.c:343 #2: ffff0000cdf30698 (kn->active#55){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff0000cdf30698 (kn->active#55){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1f4/0x4d0 fs/kernfs/file.c:344 #3: ffff800091bf3c68 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd4/0x31c drivers/net/netdevsim/bus.c:234 2 locks held by kworker/0:5/6794: 3 locks held by kworker/0:6/6796: #0: ffff0000c0029948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff8000a02a7be0 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff0000c7cb6240 (&data->fib_lock){+.+.}-{4:4}, at: nsim_fib_event_work+0x188/0x308 drivers/net/netdevsim/fib.c:1490 3 locks held by kworker/0:7/6802: #0: ffff0000c0029948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff80009dae7be0 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff0000c8077240 (&data->fib_lock){+.+.}-{4:4}, at: nsim_fib_event_work+0x188/0x308 drivers/net/netdevsim/fib.c:1490 3 locks held by kworker/u9:5/6803: 1 lock held by syz.3.23/6806: #0: ffff80008fa610c0 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x58/0x528 kernel/rcu/tree.c:3816 1 lock held by syz-executor/6807: #0: ffff800092ae4928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #0: ffff800092ae4928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #0: ffff800092ae4928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x71c/0x15e8 net/core/rtnetlink.c:4071 2 locks held by syz-executor/6817: #0: ffff800092ad79d0 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x43c/0x674 net/core/net_namespace.c:577 #1: ffff800092ae4928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 2 locks held by syz-executor/6818: #0: ffff800092ad79d0 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x43c/0x674 net/core/net_namespace.c:577 #1: ffff800092ae4928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 1 lock held by syz-executor/6824: #0: ffff800092ae4928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #0: ffff800092ae4928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #0: ffff800092ae4928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x71c/0x15e8 net/core/rtnetlink.c:4071 1 lock held by syz-executor/6826: #0: ffff800092ae4928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #0: ffff800092ae4928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #0: ffff800092ae4928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x71c/0x15e8 net/core/rtnetlink.c:4071 1 lock held by syz-executor/6843: #0: ffff800092ae4928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 =============================================