INFO: task syz-executor.5:26418 blocked for more than 143 seconds. Not tainted 5.4.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D28160 26418 8727 0x00004004 Call Trace: context_switch kernel/sched/core.c:3385 [inline] __schedule+0x909/0x1ee0 kernel/sched/core.c:4079 schedule+0xdc/0x2b0 kernel/sched/core.c:4153 schedule_timeout+0x717/0xc50 kernel/time/timer.c:1871 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/0xa60 kernel/workqueue.c:3048 __cancel_work_timer+0x3d9/0x540 kernel/workqueue.c:3135 cancel_delayed_work_sync+0x1b/0x20 kernel/workqueue.c:3267 tls_sw_cancel_work_tx+0x68/0x80 net/tls/tls_sw.c:2068 tls_sk_proto_close+0x4d2/0xb70 net/tls/tls_main.c:313 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:591 sock_close+0x1e/0x30 net/socket.c:1269 __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+0x65f/0x760 arch/x86/entry/common.c:300 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4141e1 Code: 83 fb 01 0f 85 bc 01 00 00 4c 8d 52 ff 4c 89 e9 4d 89 c3 eb 12 49 c1 e0 08 45 0f b6 22 4d 09 e0 49 83 c5 08 49 ff ca 4d 39 cd <72> e9 4d 39 cd 0f 86 85 01 00 00 4d 29 cd 49 89 ca 4c 89 e9 49 d3 RSP: 002b:00007fff924867e0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00000000004141e1 RDX: 0000001b2d220000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000001 R08: ffffffff81350b78 R09: 00000000ca8a13e8 R10: 00007fff924868c0 R11: 0000000000000293 R12: 000000000075c9a0 R13: 000000000075c9a0 R14: 0000000000760660 R15: 000000000075bf2c Showing all locks held in the system: 1 lock held by khungtaskd/1071: #0: ffffffff88fac3c0 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:5337 1 lock held by rsyslogd/8587: #0: ffff8880939b0e20 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801 3 locks held by getty/8677: #0: ffff8880a4e99160 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801 #1: ffff8880a8571090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #2: ffffc90005f2d2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 3 locks held by getty/8678: #0: ffff88809acb78e0 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801 #1: ffff8880a4d4c090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #2: ffffc90005f4b2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 3 locks held by getty/8679: #0: ffff88809c14e420 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801 #1: ffff88809c9a9090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #2: ffffc90005f352e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 3 locks held by getty/8680: #0: ffff888098c62ba0 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801 #1: ffff8880a4b55090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #2: ffffc90005f392e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 3 locks held by getty/8681: #0: ffff888098a0f6a0 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801 #1: ffff8880a0ed1090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #2: ffffc90005f312e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 3 locks held by getty/8682: #0: ffff8880a508f8a0 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801 #1: ffff888092b62090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #2: ffffc90005f472e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 3 locks held by getty/8683: #0: ffff88809fc7db20 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801 #1: ffff888095850090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #2: ffffc90005f192e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 3 locks held by kworker/1:2/31690: #0: ffff8880aa427d28 ((wq_completion)events){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8880aa427d28 ((wq_completion)events){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880aa427d28 ((wq_completion)events){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8880aa427d28 ((wq_completion)events){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8880aa427d28 ((wq_completion)events){+.+.}, at: set_work_data kernel/workqueue.c:622 [inline] #0: ffff8880aa427d28 ((wq_completion)events){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:649 [inline] #0: ffff8880aa427d28 ((wq_completion)events){+.+.}, at: process_one_work+0x88b/0x1740 kernel/workqueue.c:2242 #1: ffff88809943fdc0 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}, at: process_one_work+0x8c1/0x1740 kernel/workqueue.c:2246 #2: ffff88808e3c5cd0 (&ctx->tx_lock){+.+.}, at: tx_work_handler+0x12e/0x190 net/tls/tls_sw.c:2180 1 lock held by syz-executor.5/26418: #0: ffff88805c64c780 (&sb->s_type->i_mutex_key#12){+.+.}, at: inode_lock include/linux/fs.h:789 [inline] #0: ffff88805c64c780 (&sb->s_type->i_mutex_key#12){+.+.}, at: __sock_release+0x89/0x280 net/socket.c:590 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1071 Comm: khungtaskd Not tainted 5.4.0-syzkaller #0 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+0x197/0x210 lib/dump_stack.c:118 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: 172 Comm: kworker/u4:3 Not tainted 5.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_purge_orig RIP: 0010:mark_held_locks+0xc2/0xf0 kernel/locking/lockdep.c:3365 Code: a8 04 74 0c 4c 89 ef e8 3c ed ff ff 85 c0 74 11 83 c3 01 41 39 9d 90 08 00 00 7f a9 b8 01 00 00 00 48 83 c4 08 5b 41 5c 41 5d <41> 5e 41 5f 5d c3 e8 c3 77 56 00 e9 6d ff ff ff 48 89 75 d0 e8 75 RSP: 0018:ffff8880a9417bc8 EFLAGS: 00000092 RAX: 0000000000000001 RBX: ffff8880a9408100 RCX: 0000000000000002 RDX: 1ffffffff14faa4a RSI: 0000000000000008 RDI: ffffffff8a7d5250 RBP: ffff8880a9417bd8 R08: 1ffffffff14f2733 R09: fffffbfff14f2734 R10: fffffbfff14f2733 R11: ffffffff8a79399f R12: ffffffff8146ddea R13: ffffffff87569c21 R14: dffffc0000000000 R15: ffff8880a9408998 FS: 0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 0000000096b2a000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __trace_hardirqs_on_caller kernel/locking/lockdep.c:3381 [inline] lockdep_hardirqs_on+0x19e/0x5e0 kernel/locking/lockdep.c:3434 trace_hardirqs_on+0x67/0x240 kernel/trace/trace_preemptirq.c:31 __local_bh_enable_ip+0x15a/0x270 kernel/softirq.c:194 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:176 [inline] _raw_spin_unlock_bh+0x31/0x40 kernel/locking/spinlock.c:207 spin_unlock_bh include/linux/spinlock.h:383 [inline] batadv_purge_orig_ref+0xa85/0x1060 net/batman-adv/originator.c:1366 batadv_purge_orig+0x1b/0x70 net/batman-adv/originator.c:1379 process_one_work+0x9af/0x1740 kernel/workqueue.c:2271 worker_thread+0x98/0xe40 kernel/workqueue.c:2417 kthread+0x361/0x430 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352