INFO: task syz-executor.5:19792 blocked for more than 140 seconds. Not tainted 5.0.0-rc5+ #65 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D25760 19792 7780 0x00000006 Call Trace: context_switch kernel/sched/core.c:2844 [inline] __schedule+0x817/0x1cc0 kernel/sched/core.c:3485 schedule+0x92/0x180 kernel/sched/core.c:3529 schedule_timeout+0x8ca/0xfd0 kernel/time/timer.c:1779 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+0x29c/0x440 kernel/sched/completion.c:136 crypto_wait_req include/linux/crypto.h:688 [inline] crypto_wait_req include/linux/crypto.h:683 [inline] tls_sw_free_resources_tx+0x3bc/0xa20 net/tls/tls_sw.c:1795 tls_sk_proto_close+0x66c/0x760 net/tls/tls_main.c:280 inet_release+0x105/0x1f0 net/ipv4/af_inet.c:428 inet6_release+0x53/0x80 net/ipv6/af_inet6.c:473 __sock_release+0xd3/0x250 net/socket.c:579 sock_close+0x1b/0x30 net/socket.c:1139 __fput+0x2df/0x8d0 fs/file_table.c:278 ____fput+0x16/0x20 fs/file_table.c:309 task_work_run+0x14a/0x1c0 kernel/task_work.c:113 get_signal+0x1969/0x1d60 kernel/signal.c:2388 do_signal+0x87/0x1940 arch/x86/kernel/signal.c:816 exit_to_usermode_loop+0x244/0x2c0 arch/x86/entry/common.c:162 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath arch/x86/entry/common.c:268 [inline] do_syscall_64+0x52d/0x610 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457e39 Code: 44 24 18 00 00 00 00 e8 a5 b0 fc ff 48 8b 44 24 38 48 89 04 24 e8 d7 77 fb ff 48 8b 6c 24 40 48 83 c4 48 c3 48 89 d1 eb 90 e8 <73> 20 00 00 e9 7e fe ff ff cc cc cc cc cc cc cc cc cc cc cc cc cc RSP: 002b:00007f36f8d55c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: 0000000000ffc000 RBX: 0000000000000006 RCX: 0000000000457e39 RDX: c005002000003eee RSI: 00000000200005c0 RDI: 0000000000000004 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f36f8d566d4 R13: 00000000004c54f2 R14: 00000000004d9358 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1039: #0: 00000000272bed11 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:4389 2 locks held by getty/7726: #0: 000000009dca69c5 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000d1453350 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7727: #0: 00000000e6f7123e (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000037d0edd6 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7728: #0: 000000009d968bd2 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000055eef40b (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7729: #0: 00000000e568781a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000b81fb855 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7730: #0: 000000005ba6bf5d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000b0ab93cc (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7731: #0: 0000000065780b84 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000002894beae (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7732: #0: 000000004531d7ae (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000dbdf1673 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by syz-executor.5/19792: #0: 00000000aa84f3b9 (&sb->s_type->i_mutex_key#11){+.+.}, at: inode_lock include/linux/fs.h:757 [inline] #0: 00000000aa84f3b9 (&sb->s_type->i_mutex_key#11){+.+.}, at: __sock_release+0x89/0x250 net/socket.c:578 #1: 00000000d426c1c6 (sk_lock-AF_INET6){+.+.}, at: lock_sock include/net/sock.h:1506 [inline] #1: 00000000d426c1c6 (sk_lock-AF_INET6){+.+.}, at: tls_sk_proto_close+0xd6/0x760 net/tls/tls_main.c:264 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1039 Comm: khungtaskd Not tainted 5.0.0-rc5+ #65 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+0x172/0x1f0 lib/dump_stack.c:113 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1be/0x236 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:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x9df/0xee0 kernel/hung_task.c:287 kthread+0x357/0x430 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 9136 Comm: kworker/u4:8 Not tainted 5.0.0-rc5+ #65 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:rcu_dynticks_curr_cpu_in_eqs+0x4/0xb0 kernel/rcu/tree.c:302 Code: 84 00 00 00 00 00 55 48 89 e5 e8 37 d5 ff ff 65 48 8b 3c 25 40 ee 01 00 e8 59 e3 ff ff 5d c3 0f 1f 80 00 00 00 00 55 48 89 e5 <41> 54 53 48 c7 c3 c0 dd 02 00 48 83 ec 08 e8 f9 ff cc 01 48 ba 00 RSP: 0018:ffff8880579c7cc0 EFLAGS: 00000283 RAX: ffff888058d50100 RBX: ffff8880a97c20c0 RCX: ffffffff86e73165 RDX: 0000000000000000 RSI: ffffffff86e734e8 RDI: 0000000000000001 RBP: ffff8880579c7cc0 R08: ffff888058d50100 R09: ffff888058d509f0 R10: ffff888058d509d0 R11: 0000000000000001 R12: 0000000000000000 R13: 00000000000001b8 R14: ffff88805b81e280 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f01c6d7f000 CR3: 000000009fc64000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_is_watching+0x10/0x30 kernel/rcu/tree.c:932 rcu_read_lock include/linux/rcupdate.h:608 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:419 [inline] batadv_nc_worker+0x4cd/0x760 net/batman-adv/network-coding.c:730 process_one_work+0x98e/0x1790 kernel/workqueue.c:2173 worker_thread+0x98/0xe40 kernel/workqueue.c:2319 kthread+0x357/0x430 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352