INFO: task syz-executor.2:5021 blocked for more than 143 seconds. Not tainted 5.4.0-rc3+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D29520 5021 7673 0x00004004 Call Trace: context_switch kernel/sched/core.c:3384 [inline] __schedule+0x74b/0xb80 kernel/sched/core.c:4069 schedule+0x131/0x1e0 kernel/sched/core.c:4136 exp_funnel_lock kernel/rcu/tree_exp.h:308 [inline] synchronize_rcu_expedited+0x535/0x5a0 kernel/rcu/tree_exp.h:817 synchronize_rcu+0xa1/0x100 kernel/rcu/tree.c:2735 synchronize_net+0x47/0x50 net/core/dev.c:9321 packet_set_ring+0x12d2/0x2760 net/packet/af_packet.c:4377 packet_setsockopt+0x8b2/0x35a0 net/packet/af_packet.c:3689 __sys_setsockopt+0x582/0x720 net/socket.c:2084 __do_sys_setsockopt net/socket.c:2100 [inline] __se_sys_setsockopt net/socket.c:2097 [inline] __x64_sys_setsockopt+0xbf/0xd0 net/socket.c:2097 do_syscall_64+0xf7/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459a59 Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <90> 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00007f2a66b61c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000459a59 RDX: 0000000000000005 RSI: 0000000000000107 RDI: 0000000000000004 RBP: 000000000075bf20 R08: 00000000000000c5 R09: 0000000000000000 R10: 0000000020001000 R11: 0000000000000246 R12: 00007f2a66b626d4 R13: 00000000004c7da3 R14: 00000000004dde50 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1061: #0: ffffffff888d3f80 (rcu_read_lock){....}, at: rcu_lock_acquire+0x4/0x30 include/linux/rcupdate.h:207 1 lock held by rsyslogd/7538: #0: ffff88809573f160 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x243/0x2e0 fs/file.c:801 2 locks held by getty/7628: #0: ffff8880a4cd1090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f312e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 2 locks held by getty/7629: #0: ffff8880a18d8090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f212e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 2 locks held by getty/7630: #0: ffff888098144090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f352e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 2 locks held by getty/7631: #0: ffff888099902090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f152e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 2 locks held by getty/7632: #0: ffff8880a991c090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f392e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 2 locks held by getty/7633: #0: ffff8880a9620090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f2d2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 2 locks held by getty/7634: #0: ffff8880a12f1090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:272 #1: ffffc90005f012e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x221/0x1b00 drivers/tty/n_tty.c:2156 1 lock held by syz-executor.2/5021: #0: ffff888037862110 (sk_lock-AF_PACKET){+.+.}, at: lock_sock include/net/sock.h:1522 [inline] #0: ffff888037862110 (sk_lock-AF_PACKET){+.+.}, at: packet_setsockopt+0x61d/0x35a0 net/packet/af_packet.c:3672 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1061 Comm: khungtaskd Not tainted 5.4.0-rc3+ #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+0x1d8/0x2f8 lib/dump_stack.c:113 nmi_cpu_backtrace+0xaf/0x1a0 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x174/0x290 lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x10/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace+0x17/0x20 include/linux/nmi.h:146 check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0xbb9/0xbd0 kernel/hung_task.c:289 kthread+0x332/0x350 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: 30285 Comm: kworker/u4:1 Not tainted 5.4.0-rc3+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:__kasan_check_read+0x0/0x20 mm/kasan/common.c:91 Code: 99 ff 90 90 90 90 90 90 90 90 65 48 8b 04 25 c0 fd 01 00 ff 80 e0 12 00 00 c3 65 48 8b 04 25 c0 fd 01 00 ff 88 e0 12 00 00 c3 <55> 48 89 e5 89 f6 48 8b 4d 08 31 d2 e8 5f 23 00 00 5d c3 0f 1f 00 RSP: 0018:ffff888012337a68 EFLAGS: 00000047 RAX: 0000000000000000 RBX: 0000000000000029 RCX: ffffffff8158785b RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff895de4e0 RBP: ffff888012337bc8 R08: dffffc0000000000 R09: fffffbfff12bbcb3 R10: fffffbfff12bbcb3 R11: 0000000000000000 R12: cec6f943accffe86 R13: ffff88801d354e50 R14: ffffffff89208fd0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000000a1fb9000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x158/0x250 kernel/locking/lockdep.c:4487 rcu_lock_acquire+0x2e/0x40 include/linux/rcupdate.h:208 rcu_read_lock include/linux/rcupdate.h:599 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:407 [inline] batadv_nc_worker+0xdc/0x600 net/batman-adv/network-coding.c:718 process_one_work+0x7ef/0x10e0 kernel/workqueue.c:2269 worker_thread+0xc01/0x1630 kernel/workqueue.c:2415 kthread+0x332/0x350 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352