INFO: task syz-executor.2:6675 blocked for more than 143 seconds. Not tainted 6.4.0-rc6-next-20230616-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27112 pid:6675 ppid:5068 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5380 [inline] __schedule+0x1d15/0x5790 kernel/sched/core.c:6709 schedule+0xde/0x1a0 kernel/sched/core.c:6785 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6844 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 __pipe_lock fs/pipe.c:103 [inline] pipe_write+0xcc8/0x1cc0 fs/pipe.c:574 call_write_iter include/linux/fs.h:1871 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x985/0xde0 fs/read_write.c:584 ksys_write+0x1e3/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f45c108c389 RSP: 002b:00007f45c1e0f168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f45c11abf80 RCX: 00007f45c108c389 RDX: 000000002bb98205 RSI: 0000000020000080 RDI: 0000000000000004 RBP: 00007f45c10d7493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffcabeff4f R14: 00007f45c1e0f300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8c9a1ab0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xe60 kernel/rcu/tasks.h:568 1 lock held by rcu_tasks_trace/14: #0: ffffffff8c9a1770 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xe60 kernel/rcu/tasks.h:568 1 lock held by khungtaskd/28: #0: ffffffff8c9a26c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x390 kernel/locking/lockdep.c:6615 6 locks held by kworker/1:3/3317: #0: ffff888015ad8138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] #0: ffff888015ad8138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] #0: ffff888015ad8138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] #0: ffff888015ad8138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] #0: ffff888015ad8138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] #0: ffff888015ad8138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] #0: ffff888015ad8138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x8fd/0x16f0 kernel/workqueue.c:2564 #1: ffffc9000eb27db0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x930/0x16f0 kernel/workqueue.c:2568 #2: ffff8881427ea190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:957 [inline] #2: ffff8881427ea190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c0/0x4e40 drivers/usb/core/hub.c:5754 #3: ffff88807db46190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:957 [inline] #3: ffff88807db46190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x76/0x4b0 drivers/base/dd.c:1003 #4: ffff88802b571160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:957 [inline] #4: ffff88802b571160 (&dev->mutex){....}-{3:3}, at: __device_attach+0x76/0x4b0 drivers/base/dd.c:1003 #5: ffffffff8e3364e8 (register_mutex#6){+.+.}-{3:3}, at: usb_audio_probe+0x44c/0x3a50 sound/usb/card.c:801 2 locks held by getty/4782: #0: ffff88802d0e2098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xf02/0x13f0 drivers/tty/n_tty.c:2176 1 lock held by syz-executor.2/6675: #0: ffff88807d0fa468 (&pipe->mutex/1){+.+.}-{3:3}, at: __pipe_lock fs/pipe.c:103 [inline] #0: ffff88807d0fa468 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_write+0xcc8/0x1cc0 fs/pipe.c:574 2 locks held by syz-executor.2/6678: 1 lock held by syz-executor.2/6743: #0: ffff888078d6f068 (&pipe->mutex/1){+.+.}-{3:3}, at: __pipe_lock fs/pipe.c:103 [inline] #0: ffff888078d6f068 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_write+0xcc8/0x1cc0 fs/pipe.c:574 2 locks held by syz-executor.2/6744: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc6-next-20230616-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x2a4/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:154 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xe16/0x1090 kernel/hung_task.c:379 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4463 Comm: syslogd Not tainted 6.4.0-rc6-next-20230616-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:sock_read_iter+0x6/0x3c0 net/socket.c:1091 Code: 0f c9 f9 eb 91 e8 ca 0f c9 f9 e9 45 ff ff ff e8 c0 0f c9 f9 eb ba 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 41 57 <41> 56 41 55 49 bd 00 00 00 00 00 fc ff df 41 54 55 48 89 fd 53 48 RSP: 0018:ffffc9000312fd68 EFLAGS: 00000246 RAX: ffffc9000312fe70 RBX: ffff888027b75680 RCX: 0000000000000000 RDX: 1ffffffff16fdd7c RSI: ffffc9000312fdb0 RDI: ffffc9000312fe00 RBP: ffffffff8b7eebc0 R08: ffff888027b75818 R09: 0000000000000006 R10: 0000000000000000 R11: 0000000000000001 R12: 00000000000000ff R13: 000055c9c71b2950 R14: 0000000000000000 R15: 0000000000000001 FS: 00007fcb8cc2e380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fe26000 CR3: 000000002b6c9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: call_read_iter include/linux/fs.h:1865 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x7da/0x910 fs/read_write.c:470 ksys_read+0x1e3/0x250 fs/read_write.c:613 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fcb8cd82b6a Code: 00 3d 00 00 41 00 75 0d 50 48 8d 3d 2d 08 0a 00 e8 ea 7d 01 00 31 c0 e9 07 ff ff ff 64 8b 04 25 18 00 00 00 85 c0 75 1b 0f 05 <48> 3d 00 f0 ff ff 76 6c 48 8b 15 8f a2 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffe9f6bb018 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fcb8cd82b6a RDX: 00000000000000ff RSI: 000055c9c71b2950 RDI: 0000000000000000 RBP: 000055c9c71b2910 R08: 0000000000000001 R09: 0000000000000000 R10: 00007fcb8cf213a3 R11: 0000000000000246 R12: 000055c9c71b2999 R13: 000055c9c71b2950 R14: 0000000000000000 R15: 00007fcb8cf5fa80