INFO: task kworker/1:2:3911 blocked for more than 143 seconds. Not tainted 6.16.0-rc1-syzkaller-g39dfc971e42d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:2 state:D stack:0 pid:3911 tgid:3911 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: events p9_write_work Call trace: __switch_to+0x414/0x834 arch/arm64/kernel/process.c:737 (T) context_switch kernel/sched/core.c:5396 [inline] __schedule+0x1414/0x2a28 kernel/sched/core.c:6785 __schedule_loop kernel/sched/core.c:6863 [inline] schedule+0xb4/0x230 kernel/sched/core.c:6878 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6935 __mutex_lock_common+0xbd0/0x2190 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:799 anon_pipe_write+0x130/0xfa0 fs/pipe.c:458 __kernel_write_iter+0x2b8/0x6c8 fs/read_write.c:619 __kernel_write fs/read_write.c:639 [inline] kernel_write+0x18c/0x28c fs/read_write.c:660 p9_fd_write net/9p/trans_fd.c:434 [inline] p9_write_work+0x450/0xc20 net/9p/trans_fd.c:485 process_one_work+0x7e8/0x155c kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3321 [inline] worker_thread+0x958/0xed8 kernel/workqueue.c:3402 kthread+0x5fc/0x75c kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:847 INFO: task syz.4.621:8839 blocked for more than 143 seconds. Not tainted 6.16.0-rc1-syzkaller-g39dfc971e42d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.621 state:D stack:0 pid:8839 tgid:8830 ppid:6522 task_flags:0x400040 flags:0x00000011 Call trace: __switch_to+0x414/0x834 arch/arm64/kernel/process.c:737 (T) context_switch kernel/sched/core.c:5396 [inline] __schedule+0x1414/0x2a28 kernel/sched/core.c:6785 __schedule_loop kernel/sched/core.c:6863 [inline] schedule+0xb4/0x230 kernel/sched/core.c:6878 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6935 rwsem_down_write_slowpath+0xa80/0x10f0 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0xb4/0xc0 kernel/locking/rwsem.c:1578 filemap_invalidate_lock include/linux/fs.h:922 [inline] filemap_invalidate_inode+0x118/0x2f8 mm/filemap.c:4322 netfs_unbuffered_write_iter+0x304/0x654 fs/netfs/direct_write.c:184 v9fs_file_write_iter+0xa4/0xd8 fs/9p/vfs_file.c:404 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x62c/0x97c 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+0x58/0x17c arch/arm64/kernel/entry-common.c:767 el0t_64_sync_handler+0x78/0x108 arch/arm64/kernel/entry-common.c:786 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 Showing all locks held in the system: 3 locks held by kworker/u8:0/12: 1 lock held by khungtaskd/32: #0: ffff80008f819e40 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 1 lock held by pr/ttyAMA0/43: 3 locks held by kworker/u8:4/61: 4 locks held by kworker/u8:6/260: 3 locks held by kworker/1:2/3911: #0: ffff0000c0028d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff8000a26f7bc0 ((work_completion)(&m->wq)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff0000f6499468 (&pipe->mutex){+.+.}-{4:4}, at: anon_pipe_write+0x130/0xfa0 fs/pipe.c:458 2 locks held by getty/6285: #0: ffff0000d21b30a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009b9fb2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa4 drivers/tty/n_tty.c:2222 5 locks held by kworker/1:3/6516: #0: ffff0000c2c28948 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3212 #1: ffff8000a5227bc0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3212 #2: ffff0000cced6198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:884 [inline] #2: ffff0000cced6198 (&dev->mutex){....}-{4:4}, at: hub_event+0x13c/0x3cf0 drivers/usb/core/hub.c:5863 #3: ffff0000cd5e1520 (&port_dev->status_lock){+.+.}-{4:4}, at: usb_lock_port drivers/usb/core/hub.c:3220 [inline] #3: ffff0000cd5e1520 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_port_connect drivers/usb/core/hub.c:5432 [inline] #3: ffff0000cd5e1520 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_port_connect_change drivers/usb/core/hub.c:5675 [inline] #3: ffff0000cd5e1520 (&port_dev->status_lock){+.+.}-{4:4}, at: port_event drivers/usb/core/hub.c:5835 [inline] #3: ffff0000cd5e1520 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_event+0x1b90/0x3cf0 drivers/usb/core/hub.c:5917 #4: ffff0000cd25f668 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_port_connect drivers/usb/core/hub.c:5433 [inline] #4: ffff0000cd25f668 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_port_connect_change drivers/usb/core/hub.c:5675 [inline] #4: ffff0000cd25f668 (hcd->address0_mutex){+.+.}-{4:4}, at: port_event drivers/usb/core/hub.c:5835 [inline] #4: ffff0000cd25f668 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_event+0x1bb4/0x3cf0 drivers/usb/core/hub.c:5917 1 lock held by syz-executor/6519: 3 locks held by kworker/u8:12/7182: 2 locks held by kworker/u8:15/7738: 2 locks held by syz.4.621/8832: #0: ffff0000f6499468 (&pipe->mutex){+.+.}-{4:4}, at: anon_pipe_write+0x130/0xfa0 fs/pipe.c:458 #1: ffff0000f73482e8 (mapping.invalidate_lock#3){++++}-{4:4}, at: filemap_invalidate_lock_shared include/linux/fs.h:932 [inline] #1: ffff0000f73482e8 (mapping.invalidate_lock#3){++++}-{4:4}, at: filemap_fault+0x94c/0x1280 mm/filemap.c:3419 4 locks held by syz.4.621/8839: #0: ffff0000c60a7b38 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x1fc/0x2a0 fs/file.c:1213 #1: ffff0000f902a428 (sb_writers#15){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3092 [inline] #1: ffff0000f902a428 (sb_writers#15){.+.+}-{0:0}, at: vfs_write+0x244/0x97c fs/read_write.c:682 #2: ffff0000f7348148 (&sb->s_type->i_mutex_key#24){++++}-{4:4}, at: netfs_start_io_direct+0x1a4/0x234 fs/netfs/locking.c:188 #3: ffff0000f73482e8 (mapping.invalidate_lock#3){++++}-{4:4}, at: filemap_invalidate_lock include/linux/fs.h:922 [inline] #3: ffff0000f73482e8 (mapping.invalidate_lock#3){++++}-{4:4}, at: filemap_invalidate_inode+0x118/0x2f8 mm/filemap.c:4322 =============================================