INFO: task syz-executor152:3619 blocked for more than 143 seconds. Not tainted 5.19.0-syzkaller-02972-g200e340f2196 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor152 state:D stack:24568 pid: 3619 ppid: 3603 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5178 [inline] __schedule+0x957/0xe20 kernel/sched/core.c:6490 schedule+0xcb/0x190 kernel/sched/core.c:6566 schedule_timeout+0xac/0x300 kernel/time/timer.c:1911 do_wait_for_common+0x3ea/0x560 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x46/0x60 kernel/sched/completion.c:138 __flush_work kernel/workqueue.c:3075 [inline] __cancel_work_timer+0x585/0x740 kernel/workqueue.c:3162 tls_sk_proto_close+0x120/0x970 net/tls/tls_main.c:307 inet_release+0x184/0x1e0 net/ipv4/af_inet.c:428 __sock_release net/socket.c:650 [inline] sock_close+0xd7/0x260 net/socket.c:1365 __fput+0x3b9/0x820 fs/file_table.c:319 task_work_run+0x146/0x1c0 kernel/task_work.c:177 ptrace_notify+0x29a/0x340 kernel/signal.c:2353 ptrace_report_syscall include/linux/ptrace.h:420 [inline] ptrace_report_syscall_exit include/linux/ptrace.h:482 [inline] syscall_exit_work+0x8c/0xe0 kernel/entry/common.c:249 syscall_exit_to_user_mode_prepare+0x6b/0xc0 kernel/entry/common.c:276 __syscall_exit_to_user_mode_work kernel/entry/common.c:281 [inline] syscall_exit_to_user_mode+0xa/0x60 kernel/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f6cd3d501a3 RSP: 002b:00007ffe793f9e78 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00007f6cd3d501a3 RDX: fffffffffffffe60 RSI: 00000000200005c0 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000000 R09: fffffffffffffe60 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe793f9e90 R13: 00007ffe793f9ea0 R14: 00007ffe793f9e84 R15: 00007f6cd3e06e88 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8cb1f030 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8cb1f830 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 4 locks held by kworker/0:1/14: 1 lock held by khungtaskd/28: #0: ffffffff8cb1ee60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3279: #0: ffff88807e850098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d162e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2124 3 locks held by kworker/0:3/3609: #0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262 #1: ffffc9000306fd00 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264 #2: ffff88807cb178d8 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0x111/0x150 net/tls/tls_sw.c:2223 1 lock held by syz-executor152/3619: #0: ffff888070455010 (&sb->s_type->i_mutex_key#9){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:760 [inline] #0: ffff888070455010 (&sb->s_type->i_mutex_key#9){+.+.}-{3:3}, at: __sock_release net/socket.c:649 [inline] #0: ffff888070455010 (&sb->s_type->i_mutex_key#9){+.+.}-{3:3}, at: sock_close+0x93/0x260 net/socket.c:1365 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 5.19.0-syzkaller-02972-g200e340f2196 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x473/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x168/0x280 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+0xcd5/0xd20 kernel/hung_task.c:369 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2960 Comm: klogd Not tainted 5.19.0-syzkaller-02972-g200e340f2196 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 RIP: 0033:0x7f305d98aa4c Code: 00 e8 88 6c 00 00 48 8b 05 d9 e3 13 00 41 83 24 24 fe 41 81 4c 24 74 80 00 00 00 49 89 84 24 e0 00 00 00 48 8b 05 44 e5 13 00 <4d> 89 ac 24 f0 00 00 00 49 89 84 24 e8 00 00 00 49 89 9c 24 f8 00 RSP: 002b:00007ffcfff3ac30 EFLAGS: 00000202 RAX: 00007f305d9984b0 RBX: 00007ffcfff3ac88 RCX: 0000000000000000 RDX: 00000000fbad0000 RSI: 0000564f72a71090 RDI: 0000000000000000 RBP: 0000564f72a71090 R08: 0000000000000000 R09: 00007f305dac9a60 R10: 000000000000006b R11: 0000000000000000 R12: 0000564f72a6c910 R13: 00007ffcfff3ac80 R14: 00007f305db8477d R15: 00007ffcfff3ad68 FS: 00007f305d86d800 GS: 0000000000000000