INFO: task syz-executor.0:9659 can't die for more than 143 seconds. task:syz-executor.0 state:D stack:28120 pid: 9659 ppid: 19081 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5000 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6309 schedule+0xd2/0x1f0 kernel/sched/core.c:6381 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x174/0x270 kernel/sched/completion.c:138 __flush_work+0x56c/0xb10 kernel/workqueue.c:3075 __cancel_work_timer+0x3f9/0x570 kernel/workqueue.c:3162 tls_sk_proto_close+0x4a7/0xaf0 net/tls/tls_main.c:307 inet_release+0x12e/0x280 net/ipv4/af_inet.c:428 inet6_release+0x4c/0x70 net/ipv6/af_inet6.c:478 __sock_release+0xcd/0x280 net/socket.c:650 sock_close+0x18/0x20 net/socket.c:1318 __fput+0x286/0x9f0 fs/file_table.c:311 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fb3d83fdc9b RSP: 002b:00007ffd958e0f80 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007fb3d83fdc9b RDX: 0000000000000000 RSI: 0000001b33924ea4 RDI: 0000000000000003 RBP: 00007fb3d855f960 R08: 0000000000000000 R09: 000000003704075d R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000138764 R13: 00007ffd958e1080 R14: 00007ffd958e10a0 R15: 0000000000000032 INFO: task syz-executor.0:9659 blocked for more than 143 seconds. Tainted: G S 5.17.0-rc2-next-20220204-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28120 pid: 9659 ppid: 19081 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5000 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6309 schedule+0xd2/0x1f0 kernel/sched/core.c:6381 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x174/0x270 kernel/sched/completion.c:138 __flush_work+0x56c/0xb10 kernel/workqueue.c:3075 __cancel_work_timer+0x3f9/0x570 kernel/workqueue.c:3162 tls_sk_proto_close+0x4a7/0xaf0 net/tls/tls_main.c:307 inet_release+0x12e/0x280 net/ipv4/af_inet.c:428 inet6_release+0x4c/0x70 net/ipv6/af_inet6.c:478 __sock_release+0xcd/0x280 net/socket.c:650 sock_close+0x18/0x20 net/socket.c:1318 __fput+0x286/0x9f0 fs/file_table.c:311 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fb3d83fdc9b RSP: 002b:00007ffd958e0f80 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007fb3d83fdc9b RDX: 0000000000000000 RSI: 0000001b33924ea4 RDI: 0000000000000003 RBP: 00007fb3d855f960 R08: 0000000000000000 R09: 000000003704075d R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000138764 R13: 00007ffd958e1080 R14: 00007ffd958e10a0 R15: 0000000000000032 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb83a60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6463 2 locks held by getty/3279: #0: ffff88814ad95098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002b662e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2077 3 locks held by kworker/0:15/22106: #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260 #1: ffffc900029efda8 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 #2: ffff88807cd01cd8 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0x127/0x190 net/tls/tls_sw.c:2299 1 lock held by syz-executor.0/9659: #0: ffff88802680f410 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:777 [inline] #0: ffff88802680f410 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: __sock_release+0x86/0x280 net/socket.c:649 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Tainted: G S 5.17.0-rc2-next-20220204-syzkaller #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+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:256 [inline] watchdog+0xcb7/0xed0 kernel/hung_task.c:413 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3593 Comm: syz-fuzzer Tainted: G S 5.17.0-rc2-next-20220204-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:trace_sched_stat_runtime include/trace/events/sched.h:517 [inline] RIP: 0010:update_curr+0x36a/0x900 kernel/sched/fair.c:876 Code: 0f 87 90 04 00 00 45 89 ed be 08 00 00 00 4c 89 e8 48 c1 f8 06 48 8d 3c c5 d0 a4 94 8d e8 8e 90 6e 00 4c 0f a3 2d 36 14 3f 0c <0f> 82 da 03 00 00 4c 89 e6 4c 89 ff e8 35 7c 05 00 e8 c0 53 0e 00 RSP: 0018:ffffc90001f9f5d0 EFLAGS: 00000047 RAX: 0000000000000001 RBX: ffff888019e25840 RCX: ffffffff81559092 RDX: fffffbfff1b2949b RSI: 0000000000000008 RDI: ffffffff8d94a4d0 RBP: ffff8880b9d39f00 R08: 0000000000000000 R09: ffffffff8d94a4d7 R10: fffffbfff1b2949a R11: 0000000000000001 R12: 0000000000003a40 R13: 0000000000000001 R14: ffff888019e25890 R15: ffff888019e257c0 FS: 000000c000030090(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f300f92c600 CR3: 000000007098a000 CR4: 00000000003506e0 Call Trace: enqueue_entity+0x299/0x1730 kernel/sched/fair.c:4274 enqueue_task_fair+0x1ba/0x1b60 kernel/sched/fair.c:5622 enqueue_task+0xad/0x3c0 kernel/sched/core.c:2011 activate_task+0x9/0x40 kernel/sched/core.c:2036 attach_task+0x118/0x1b0 kernel/sched/fair.c:8017 attach_tasks kernel/sched/fair.c:8052 [inline] load_balance+0x16e7/0x2c30 kernel/sched/fair.c:9921 newidle_balance+0x6f2/0x1190 kernel/sched/fair.c:10917 balance_fair kernel/sched/fair.c:7000 [inline] balance_fair+0x40/0x60 kernel/sched/fair.c:6995 put_prev_task_balance kernel/sched/core.c:5596 [inline] pick_next_task kernel/sched/core.c:5734 [inline] __schedule+0x109d/0x4db0 kernel/sched/core.c:6273 schedule+0xd2/0x1f0 kernel/sched/core.c:6381 freezable_schedule include/linux/freezer.h:172 [inline] futex_wait_queue+0x144/0x3b0 kernel/futex/waitwake.c:355 futex_wait+0x2c9/0x670 kernel/futex/waitwake.c:656 do_futex+0x1af/0x300 kernel/futex/syscalls.c:106 __do_sys_futex kernel/futex/syscalls.c:183 [inline] __se_sys_futex kernel/futex/syscalls.c:164 [inline] __x64_sys_futex+0x1b0/0x4a0 kernel/futex/syscalls.c:164 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:0x4668c3 Code: 24 20 c3 cc cc cc cc 48 8b 7c 24 08 8b 74 24 10 8b 54 24 14 4c 8b 54 24 18 4c 8b 44 24 20 44 8b 4c 24 28 b8 ca 00 00 00 0f 05 <89> 44 24 30 c3 cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc RSP: 002b:000000c00003fe78 EFLAGS: 00000206 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004668c3 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000182ae38 RBP: 000000c00003fec0 R08: 0000000000000000 R09: 0000000000000000 R10: 000000c00003feb0 R11: 0000000000000206 R12: 000000c00003feb0 R13: 000000c01474c000 R14: 000000c0000004e0 R15: 00007ff4be3d4982 ---------------- Code disassembly (best guess): 0: 0f 87 90 04 00 00 ja 0x496 6: 45 89 ed mov %r13d,%r13d 9: be 08 00 00 00 mov $0x8,%esi e: 4c 89 e8 mov %r13,%rax 11: 48 c1 f8 06 sar $0x6,%rax 15: 48 8d 3c c5 d0 a4 94 lea -0x726b5b30(,%rax,8),%rdi 1c: 8d 1d: e8 8e 90 6e 00 callq 0x6e90b0 22: 4c 0f a3 2d 36 14 3f bt %r13,0xc3f1436(%rip) # 0xc3f1460 29: 0c * 2a: 0f 82 da 03 00 00 jb 0x40a <-- trapping instruction 30: 4c 89 e6 mov %r12,%rsi 33: 4c 89 ff mov %r15,%rdi 36: e8 35 7c 05 00 callq 0x57c70 3b: e8 c0 53 0e 00 callq 0xe5400