INFO: task syz-executor.5:23745 blocked for more than 143 seconds. Not tainted 5.17.0-rc2-syzkaller-00060-g88808fbbead4 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:27624 pid:23745 ppid: 23703 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6295 schedule+0xd2/0x260 kernel/sched/core.c:6368 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6427 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 tty_open_by_driver drivers/tty/tty_io.c:2050 [inline] tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133 chrdev_open+0x266/0x770 fs/char_dev.c:414 do_dentry_open+0x4b9/0x1240 fs/open.c:824 do_open fs/namei.c:3476 [inline] path_openat+0x1c9e/0x2940 fs/namei.c:3609 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4d0 fs/open.c:1214 do_sys_open fs/open.c:1230 [inline] __do_sys_openat fs/open.c:1246 [inline] __se_sys_openat fs/open.c:1241 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1241 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f3d42f90f74 RSP: 002b:00007f3d41910ca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f3d430f1100 RCX: 00007f3d42f90f74 RDX: 0000000000000002 RSI: 00007f3d41910d40 RDI: 00000000ffffff9c RBP: 00007f3d41910d40 R08: 0000000000000000 R09: 000000000000000d R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 00007ffc1337825f R14: 00007f3d41911300 R15: 0000000000022000 INFO: task syz-executor.2:23773 blocked for more than 143 seconds. Not tainted 5.17.0-rc2-syzkaller-00060-g88808fbbead4 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:24752 pid:23773 ppid: 23741 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6295 schedule+0xd2/0x260 kernel/sched/core.c:6368 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6427 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 tty_open_by_driver drivers/tty/tty_io.c:2050 [inline] tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133 chrdev_open+0x266/0x770 fs/char_dev.c:414 do_dentry_open+0x4b9/0x1240 fs/open.c:824 do_open fs/namei.c:3476 [inline] path_openat+0x1c9e/0x2940 fs/namei.c:3609 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4d0 fs/open.c:1214 do_sys_open fs/open.c:1230 [inline] __do_sys_openat fs/open.c:1246 [inline] __se_sys_openat fs/open.c:1241 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1241 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f578a6acf74 RSP: 002b:00007f578904dca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f578a80d030 RCX: 00007f578a6acf74 RDX: 0000000000000002 RSI: 00007f578904dd40 RDI: 00000000ffffff9c RBP: 00007f578904dd40 R08: 0000000000000000 R09: 000000000000000d R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 00007fffd16c519f R14: 00007f578904e300 R15: 0000000000022000 INFO: task syz-executor.2:23781 blocked for more than 144 seconds. Not tainted 5.17.0-rc2-syzkaller-00060-g88808fbbead4 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28712 pid:23781 ppid: 23741 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6295 schedule+0xd2/0x260 kernel/sched/core.c:6368 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6427 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 tty_open_by_driver drivers/tty/tty_io.c:2050 [inline] tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133 chrdev_open+0x266/0x770 fs/char_dev.c:414 do_dentry_open+0x4b9/0x1240 fs/open.c:824 do_open fs/namei.c:3476 [inline] path_openat+0x1c9e/0x2940 fs/namei.c:3609 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4d0 fs/open.c:1214 do_sys_open fs/open.c:1230 [inline] __do_sys_openat fs/open.c:1246 [inline] __se_sys_openat fs/open.c:1241 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1241 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f578a6acf74 RSP: 002b:00007f578902cca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f578a80d100 RCX: 00007f578a6acf74 RDX: 0000000000000002 RSI: 00007f578902cd40 RDI: 00000000ffffff9c RBP: 00007f578902cd40 R08: 0000000000000000 R09: 000000000000000d R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 00007fffd16c519f R14: 00007f578902d300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8bb81120 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460 2 locks held by kworker/u4:3/54: #0: ffff8880b9c39cd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:489 #1: ffff8880b9c27948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x176/0x4e0 kernel/sched/psi.c:882 2 locks held by getty/3281: #0: ffff88814aed5098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002b5b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2077 3 locks held by kworker/u5:0/21613: #0: ffff88805b0e8138 ((wq_completion)hci2){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88805b0e8138 ((wq_completion)hci2){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff88805b0e8138 ((wq_completion)hci2){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff88805b0e8138 ((wq_completion)hci2){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline] #0: ffff88805b0e8138 ((wq_completion)hci2){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] #0: ffff88805b0e8138 ((wq_completion)hci2){+.+.}-{0:0}, at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc900044e7db8 ((work_completion)(&hdev->power_on)){+.+.}-{0:0}, at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 #2: ffff888076355048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_open+0x2a/0x70 net/bluetooth/hci_core.c:480 1 lock held by syz-executor.0/22579: 3 locks held by syz-executor.5/23738: 1 lock held by syz-executor.5/23745: #0: ffffffff8c5acb48 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2050 [inline] #0: ffffffff8c5acb48 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133 1 lock held by syz-executor.2/23773: #0: ffffffff8c5acb48 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2050 [inline] #0: ffffffff8c5acb48 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133 1 lock held by syz-executor.2/23781: #0: ffffffff8c5acb48 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2050 [inline] #0: ffffffff8c5acb48 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133 1 lock held by syz-executor.4/23806: #0: ffffffff8c5acb48 (tty_mutex){+.+.}-{3:3}, at: ptmx_open drivers/tty/pty.c:833 [inline] #0: ffffffff8c5acb48 (tty_mutex){+.+.}-{3:3}, at: ptmx_open+0x103/0x360 drivers/tty/pty.c:800 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.17.0-rc2-syzkaller-00060-g88808fbbead4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:369 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2952 Comm: klogd Not tainted 5.17.0-rc2-syzkaller-00060-g88808fbbead4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:perf_trace_lock_acquire+0x124/0x550 include/trace/events/lock.h:13 Code: c0 89 c0 41 83 f8 07 0f 87 fe 02 00 00 48 8d 3c c5 a0 48 58 8b 48 ba 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 80 3c 11 00 <0f> 85 11 03 00 00 49 8d bd 80 00 00 00 48 03 1c c5 a0 48 58 8b 48 RSP: 0018:ffffc90001ae7990 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000607f46071b50 RCX: 1ffffffff16b0914 RDX: dffffc0000000000 RSI: 0000000000000002 RDI: ffffffff8b5848a0 RBP: ffffc90001ae7a78 R08: 0000000000000000 R09: 0000000000000001 R10: fffffbfff1b26fe2 R11: 0000000000000000 R12: 0000000000000008 R13: ffffffff8ba7da40 R14: ffff88801fc88678 R15: ffffc90001ae7a50 FS: 00007f2594469800(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f00304d5218 CR3: 000000001d961000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 00000000b8fecd19 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0x416/0x510 kernel/locking/lockdep.c:5610 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:349 [inline] unix_dgram_sendmsg+0xa46/0x1a10 net/unix/af_unix.c:1937 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:725 __sys_sendto+0x21c/0x320 net/socket.c:2040 __do_sys_sendto net/socket.c:2052 [inline] __se_sys_sendto net/socket.c:2048 [inline] __x64_sys_sendto+0xdd/0x1b0 net/socket.c:2048 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f25946050ac Code: 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 19 45 31 c9 45 31 c0 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 64 c3 0f 1f 00 55 48 83 ec 20 48 89 54 24 10 RSP: 002b:00007ffef068de78 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f25946050ac RDX: 000000000000003b RSI: 00007f259521e840 RDI: 0000000000000003 RBP: 00007f25952142c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000014 R13: 0000000000000001 R14: 00007f259478077d R15: 00007ffef068df88 ---------------- Code disassembly (best guess): 0: c0 89 c0 41 83 f8 07 rorb $0x7,-0x77cbe40(%rcx) 7: 0f 87 fe 02 00 00 ja 0x30b d: 48 8d 3c c5 a0 48 58 lea -0x74a7b760(,%rax,8),%rdi 14: 8b 15: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx 1c: fc ff df 1f: 48 89 f9 mov %rdi,%rcx 22: 48 c1 e9 03 shr $0x3,%rcx 26: 80 3c 11 00 cmpb $0x0,(%rcx,%rdx,1) * 2a: 0f 85 11 03 00 00 jne 0x341 <-- trapping instruction 30: 49 8d bd 80 00 00 00 lea 0x80(%r13),%rdi 37: 48 03 1c c5 a0 48 58 add -0x74a7b760(,%rax,8),%rbx 3e: 8b 3f: 48 rex.W