INFO: task syz-executor0:16833 blocked for more than 140 seconds. Not tainted 4.19.0-rc3+ #216 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D20904 16833 5361 0x00000004 Call Trace: context_switch kernel/sched/core.c:2825 [inline] __schedule+0x86c/0x1ed0 kernel/sched/core.c:3473 schedule+0xfe/0x460 kernel/sched/core.c:3517 schedule_timeout+0x1cc/0x260 kernel/time/timer.c:1780 do_wait_for_common kernel/sched/completion.c:83 [inline] __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common kernel/sched/completion.c:115 [inline] wait_for_completion+0x427/0x8a0 kernel/sched/completion.c:136 crypto_wait_req include/linux/crypto.h:517 [inline] tls_do_encryption net/tls/tls_sw.c:331 [inline] tls_push_record+0xf96/0x1480 net/tls/tls_sw.c:366 tls_sw_sendmsg+0xbfd/0x1310 net/tls/tls_sw.c:565 inet_sendmsg+0x1a1/0x690 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:621 [inline] sock_sendmsg+0xd5/0x120 net/socket.c:631 __sys_sendto+0x3d7/0x670 net/socket.c:1786 __do_sys_sendto net/socket.c:1798 [inline] __se_sys_sendto net/socket.c:1794 [inline] __x64_sys_sendto+0xe1/0x1a0 net/socket.c:1794 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4572d9 Code: 42 08 48 8b 40 08 48 89 04 24 e8 02 d3 fc ff 48 8b 6c 24 08 48 83 c4 10 c3 e8 e3 2b 00 00 eb c1 cc 64 48 8b 0c 25 f8 ff ff ff <48> 3b 61 10 76 75 48 83 ec 38 48 89 6c 24 30 48 8d 6c 24 30 48 8b RSP: 002b:00007f49c7878c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f49c78796d4 RCX: 00000000004572d9 RDX: 0000000000044000 RSI: 00000000200005c0 RDI: 0000000000000004 RBP: 00000000009300a0 R08: 0000000020000000 R09: 000000000000001c R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d5010 R14: 00000000004c94aa R15: 0000000000000000 INFO: task syz-executor0:16887 blocked for more than 140 seconds. Not tainted 4.19.0-rc3+ #216 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D25400 16887 5361 0x00000004 Call Trace: context_switch kernel/sched/core.c:2825 [inline] __schedule+0x86c/0x1ed0 kernel/sched/core.c:3473 schedule+0xfe/0x460 kernel/sched/core.c:3517 __lock_sock+0x1fb/0x350 net/core/sock.c:2312 lock_sock_nested+0xfe/0x120 net/core/sock.c:2834 lock_sock include/net/sock.h:1492 [inline] do_tcp_setsockopt.isra.40+0x191/0x2770 net/ipv4/tcp.c:2778 tcp_setsockopt+0xc1/0xe0 net/ipv4/tcp.c:3066 tls_setsockopt+0xaa/0x770 net/tls/tls_main.c:533 sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:3038 __sys_setsockopt+0x1ba/0x3c0 net/socket.c:1900 __do_sys_setsockopt net/socket.c:1911 [inline] __se_sys_setsockopt net/socket.c:1908 [inline] __x64_sys_setsockopt+0xbe/0x150 net/socket.c:1908 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4572d9 Code: 42 08 48 8b 40 08 48 89 04 24 e8 02 d3 fc ff 48 8b 6c 24 08 48 83 c4 10 c3 e8 e3 2b 00 00 eb c1 cc 64 48 8b 0c 25 f8 ff ff ff <48> 3b 61 10 76 75 48 83 ec 38 48 89 6c 24 30 48 8d 6c 24 30 48 8b RSP: 002b:00007f49c7836c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f49c78376d4 RCX: 00000000004572d9 RDX: 0000000000000019 RSI: 0000000000000006 RDI: 0000000000000004 RBP: 00000000009301e0 R08: 0000000000000004 R09: 0000000000000000 R10: 0000000020000180 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d5a90 R14: 00000000004c9a53 R15: 0000000000000002 Showing all locks held in the system: 2 locks held by kworker/1:1/24: #0: 000000000e158f76 ((wq_completion)"events"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline] #0: 000000000e158f76 ((wq_completion)"events"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 000000000e158f76 ((wq_completion)"events"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 000000000e158f76 ((wq_completion)"events"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 000000000e158f76 ((wq_completion)"events"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 000000000e158f76 ((wq_completion)"events"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 000000000e158f76 ((wq_completion)"events"){+.+.}, at: process_one_work+0xb43/0x1b90 kernel/workqueue.c:2124 #1: 00000000c8093f3e ((work_completion)(&smc->tcp_listen_work)){+.+.}, at: process_one_work+0xb9a/0x1b90 kernel/workqueue.c:2128 1 lock held by khungtaskd/985: #0: 000000005074c90d (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x424 kernel/locking/lockdep.c:4436 2 locks held by kworker/1:2/2685: #0: 000000000e158f76 ((wq_completion)"events"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline] #0: 000000000e158f76 ((wq_completion)"events"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 000000000e158f76 ((wq_completion)"events"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 000000000e158f76 ((wq_completion)"events"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 000000000e158f76 ((wq_completion)"events"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 000000000e158f76 ((wq_completion)"events"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 000000000e158f76 ((wq_completion)"events"){+.+.}, at: process_one_work+0xb43/0x1b90 kernel/workqueue.c:2124 #1: 000000008015e209 ((work_completion)(&smc->tcp_listen_work)){+.+.}, at: process_one_work+0xb9a/0x1b90 kernel/workqueue.c:2128 1 lock held by rsyslogd/5225: #0: 0000000097217e7d (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 2 locks held by getty/5315: #0: 000000003091346c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000ced2a656 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5316: #0: 00000000a6c98cb4 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000792b9e24 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5317: #0: 000000006d14acb5 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000004784e334 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5318: #0: 00000000099f93f0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000001c7e6107 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5319: #0: 0000000036e798bb (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000f8361520 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5320: #0: 00000000b10dd2a6 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000043d94db3 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5321: #0: 0000000054d2d7ec (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000089482384 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 1 lock held by syz-executor0/16833: #0: 00000000286f1ede (sk_lock-AF_INET6){+.+.}, at: lock_sock include/net/sock.h:1492 [inline] #0: 00000000286f1ede (sk_lock-AF_INET6){+.+.}, at: tls_sw_sendmsg+0x226/0x1310 net/tls/tls_sw.c:509 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 985 Comm: khungtaskd Not tainted 4.19.0-rc3+ #216 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1c4/0x2b4 lib/dump_stack.c:113 nmi_cpu_backtrace.cold.3+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1b3/0x1ed lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace include/linux/nmi.h:144 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:204 [inline] watchdog+0xb3e/0x1050 kernel/hung_task.c:265 kthread+0x35a/0x420 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:413 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 skipped: idling at native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:57