INFO: task syz.2.152:4783 blocked for more than 149 seconds. Not tainted 5.15.168-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.152 state:D stack: 0 pid: 4783 ppid: 4232 flags:0x00000001 Call trace: __switch_to+0x308/0x5e8 arch/arm64/kernel/process.c:518 context_switch kernel/sched/core.c:5027 [inline] __schedule+0xf10/0x1e48 kernel/sched/core.c:6373 schedule+0x11c/0x1c8 kernel/sched/core.c:6456 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6515 __mutex_lock_common+0xba0/0x2154 kernel/locking/mutex.c:669 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0xa4/0xf8 kernel/locking/mutex.c:743 __fdget_pos+0x128/0x170 fs/file.c:1057 fdget_pos include/linux/file.h:75 [inline] ksys_read+0x8c/0x26c fs/read_write.c:614 __do_sys_read fs/read_write.c:633 [inline] __se_sys_read fs/read_write.c:631 [inline] __arm64_sys_read+0x7c/0x90 fs/read_write.c:631 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffff800014c822e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:311 2 locks held by getty/3791: #0: ffff0000d134f098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340 #1: ffff80001d61e2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1204 drivers/tty/n_tty.c:2158 3 locks held by kworker/1:4/4065: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff8000202a7c00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff0000cf0d3240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x274/0x33c4 drivers/net/netdevsim/fib.c:1478 3 locks held by kworker/1:5/4066: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff8000202b7c00 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff0000cf0d6400 (&nsim_dev->port_list_lock){+.+.}-{3:3}, at: nsim_dev_trap_report_work+0x60/0x90c drivers/net/netdevsim/dev.c:757 6 locks held by kworker/u4:6/4096: #0: ffff0000c038c138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff800020397c00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff800016bd82d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf4/0x9bc net/core/net_namespace.c:561 #3: ffff800016c098a8 (devlink_mutex){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0xac/0x384 net/core/devlink.c:11534 #4: ffff0000dd1e1670 (&nsim_bus_dev->nsim_bus_reload_lock){+.+.}-{3:3}, at: nsim_dev_reload_down+0x5c/0x16c drivers/net/netdevsim/dev.c:870 #5: ffff0000cf0d6400 (&nsim_dev->port_list_lock){+.+.}-{3:3}, at: nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1359 [inline] #5: ffff0000cf0d6400 (&nsim_dev->port_list_lock){+.+.}-{3:3}, at: nsim_dev_reload_destroy+0xfc/0x214 drivers/net/netdevsim/dev.c:1561 2 locks held by kworker/0:11/4204: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff8000205a7c00 (free_ipc_work){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 2 locks held by syz.2.152/4776: 1 lock held by syz.2.152/4783: #0: ffff0000d2359270 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x128/0x170 fs/file.c:1057 1 lock held by syz-executor/5051: 1 lock held by syz.3.240/5266: 3 locks held by syz.2.334/5737: #0: ffff0000d54d4ff0 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x64/0x1060 net/bluetooth/hci_core.c:1737 #1: ffff0000d54d4078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_do_close+0x338/0x1060 net/bluetooth/hci_core.c:1782 #2: ffff800016d273e8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1517 [inline] #2: ffff800016d273e8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xb8/0x220 net/bluetooth/hci_conn.c:1622 2 locks held by syz.1.359/5825: #0: ffff0000ec24cff0 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x64/0x1060 net/bluetooth/hci_core.c:1737 #1: ffff0000ec24c078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_do_close+0x338/0x1060 net/bluetooth/hci_core.c:1782 3 locks held by syz.4.432/6118: #0: ffff0000dba58ff0 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x64/0x1060 net/bluetooth/hci_core.c:1737 #1: ffff0000dba58078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_do_close+0x338/0x1060 net/bluetooth/hci_core.c:1782 #2: ffff800016d273e8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1517 [inline] #2: ffff800016d273e8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xb8/0x220 net/bluetooth/hci_conn.c:1622 6 locks held by syz-executor/6411: #0: ffff0000d4faa460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x228/0xb44 fs/read_write.c:590 #1: ffff0000e53bfc88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:287 #2: ffff0000ce53fa00 (kn->active#230){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:288 #3: ffff8000161b2228 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xec/0x3bc drivers/net/netdevsim/bus.c:344 #4: ffff0000dd1e1178 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #4: ffff0000dd1e1178 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1044 [inline] #4: ffff0000dd1e1178 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xbc/0x6ac drivers/base/dd.c:1259 #5: ffff800016c098a8 (devlink_mutex){+.+.}-{3:3}, at: devlink_reload_disable+0x28/0x88 net/core/devlink.c:9019 =============================================