INFO: task syz-executor448:4509 blocked for more than 120 seconds. Not tainted 4.17.0-rc5+ #59 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor448 D20744 4509 4506 0x00000000 Call Trace: context_switch kernel/sched/core.c:2859 [inline] __schedule+0x801/0x1e30 kernel/sched/core.c:3501 schedule+0xef/0x430 kernel/sched/core.c:3545 schedule_timeout+0x1b5/0x240 kernel/time/timer.c:1777 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+0x3e7/0x870 kernel/sched/completion.c:136 crypto_wait_req include/linux/crypto.h:512 [inline] tls_do_encryption net/tls/tls_sw.c:217 [inline] tls_push_record+0xedc/0x13e0 net/tls/tls_sw.c:248 tls_sw_sendmsg+0x8e8/0x12d0 net/tls/tls_sw.c:440 inet_sendmsg+0x19f/0x690 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:629 [inline] sock_sendmsg+0xd5/0x120 net/socket.c:639 __sys_sendto+0x3d7/0x670 net/socket.c:1789 __do_sys_sendto net/socket.c:1801 [inline] __se_sys_sendto net/socket.c:1797 [inline] __x64_sys_sendto+0xe1/0x1a0 net/socket.c:1797 do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4457d9 RSP: 002b:00007fc6b7ad8da8 EFLAGS: 00000216 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00000000006dac24 RCX: 00000000004457d9 RDX: 00000000fffffdef RSI: 00000000200005c0 RDI: 000000000000028c RBP: 00000000006dac20 R08: 0000000020000000 R09: 000000000000001c R10: 0000000000000000 R11: 0000000000000216 R12: 0000000000000000 R13: 00007ffe625e5cdf R14: 00007fc6b7ad99c0 R15: 0000000000000001 Showing all locks held in the system: 2 locks held by khungtaskd/892: #0: 000000003d87f609 (rcu_read_lock){....}, at: check_hung_uninterruptible_tasks kernel/hung_task.c:175 [inline] #0: 000000003d87f609 (rcu_read_lock){....}, at: watchdog+0x1ff/0xf60 kernel/hung_task.c:249 #1: 00000000954d7417 (tasklist_lock){.+.+}, at: debug_show_all_locks+0xde/0x34a kernel/locking/lockdep.c:4470 1 lock held by rsyslogd/4391: #0: 00000000c1c9297d (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1a9/0x1e0 fs/file.c:766 2 locks held by getty/4481: #0: 0000000081f7d562 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000009407dce2 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4482: #0: 00000000c52088b8 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000004d10652b (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4483: #0: 000000004ab8c31a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000689cc551 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4484: #0: 0000000094514a90 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000003531f0ec (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4485: #0: 00000000485e05d9 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 0000000064cbfa75 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4486: #0: 000000006b914d71 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 0000000087e9c7a6 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4487: #0: 0000000076ced0c5 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000006fb8a6d3 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 1 lock held by syz-executor448/4509: #0: 00000000b33a4da6 (sk_lock-AF_INET6){+.+.}, at: lock_sock include/net/sock.h:1469 [inline] #0: 00000000b33a4da6 (sk_lock-AF_INET6){+.+.}, at: tls_sw_sendmsg+0x1b9/0x12d0 net/tls/tls_sw.c:384 1 lock held by syz-executor448/4514: #0: 000000004a8da6df (sk_lock-AF_INET6){+.+.}, at: lock_sock include/net/sock.h:1469 [inline] #0: 000000004a8da6df (sk_lock-AF_INET6){+.+.}, at: tls_sw_sendmsg+0x1b9/0x12d0 net/tls/tls_sw.c:384 1 lock held by syz-executor448/4529: #0: 0000000015a211c8 (sk_lock-AF_INET6){+.+.}, at: lock_sock include/net/sock.h:1469 [inline] #0: 0000000015a211c8 (sk_lock-AF_INET6){+.+.}, at: tls_sw_sendmsg+0x1b9/0x12d0 net/tls/tls_sw.c:384 1 lock held by syz-executor448/4534: #0: 000000007095a695 (sk_lock-AF_INET6){+.+.}, at: lock_sock include/net/sock.h:1469 [inline] #0: 000000007095a695 (sk_lock-AF_INET6){+.+.}, at: tls_sw_sendmsg+0x1b9/0x12d0 net/tls/tls_sw.c:384 1 lock held by syz-executor448/4539: #0: 000000007c7c5f08 (sk_lock-AF_INET6){+.+.}, at: lock_sock include/net/sock.h:1469 [inline] #0: 000000007c7c5f08 (sk_lock-AF_INET6){+.+.}, at: tls_sw_sendmsg+0x1b9/0x12d0 net/tls/tls_sw.c:384 1 lock held by syz-executor448/4554: #0: 000000001944fdf1 (sk_lock-AF_INET6){+.+.}, at: lock_sock include/net/sock.h:1469 [inline] #0: 000000001944fdf1 (sk_lock-AF_INET6){+.+.}, at: tls_sw_sendmsg+0x1b9/0x12d0 net/tls/tls_sw.c:384 1 lock held by syz-executor448/4564: #0: 00000000077da285 (sk_lock-AF_INET6){+.+.}, at: lock_sock include/net/sock.h:1469 [inline] #0: 00000000077da285 (sk_lock-AF_INET6){+.+.}, at: tls_sw_sendmsg+0x1b9/0x12d0 net/tls/tls_sw.c:384 1 lock held by syz-executor448/4574: #0: 00000000bfba1297 (sk_lock-AF_INET6){+.+.}, at: lock_sock include/net/sock.h:1469 [inline] #0: 00000000bfba1297 (sk_lock-AF_INET6){+.+.}, at: tls_sw_sendmsg+0x1b9/0x12d0 net/tls/tls_sw.c:384 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 892 Comm: khungtaskd Not tainted 4.17.0-rc5+ #59 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+0x1b9/0x294 lib/dump_stack.c:113 nmi_cpu_backtrace.cold.4+0x19/0xce lib/nmi_backtrace.c:103 nmi_trigger_cpumask_backtrace+0x151/0x192 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:138 [inline] check_hung_task kernel/hung_task.c:132 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:190 [inline] watchdog+0xc10/0xf60 kernel/hung_task.c:249 kthread+0x345/0x410 kernel/kthread.c:240 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:412 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4508 Comm: syz-executor448 Not tainted 4.17.0-rc5+ #59 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__read_once_size include/linux/compiler.h:188 [inline] RIP: 0010:__fcheck_files include/linux/fdtable.h:88 [inline] RIP: 0010:fcheck_files include/linux/fdtable.h:98 [inline] RIP: 0010:__fget+0x26e/0x650 fs/file.c:686 RSP: 0018:ffff8801bdd57a20 EFLAGS: 00000246 RAX: 1ffff100354c0001 RBX: ffff8801aa600008 RCX: ffffffff81c7c079 RDX: 0000000000000000 RSI: ffffffff81c7c087 RDI: ffff8801d87eaa88 RBP: ffff8801bdd57b70 R08: ffff8801d96aa540 R09: ffffed003b5e46c2 R10: ffffed003b5e46c2 R11: ffff8801daf23613 R12: ffff8801d87eaa80 R13: dffffc0000000000 R14: ffff8801bdd57b48 R15: 0000000000000001 FS: 0000000000e6c880(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056500bb29ff0 CR3: 00000001d915a000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __fget_light+0x342/0x430 fs/file.c:741 __fdget fs/file.c:749 [inline] __fdget_pos+0x6e/0x1e0 fs/file.c:760 fdget_pos include/linux/file.h:67 [inline] ksys_write+0x77/0x250 fs/read_write.c:593 __do_sys_write fs/read_write.c:610 [inline] __se_sys_write fs/read_write.c:607 [inline] __x64_sys_write+0x73/0xb0 fs/read_write.c:607 do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4457d9 RSP: 002b:00007ffe625e5d58 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00000000006dada0 RCX: 00000000004457d9 RDX: 0000000000000012 RSI: 00000000004addc0 RDI: 0000000000000001 RBP: 0000000000000010 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dad8c R13: 00000000006dada0 R14: 0000000000000008 R15: 0000000000000001 Code: c6 04 28 00 48 89 f8 48 c1 e8 03 42 80 3c 28 00 0f 85 d6 03 00 00 49 8b 44 24 08 48 8d 1c d8 48 89 d8 48 c1 e8 03 42 80 3c 28 00 <0f> 85 ae 03 00 00 48 8b 85 e8 fe ff ff 48 8b 1b 48 c1 e8 03 42