INFO: task syz-executor.0:889 blocked for more than 143 seconds. Not tainted 5.1.0+ #10 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D29056 889 13217 0x00004006 Call Trace: context_switch kernel/sched/core.c:2817 [inline] __schedule+0x7cb/0x1560 kernel/sched/core.c:3444 schedule+0xa8/0x260 kernel/sched/core.c:3508 exp_funnel_lock kernel/rcu/tree_exp.h:309 [inline] synchronize_rcu_expedited+0x54e/0x5b0 kernel/rcu/tree_exp.h:790 synchronize_net+0x3b/0x60 net/core/dev.c:9279 packet_release+0x806/0xbf0 net/packet/af_packet.c:3015 __sock_release+0xce/0x2a0 net/socket.c:607 sock_close+0x1b/0x30 net/socket.c:1279 __fput+0x2ff/0x890 fs/file_table.c:279 ____fput+0x16/0x20 fs/file_table.c:312 task_work_run+0x145/0x1c0 kernel/task_work.c:113 get_signal+0x1dda/0x2240 kernel/signal.c:2431 do_signal+0x87/0x1900 arch/x86/kernel/signal.c:815 exit_to_usermode_loop+0x244/0x2c0 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:279 [inline] do_syscall_64+0x58e/0x680 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458da9 Code: Bad RIP value. RSP: 002b:00007fd88e2e7c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002f RAX: fffffffffffffe00 RBX: 0000000000000003 RCX: 0000000000458da9 RDX: 0000000000000020 RSI: 0000000020000400 RDI: 0000000000000005 RBP: 000000000073c040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd88e2e86d4 R13: 00000000004c5e1d R14: 00000000004da6b0 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1041: #0: 00000000435eb4d5 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:5148 2 locks held by rsyslogd/8922: #0: 00000000839809b8 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801 #1: 0000000051f27c44 (logbuf_lock){-.-.}, at: is_bpf_text_address+0x0/0x170 kernel/bpf/core.c:699 2 locks held by getty/9011: #0: 00000000557771f2 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000001d685a25 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/9012: #0: 000000008de6f0e2 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000bdd648c9 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/9013: #0: 00000000111abe53 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000016500d38 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/9014: #0: 0000000050c98e25 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000004d4e5dba (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/9015: #0: 00000000ff0bde9c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000d8253b68 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/9016: #0: 000000001fd1606c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000081559936 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/9017: #0: 00000000ea31f724 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000064830c42 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 1 lock held by syz-executor.0/889: #0: 00000000c5a67e86 (&sb->s_type->i_mutex_key#11){+.+.}, at: inode_lock include/linux/fs.h:778 [inline] #0: 00000000c5a67e86 (&sb->s_type->i_mutex_key#11){+.+.}, at: __sock_release+0x89/0x2a0 net/socket.c:606 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1041 Comm: khungtaskd Not tainted 5.1.0+ #10 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:204 [inline] watchdog+0x9b7/0xec0 kernel/hung_task.c:288 kthread+0x354/0x420 kernel/kthread.c:253 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: 2544 Comm: kworker/u4:4 Not tainted 5.1.0+ #10 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:mark_lock+0xcf/0x1370 kernel/locking/lockdep.c:3539 Code: ea 03 80 3c 02 00 0f 85 92 0e 00 00 4c 85 6b 50 0f 84 c1 00 00 00 41 bd 01 00 00 00 48 83 c4 20 44 89 e8 5b 41 5c 41 5d 41 5e <41> 5f 5d c3 48 c7 c0 80 6c 65 8a 48 ba 00 00 00 00 00 fc ff df 48 RSP: 0018:ffff8880a131fb68 EFLAGS: 00000086 RAX: 0000000000000001 RBX: 0000000000000001 RCX: 1ffff110142535c9 RDX: 1ffffffff14649da RSI: ffff8880a129ae28 RDI: ffffffff8a324ed0 RBP: ffff8880a131fb70 R08: ffff8880a129a580 R09: ffff8880a129ae48 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000002 R13: ffff8880a129a580 R14: dffffc0000000000 R15: ffff8880a129a580 FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c428b09010 CR3: 00000000a007f000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: mark_held_locks+0xa4/0xf0 kernel/locking/lockdep.c:3188 __trace_hardirqs_on_caller kernel/locking/lockdep.c:3209 [inline] lockdep_hardirqs_on+0x19e/0x5d0 kernel/locking/lockdep.c:3262 trace_hardirqs_on+0x67/0x220 kernel/trace/trace_preemptirq.c:31 __local_bh_enable_ip+0x15a/0x270 kernel/softirq.c:195 __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_nc_purge_paths+0x265/0x370 net/batman-adv/network-coding.c:470 batadv_nc_worker+0x2cf/0x760 net/batman-adv/network-coding.c:721 process_one_work+0x989/0x1790 kernel/workqueue.c:2268 worker_thread+0x98/0xe40 kernel/workqueue.c:2414 kthread+0x354/0x420 kernel/kthread.c:253 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352