INFO: task syz-executor:6664 blocked for more than 149 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:6664 tgid:6664 ppid:6658 task_flags:0x400140 flags:0x00000000 Call trace: __switch_to+0x418/0x87c arch/arm64/kernel/process.c:741 (T) context_switch kernel/sched/core.c:5357 [inline] __schedule+0x13b0/0x2864 kernel/sched/core.c:6961 __schedule_loop kernel/sched/core.c:7043 [inline] schedule+0xb4/0x230 kernel/sched/core.c:7058 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:7115 __mutex_lock_common+0xd04/0x2678 kernel/locking/mutex.c:676 __mutex_lock kernel/locking/mutex.c:760 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:812 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:145 kernfs_fop_write_iter+0x314/0x488 fs/kernfs/file.c:334 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/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+0x5c/0x254 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:763 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 INFO: task syz-executor:6671 blocked for more than 149 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:6671 tgid:6671 ppid:6669 task_flags:0x400140 flags:0x00000010 Call trace: __switch_to+0x418/0x87c arch/arm64/kernel/process.c:741 (T) context_switch kernel/sched/core.c:5357 [inline] __schedule+0x13b0/0x2864 kernel/sched/core.c:6961 __schedule_loop kernel/sched/core.c:7043 [inline] schedule+0xb4/0x230 kernel/sched/core.c:7058 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:7115 __mutex_lock_common+0xd04/0x2678 kernel/locking/mutex.c:676 __mutex_lock kernel/locking/mutex.c:760 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:812 device_lock include/linux/device.h:911 [inline] device_del+0xa4/0x808 drivers/base/core.c:3840 device_unregister+0x2c/0xcc drivers/base/core.c:3919 nsim_bus_dev_del drivers/net/netdevsim/bus.c:483 [inline] del_device_store+0x27c/0x31c drivers/net/netdevsim/bus.c:244 bus_attr_store+0x80/0xa4 drivers/base/bus.c:172 sysfs_kf_write+0x1a8/0x23c fs/sysfs/file.c:145 kernfs_fop_write_iter+0x314/0x488 fs/kernfs/file.c:334 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/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+0x5c/0x254 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:763 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Showing all locks held in the system: 1 lock held by kthreadd/2: 4 locks held by kworker/0:1/10: 1 lock held by kworker/R-mm_pe/13: #0: ffff80008f8710a8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x348 kernel/workqueue.c:2676 3 locks held by kworker/u8:1/14: 3 locks held by kworker/1:0/24: #0: ffff0000c0028d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff800097d07be0 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff800092a757e8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 1 lock held by khungtaskd/32: #0: ffff80008f9c92e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 3 locks held by kworker/u8:2/41: #0: ffff0000d3eac948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff800099297be0 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff800092a757e8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 3 locks held by kworker/u8:3/42: 3 locks held by pr/ttyAMA-1/43: 4 locks held by kworker/u8:4/253: 2 locks held by kworker/u8:6/2732: 3 locks held by kworker/u8:7/4555: 3 locks held by kworker/u8:8/4586: 6 locks held by kworker/u8:9/4663: #0: ffff0000c18a2948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff80009dfd7be0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff800092a68990 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf4/0x6c0 net/core/net_namespace.c:658 #3: ffff0000d6dd00e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:911 [inline] #3: ffff0000d6dd00e8 (&dev->mutex){....}-{4:4}, at: devl_dev_lock net/devlink/devl_internal.h:108 [inline] #3: ffff0000d6dd00e8 (&dev->mutex){....}-{4:4}, at: devlink_pernet_pre_exit+0xe4/0x380 net/devlink/core.c:506 #4: ffff0000d6dd1250 (&devlink->lock_key){+.+.}-{4:4}, at: devl_lock net/devlink/core.c:276 [inline] #4: ffff0000d6dd1250 (&devlink->lock_key){+.+.}-{4:4}, at: devl_dev_lock net/devlink/devl_internal.h:109 [inline] #4: ffff0000d6dd1250 (&devlink->lock_key){+.+.}-{4:4}, at: devlink_pernet_pre_exit+0xf0/0x380 net/devlink/core.c:506 #5: ffff800092a757e8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 3 locks held by kworker/u8:10/4827: 1 lock held by jbd2/nvme0n1p2-/6135: 1 lock held by klogd/6159: 2 locks held by udevd/6170: 2 locks held by dhcpcd/6224: 1 lock held by dhcpcd/6225: 2 locks held by getty/6312: #0: ffff0000d46f40a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009bbce2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa4 drivers/tty/n_tty.c:2222 4 locks held by kworker/0:2/6565: 2 locks held by kworker/0:3/6566: 2 locks held by syz-executor/6656: 1 lock held by syz-executor/6657: #0: ffff800092a757e8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 4 locks held by syz-executor/6664: #0: ffff0000d9cc2428 (sb_writers#6){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3107 [inline] #0: ffff0000d9cc2428 (sb_writers#6){.+.+}-{0:0}, at: vfs_write+0x24c/0xa3c fs/read_write.c:682 #1: ffff0000c6f43488 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1b4/0x488 fs/kernfs/file.c:325 #2: ffff0000ce7a75a8 (kn->active#55){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1d0/0x488 fs/kernfs/file.c:326 #3: ffff800091ab5148 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd4/0x31c drivers/net/netdevsim/bus.c:234 5 locks held by syz-executor/6671: #0: ffff0000d9cc2428 (sb_writers#6){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3107 [inline] #0: ffff0000d9cc2428 (sb_writers#6){.+.+}-{0:0}, at: vfs_write+0x24c/0xa3c fs/read_write.c:682 #1: ffff0000f7c3a488 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1b4/0x488 fs/kernfs/file.c:325 #2: ffff0000ce7a75a8 (kn->active#55){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1d0/0x488 fs/kernfs/file.c:326 #3: ffff800091ab5148 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd4/0x31c drivers/net/netdevsim/bus.c:234 #4: ffff0000d6dd00e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:911 [inline] #4: ffff0000d6dd00e8 (&dev->mutex){....}-{4:4}, at: device_del+0xa4/0x808 drivers/base/core.c:3840 1 lock held by kworker/R-wg-cr/6682: #0: ffff80008f8710a8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2734 [inline] #0: ffff80008f8710a8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x86c/0xec8 kernel/workqueue.c:3529 1 lock held by kworker/R-wg-cr/6683: #0: ffff80008f8710a8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x348 kernel/workqueue.c:2676 1 lock held by kworker/R-wg-cr/6684: #0: ffff80008f8710a8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x348 kernel/workqueue.c:2676 1 lock held by kworker/R-wg-cr/6696: 1 lock held by kworker/R-wg-cr/6697: #0: ffff80008f8710a8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x348 kernel/workqueue.c:2676 1 lock held by kworker/R-wg-cr/6701: #0: ffff80008f8710a8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x348 kernel/workqueue.c:2676 1 lock held by kworker/R-wg-cr/6702: #0: ffff80008f8710a8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x348 kernel/workqueue.c:2676 1 lock held by syz.3.20/6750: #0: ffff800092a757e8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 7 locks held by kworker/u8:12/6755: 3 locks held by kworker/0:7/6756: #0: ffff0000c0028d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff8000a16d7be0 (reg_work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff800092a757e8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 3 locks held by kworker/u8:13/6757: 4 locks held by kworker/u8:14/6758: 1 lock held by syz-executor/6760: 3 locks held by kworker/u8:16/6761: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff8000a1987be0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff800092a757e8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 4 locks held by kworker/u8:17/6762: 3 locks held by kworker/u8:18/6763: =============================================