INFO: task syz-executor.5:20038 blocked for more than 143 seconds. Not tainted 6.8.0-rc3-syzkaller-00317-g7521f258ea30 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:27384 pid:20038 tgid:20026 ppid:19109 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x17d1/0x49f0 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6874 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a3/0xd70 kernel/locking/mutex.c:752 tty_open_by_driver drivers/tty/tty_io.c:2052 [inline] tty_open+0x23e/0xdf0 drivers/tty/tty_io.c:2135 chrdev_open+0x5b2/0x630 fs/char_dev.c:414 do_dentry_open+0x909/0x15a0 fs/open.c:953 do_open fs/namei.c:3641 [inline] path_openat+0x285f/0x3240 fs/namei.c:3798 do_filp_open+0x234/0x490 fs/namei.c:3825 do_sys_openat2+0x13e/0x1d0 fs/open.c:1404 do_sys_open fs/open.c:1419 [inline] __do_sys_openat fs/open.c:1435 [inline] __se_sys_openat fs/open.c:1430 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1430 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7fae05c7c9a0 RSP: 002b:00007fae06a37c00 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fae05c7c9a0 RDX: 0000000000000002 RSI: 00007fae06a37ca0 RDI: 00000000ffffff9c RBP: 00007fae06a37ca0 R08: 0000000000000000 R09: 00007fae06a37a17 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 000000000000006e R14: 00007fae05dac050 R15: 00007ffff339eeb8 INFO: task syz-executor.4:20051 blocked for more than 143 seconds. Not tainted 6.8.0-rc3-syzkaller-00317-g7521f258ea30 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27384 pid:20051 tgid:20050 ppid:19126 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x17d1/0x49f0 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6874 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a3/0xd70 kernel/locking/mutex.c:752 tty_open_by_driver drivers/tty/tty_io.c:2052 [inline] tty_open+0x23e/0xdf0 drivers/tty/tty_io.c:2135 chrdev_open+0x5b2/0x630 fs/char_dev.c:414 do_dentry_open+0x909/0x15a0 fs/open.c:953 do_open fs/namei.c:3641 [inline] path_openat+0x285f/0x3240 fs/namei.c:3798 do_filp_open+0x234/0x490 fs/namei.c:3825 do_sys_openat2+0x13e/0x1d0 fs/open.c:1404 do_sys_open fs/open.c:1419 [inline] __do_sys_openat fs/open.c:1435 [inline] __se_sys_openat fs/open.c:1430 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1430 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7facb767c9a0 RSP: 002b:00007facb8476c00 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007facb767c9a0 RDX: 0000000000000002 RSI: 00007facb8476ca0 RDI: 00000000ffffff9c RBP: 00007facb8476ca0 R08: 0000000000000000 R09: 00007facb8476a17 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 000000000000000b R14: 00007facb77abf80 R15: 00007fffc0768358 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e130ae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8e130ae0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8e130ae0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 1 lock held by kcompactd0/32: 2 locks held by getty/4817: #0: ffff88802f4f10a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000311b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 3 locks held by kworker/u5:2/5099: #0: ffff8880aa8cb138 ((wq_completion)hci20){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #0: ffff8880aa8cb138 ((wq_completion)hci20){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #1: ffffc9000449fd20 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc9000449fd20 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #2: ffff88804be39060 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x1ec/0x400 net/bluetooth/hci_sync.c:305 3 locks held by kworker/u4:0/2983: 6 locks held by syz-executor.0/17336: 4 locks held by syz-executor.3/17348: #0: ffff88809d0e60a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffff88809d0e6130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: tty_write_lock drivers/tty/tty_io.c:954 [inline] #1: ffff88809d0e6130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: iterate_tty_write drivers/tty/tty_io.c:973 [inline] #1: ffff88809d0e6130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write+0x1f3/0x9b0 drivers/tty/tty_io.c:1096 #2: ffff88809d0e62e8 (&tty->termios_rwsem){++++}-{3:3}, at: n_tty_write+0x263/0x1230 drivers/tty/n_tty.c:2362 #3: ffffc90024d91380 (&ldata->output_lock){+.+.}-{3:3}, at: process_output drivers/tty/n_tty.c:491 [inline] #3: ffffc90024d91380 (&ldata->output_lock){+.+.}-{3:3}, at: n_tty_write+0xdf7/0x1230 drivers/tty/n_tty.c:2390 4 locks held by syz-executor.4/17358: #0: ffff8880aba940a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffff8880aba94130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: tty_write_lock drivers/tty/tty_io.c:954 [inline] #1: ffff8880aba94130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: iterate_tty_write drivers/tty/tty_io.c:973 [inline] #1: ffff8880aba94130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write+0x1f3/0x9b0 drivers/tty/tty_io.c:1096 #2: ffff8880aba942e8 (&tty->termios_rwsem){++++}-{3:3}, at: n_tty_write+0x263/0x1230 drivers/tty/n_tty.c:2362 #3: ffffc90024e1b380 (&ldata->output_lock){+.+.}-{3:3}, at: process_output drivers/tty/n_tty.c:491 [inline] #3: ffffc90024e1b380 (&ldata->output_lock){+.+.}-{3:3}, at: n_tty_write+0xdf7/0x1230 drivers/tty/n_tty.c:2390 1 lock held by syz-executor.3/19748: #0: ffffffff8e8d3008 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2052 [inline] #0: ffffffff8e8d3008 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x23e/0xdf0 drivers/tty/tty_io.c:2135 1 lock held by syz-executor.5/20038: #0: ffffffff8e8d3008 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2052 [inline] #0: ffffffff8e8d3008 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x23e/0xdf0 drivers/tty/tty_io.c:2135 1 lock held by syz-executor.4/20051: #0: ffffffff8e8d3008 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2052 [inline] #0: ffffffff8e8d3008 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x23e/0xdf0 drivers/tty/tty_io.c:2135 1 lock held by syz-executor.2/20636: #0: ffffffff8e8d3008 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2052 [inline] #0: ffffffff8e8d3008 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x23e/0xdf0 drivers/tty/tty_io.c:2135 1 lock held by syz-executor.3/21243: #0: ffffffff8e8d3008 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2052 [inline] #0: ffffffff8e8d3008 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x23e/0xdf0 drivers/tty/tty_io.c:2135 1 lock held by syz-executor.0/21304: #0: ffffffff8e8d3008 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2052 [inline] #0: ffffffff8e8d3008 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x23e/0xdf0 drivers/tty/tty_io.c:2135 1 lock held by syz-executor.5/21368: #0: ffffffff8e8d3008 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2052 [inline] #0: ffffffff8e8d3008 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x23e/0xdf0 drivers/tty/tty_io.c:2135 1 lock held by syz-executor.4/21374: #0: ffffffff8e8d3008 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2052 [inline] #0: ffffffff8e8d3008 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x23e/0xdf0 drivers/tty/tty_io.c:2135 1 lock held by syz-executor.2/21485: #0: ffffffff8e8d3008 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2052 [inline] #0: ffffffff8e8d3008 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x23e/0xdf0 drivers/tty/tty_io.c:2135 1 lock held by syz-executor.3/22634: #0: ffffffff8e8d3008 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2052 [inline] #0: ffffffff8e8d3008 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x23e/0xdf0 drivers/tty/tty_io.c:2135 1 lock held by syz-executor.0/22747: #0: ffffffff8e8d3008 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2052 [inline] #0: ffffffff8e8d3008 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x23e/0xdf0 drivers/tty/tty_io.c:2135 1 lock held by syz-executor.5/22834: #0: ffffffff8e8d3008 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2052 [inline] #0: ffffffff8e8d3008 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x23e/0xdf0 drivers/tty/tty_io.c:2135 1 lock held by syz-executor.2/22837: #0: ffffffff8e8d3008 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2052 [inline] #0: ffffffff8e8d3008 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x23e/0xdf0 drivers/tty/tty_io.c:2135 1 lock held by syz-executor.4/22856: #0: ffffffff8e8d3008 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2052 [inline] #0: ffffffff8e8d3008 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x23e/0xdf0 drivers/tty/tty_io.c:2135 7 locks held by syz-executor.3/23278: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc3-syzkaller-00317-g7521f258ea30 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2e0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfaf/0xff0 kernel/hung_task.c:379 kthread+0x2f1/0x390 kernel/kthread.c:388 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 13998 Comm: syz-executor.0 Not tainted 6.8.0-rc3-syzkaller-00317-g7521f258ea30 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:io_run_task_work+0x270/0x310 io_uring/io_uring.h:300 Code: 42 0f b6 04 20 84 c0 75 7c 41 c7 07 00 00 00 00 e8 d5 d2 ca fc b8 01 00 00 00 eb 07 e8 29 4d fd fc 31 c0 5b 41 5c 41 5d 41 5e <41> 5f e9 49 62 db 06 e8 14 4d fd fc e8 af d2 ca fc e9 f0 fe ff ff RSP: 0018:ffffc90004e87c30 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff8880ab3d6290 RCX: 0000000000040000 RDX: ffffc90004891000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90004e87f00 R08: ffffffff84961c84 R09: 1ffff1100457eb28 R10: dffffc0000000000 R11: ffffed100457eb29 R12: 0000000000000001 R13: ffff888022bf5940 R14: dffffc0000000000 R15: ffff888022bf5940 FS: 00007f47df6436c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f45c36f5378 CR3: 0000000092600000 CR4: 0000000000350ef0 Call Trace: io_cqring_wait io_uring/io_uring.c:2650 [inline] __do_sys_io_uring_enter io_uring/io_uring.c:3701 [inline] __se_sys_io_uring_enter+0x1c3d/0x2b50 io_uring/io_uring.c:3591 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f47de87dda9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f47df6430c8 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007f47de9abf80 RCX: 00007f47de87dda9 RDX: 0000000000400000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f47de8ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f47de9abf80 R15: 00007fffc5f6bb18