INFO: task syz-executor.1:2785 blocked for more than 143 seconds. Not tainted 6.6.0-syzkaller-15859-g89cdf9d55601 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28512 pid:2785 tgid:2774 ppid:29563 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xee2/0x59a0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe7/0x270 kernel/sched/core.c:6778 schedule_timeout+0x278/0x2c0 kernel/time/timer.c:2143 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common+0x3e0/0x5f0 kernel/sched/completion.c:116 __flush_work+0x523/0xa10 kernel/workqueue.c:3407 __cancel_work_timer+0x3ef/0x580 kernel/workqueue.c:3494 tls_sk_proto_close+0x4b1/0xac0 net/tls/tls_main.c:376 inet_release+0x132/0x270 net/ipv4/af_inet.c:433 inet6_release+0x4f/0x70 net/ipv6/af_inet6.c:485 __sock_release+0xae/0x260 net/socket.c:659 sock_close+0x1c/0x20 net/socket.c:1419 __fput+0x270/0xbb0 fs/file_table.c:394 task_work_run+0x14d/0x240 kernel/task_work.c:180 get_signal+0x106f/0x2790 kernel/signal.c:2680 arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x60 kernel/entry/common.c:296 do_syscall_64+0x4b/0x110 arch/x86/entry/common.c:88 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f45a3e7cae9 RSP: 002b:00007f45a4b300c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: fffffffffffffffc RBX: 00007f45a3f9c1f0 RCX: 00007f45a3e7cae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f45a3ec847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f45a3f9c1f0 R15: 00007fff471ebab8 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8cfacfe0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8cfacfe0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8cfacfe0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613 2 locks held by getty/4821: #0: ffff8880261eb0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc6/0x1490 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.3/27810: 2 locks held by syz-executor.0/30529: 1 lock held by syz-executor.2/31324: 4 locks held by kworker/u4:26/26584: 3 locks held by kworker/0:11/2010: #0: ffff888013070d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc90013affd80 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 #2: ffff88807c5e5cf0 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0x134/0x230 net/tls/tls_sw.c:2535 1 lock held by syz-executor.1/2785: #0: ffff88802c8b9410 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #0: ffff88802c8b9410 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release+0x86/0x260 net/socket.c:658 2 locks held by syz-executor.4/5429: #0: ffff8880b993c718 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:558 #1: ffff8880b9928888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:988 3 locks held by syz-executor.5/5440: 3 locks held by syz-executor.3/5452: 3 locks held by syz-executor.1/5453: 4 locks held by syz-executor.0/5458: 3 locks held by syz-executor.4/5465: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.6.0-syzkaller-15859-g89cdf9d55601 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x299/0x300 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+0xf87/0x1210 kernel/hung_task.c:379 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4513 Comm: klogd Not tainted 6.6.0-syzkaller-15859-g89cdf9d55601 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0xd/0x60 kernel/kcov.c:207 Code: fa 48 8b be b0 01 00 00 e8 b0 ff ff ff 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa 65 48 8b 14 25 c0 bc 03 00 <65> 8b 05 24 1c 7b 7e a9 00 01 ff 00 48 8b 34 24 74 0f f6 c4 01 74 RSP: 0018:ffffc9000302f8e0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffffff8acd8960 RCX: 1ffff92000605f23 RDX: ffff88807c6d1dc0 RSI: 000000007fffffff RDI: ffffc9000302fba0 RBP: ffffc9000302fa78 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 00000000001604d0 R12: ffffc9000302fba0 R13: ffffffff8acd8960 R14: ffffc9000302f9d0 R15: 000000007fffffff FS: 00007fb0f8c63380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000202e7000 CR3: 0000000027400000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vsnprintf+0x86/0x1870 lib/vsprintf.c:2753 sprintf+0xcd/0x100 lib/vsprintf.c:3023 print_syslog kernel/printk/printk.c:1317 [inline] info_print_prefix+0x2e2/0x350 kernel/printk/printk.c:1347 record_print_text+0x143/0x410 kernel/printk/printk.c:1399 syslog_print+0x4e5/0x5d0 kernel/printk/printk.c:1610 do_syslog+0x2d4/0x580 kernel/printk/printk.c:1728 __do_sys_syslog kernel/printk/printk.c:1820 [inline] __se_sys_syslog kernel/printk/printk.c:1818 [inline] __x64_sys_syslog+0x74/0xb0 kernel/printk/printk.c:1818 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3f/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fb0f8dc4fa7 Code: 73 01 c3 48 8b 0d 81 ce 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 67 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 51 ce 0c 00 f7 d8 64 89 01 48 RSP: 002b:00007fffb5f7c1c8 EFLAGS: 00000206 ORIG_RAX: 0000000000000067 RAX: ffffffffffffffda RBX: 00007fb0f8f634a0 RCX: 00007fb0f8dc4fa7 RDX: 00000000000003ff RSI: 00007fb0f8f634a0 RDI: 0000000000000002 RBP: 0000000000000000 R08: 0000000000000007 R09: 2bf8d752593dcdc3 R10: 0000000000004000 R11: 0000000000000206 R12: 00007fb0f8f634a0 R13: 00007fb0f8f53212 R14: 00007fb0f8f635d1 R15: 00007fb0f8f635d1