INFO: task syz-executor.3:22973 blocked for more than 143 seconds. Not tainted 5.3.0-rc3+ #134 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D28160 22973 9275 0x00000004 Call Trace: context_switch kernel/sched/core.c:3254 [inline] __schedule+0x755/0x1580 kernel/sched/core.c:3880 schedule+0xa8/0x270 kernel/sched/core.c:3944 schedule_timeout+0x717/0xc50 kernel/time/timer.c:1783 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:685 [inline] crypto_wait_req include/linux/crypto.h:680 [inline] tls_sw_release_resources_tx+0x4ee/0x6b0 net/tls/tls_sw.c:2075 tls_sk_proto_cleanup net/tls/tls_main.c:275 [inline] tls_sk_proto_close+0x638/0x910 net/tls/tls_main.c:305 inet_release+0xed/0x200 net/ipv4/af_inet.c:427 inet6_release+0x53/0x80 net/ipv6/af_inet6.c:470 __sock_release+0xce/0x280 net/socket.c:590 sock_close+0x1e/0x30 net/socket.c:1268 __fput+0x2ff/0x890 fs/file_table.c:280 ____fput+0x16/0x20 fs/file_table.c:313 task_work_run+0x145/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x316/0x380 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline] syscall_return_slowpath arch/x86/entry/common.c:274 [inline] do_syscall_64+0x5a9/0x6a0 arch/x86/entry/common.c:299 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x413511 Code: 8c d6 65 00 ba 02 00 00 00 bf 28 38 44 00 ff 15 7d a1 24 00 85 c0 0f 85 37 fe ff ff 31 c9 31 f6 41 b9 b0 20 41 00 41 b8 90 d6 <65> 00 ba 03 00 00 00 bf 31 38 44 00 ff 15 55 a1 24 00 85 c0 0f 85 RSP: 002b:00007ffe7787e230 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000413511 RDX: 0000001b2f520000 RSI: ffffffff873ef2d8 RDI: 0000000000000003 RBP: 0000000000000001 R08: ffffffff8162d65a R09: 000000003df13e0f R10: 00007ffe7787e310 R11: 0000000000000293 R12: 000000000075c9a0 R13: 000000000075c9a0 R14: 00000000007616a8 R15: ffffffffffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1056: #0: 00000000f62255f6 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:5256 1 lock held by rsyslogd/9138: 2 locks held by getty/9228: #0: 00000000bb9e302f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: 000000002d3371e1 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9229: #0: 00000000e1d3e784 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: 00000000ed8f0549 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9230: #0: 000000000ad034d6 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: 00000000794b9fb8 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9231: #0: 00000000ff657f73 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: 00000000b600cb06 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9232: #0: 000000004f42b575 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: 00000000b87d59d9 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9233: #0: 000000000b1301cd (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: 00000000326fedd0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9234: #0: 0000000039c0c878 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: 00000000be827bfe (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by syz-executor.3/22973: #0: 00000000987d2c38 (&sb->s_type->i_mutex_key#12){+.+.}, at: inode_lock include/linux/fs.h:778 [inline] #0: 00000000987d2c38 (&sb->s_type->i_mutex_key#12){+.+.}, at: __sock_release+0x89/0x280 net/socket.c:589 #1: 000000003afe5820 (sk_lock-AF_INET6){+.+.}, at: lock_sock include/net/sock.h:1522 [inline] #1: 000000003afe5820 (sk_lock-AF_INET6){+.+.}, at: tls_sk_proto_close+0x127/0x910 net/tls/tls_main.c:301 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1056 Comm: khungtaskd Not tainted 5.3.0-rc3+ #134 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+0x70/0xb2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x23b/0x28b 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:205 [inline] watchdog+0x9d0/0xef0 kernel/hung_task.c:289 kthread+0x361/0x430 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 10286 Comm: kworker/u4:8 Not tainted 5.3.0-rc3+ #134 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:__lock_release kernel/locking/lockdep.c:4196 [inline] RIP: 0010:lock_release+0x318/0x960 kernel/locking/lockdep.c:4431 Code: 03 0f b6 14 11 84 d2 74 09 80 fa 03 0f 8e db 05 00 00 66 83 68 22 10 66 f7 40 22 f0 ff 0f 85 32 01 00 00 4c 89 ce 41 8b 56 c0 <48> b9 00 00 00 00 00 fc ff df 48 c1 ee 03 0f b6 0c 0e 84 c9 74 09 RSP: 0018:ffff888068bbfc00 EFLAGS: 00000046 RAX: ffff88808ae9aaa0 RBX: 1ffff1100d177f85 RCX: 0000000000000000 RDX: 0000000000000002 RSI: ffff88808ae9aa48 RDI: ffff88808ae9aac2 RBP: ffff888068bbfcd0 R08: 0000000000000003 R09: ffff88808ae9aa48 R10: fffffbfff134b147 R11: ffffffff89a58a3f R12: ffffffff88dac300 R13: ffffffff8722f12a R14: ffff888068bbfca8 R15: ffff88808ae9a1c0 FS: 0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 000000008ecbc000 CR4: 00000000001406e0 Call Trace: rcu_lock_release include/linux/rcupdate.h:213 [inline] rcu_read_unlock include/linux/rcupdate.h:646 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:411 [inline] batadv_nc_worker+0x225/0x760 net/batman-adv/network-coding.c:718 process_one_work+0x9af/0x1740 kernel/workqueue.c:2269 worker_thread+0x98/0xe40 kernel/workqueue.c:2415 kthread+0x361/0x430 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352