INFO: task syz-executor.5:19272 blocked for more than 143 seconds. Not tainted 5.2.0+ #67 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D28160 19272 9068 0x00004004 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 __flush_work+0x508/0xa50 kernel/workqueue.c:3040 __cancel_work_timer+0x3d9/0x540 kernel/workqueue.c:3127 cancel_delayed_work_sync+0x1b/0x20 kernel/workqueue.c:3259 tls_sw_free_resources_tx+0xfc/0x6d0 net/tls/tls_sw.c:2069 tls_sk_proto_close+0x369/0x6b0 net/tls/tls_main.c:290 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:00007ffd5f09b1d0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000413511 RDX: 0000001b32720000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000001 R08: 000000003d3e0ebd R09: 000000003d3e0ec1 R10: 00007ffd5f09b2b0 R11: 0000000000000293 R12: 000000000075bfc8 R13: 00000000001a6d0f R14: 0000000000760938 R15: ffffffffffffffff INFO: task syz-executor.1:19273 blocked for more than 143 seconds. Not tainted 5.2.0+ #67 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D28160 19273 9055 0x00004004 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 __flush_work+0x508/0xa50 kernel/workqueue.c:3040 __cancel_work_timer+0x3d9/0x540 kernel/workqueue.c:3127 cancel_delayed_work_sync+0x1b/0x20 kernel/workqueue.c:3259 tls_sw_free_resources_tx+0xfc/0x6d0 net/tls/tls_sw.c:2069 tls_sk_proto_close+0x369/0x6b0 net/tls/tls_main.c:290 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: eb 27 4d 8d 6b 08 44 0f b6 36 49 89 cf 4c 89 d9 49 d3 e6 48 83 f9 40 4c 89 f9 4d 19 ff 4d 21 f7 4d 09 fc 48 ff c6 4d 89 eb 4d <39> cb 72 d4 4c 89 c6 49 c1 e8 03 4f 8d 0c 00 49 83 f9 39 0f 87 74 RSP: 002b:00007fff7da5a7e0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000413511 RDX: 0000001b31a20000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000001 R08: ffffffff8100a234 R09: 00000000dda2b52a R10: 00007fff7da5a8c0 R11: 0000000000000293 R12: 000000000075c9a0 R13: 000000000075c9a0 R14: 0000000000760960 R15: ffffffffffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1054: #0: 000000007b1bc3fb (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:5257 2 locks held by getty/9013: #0: 00000000db52eca7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000df84d9a1 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9014: #0: 00000000f471b7d2 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000014f8a30c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9015: #0: 000000007ee1b144 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000070ca991e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9016: #0: 00000000f0821904 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000b448459c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9017: #0: 00000000645b4fca (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000013968a51 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9018: #0: 00000000c00301d2 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000363a1410 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/9019: #0: 000000002e67f487 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000ea56ef5a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by kworker/0:5/9066: #0: 0000000073a61661 ((wq_completion)events){+.+.}, at: __write_once_size include/linux/compiler.h:221 [inline] #0: 0000000073a61661 ((wq_completion)events){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 0000000073a61661 ((wq_completion)events){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: 0000000073a61661 ((wq_completion)events){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: 0000000073a61661 ((wq_completion)events){+.+.}, at: set_work_data kernel/workqueue.c:620 [inline] #0: 0000000073a61661 ((wq_completion)events){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:647 [inline] #0: 0000000073a61661 ((wq_completion)events){+.+.}, at: process_one_work+0x88b/0x1740 kernel/workqueue.c:2240 #1: 000000004aed3823 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}, at: process_one_work+0x8c1/0x1740 kernel/workqueue.c:2244 2 locks held by kworker/1:9/27575: #0: 0000000073a61661 ((wq_completion)events){+.+.}, at: __write_once_size include/linux/compiler.h:221 [inline] #0: 0000000073a61661 ((wq_completion)events){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 0000000073a61661 ((wq_completion)events){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: 0000000073a61661 ((wq_completion)events){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: 0000000073a61661 ((wq_completion)events){+.+.}, at: set_work_data kernel/workqueue.c:620 [inline] #0: 0000000073a61661 ((wq_completion)events){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:647 [inline] #0: 0000000073a61661 ((wq_completion)events){+.+.}, at: process_one_work+0x88b/0x1740 kernel/workqueue.c:2240 #1: 00000000bcd3e6bc ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}, at: process_one_work+0x8c1/0x1740 kernel/workqueue.c:2244 1 lock held by syz-executor.5/19272: #0: 000000004110d45f (&sb->s_type->i_mutex_key#12){+.+.}, at: inode_lock include/linux/fs.h:778 [inline] #0: 000000004110d45f (&sb->s_type->i_mutex_key#12){+.+.}, at: __sock_release+0x89/0x280 net/socket.c:589 1 lock held by syz-executor.1/19273: #0: 000000000e6f7a38 (&sb->s_type->i_mutex_key#12){+.+.}, at: inode_lock include/linux/fs.h:778 [inline] #0: 000000000e6f7a38 (&sb->s_type->i_mutex_key#12){+.+.}, at: __sock_release+0x89/0x280 net/socket.c:589 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1054 Comm: khungtaskd Not tainted 5.2.0+ #67 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 24467 Comm: kworker/u4:3 Not tainted 5.2.0+ #67 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:__lock_acquire+0x83b/0x4c30 kernel/locking/lockdep.c:3876 Code: c1 ea 03 0f b6 14 02 4c 89 f0 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 e9 14 00 00 8b 15 5d b0 4c 08 85 d2 0f 85 bb 00 00 00 <8b> 85 70 ff ff ff 85 c0 0f 85 3d 11 00 00 48 8b 95 50 ff ff ff 48 RSP: 0018:ffff88805d997b38 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 0000000000000000 RCX: 70f3afb6d5fecce0 RDX: 0000000000000000 RSI: 00000000e41fa7f6 RDI: ffff88808b9e6941 RBP: ffff88805d997c50 R08: 1ffffffff14a7740 R09: fffffbfff14a7741 R10: ffff88808b9e6920 R11: ffff88808b9e6040 R12: 00000000ccb00c5c R13: a7b91d2781928fa6 R14: ffffffff89a529b0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 000000009fbfc000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x190/0x410 kernel/locking/lockdep.c:4413 rcu_lock_acquire include/linux/rcupdate.h:208 [inline] rcu_read_lock include/linux/rcupdate.h:592 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:407 [inline] batadv_nc_worker+0x117/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