INFO: task syz-executor.5:14301 blocked for more than 143 seconds. Not tainted 5.3.0+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D27792 14301 8696 0x00004004 Call Trace: context_switch kernel/sched/core.c:3384 [inline] __schedule+0x828/0x1c80 kernel/sched/core.c:4065 schedule+0xd9/0x260 kernel/sched/core.c:4132 exp_funnel_lock kernel/rcu/tree_exp.h:308 [inline] synchronize_rcu_expedited+0x57f/0x5f0 kernel/rcu/tree_exp.h:817 synchronize_net+0x3b/0x60 net/core/dev.c:9319 packet_set_ring+0x23c/0x1b60 net/packet/af_packet.c:4377 packet_setsockopt+0x530/0x2df0 net/packet/af_packet.c:3689 __sys_setsockopt+0x261/0x4c0 net/socket.c:2084 __do_sys_setsockopt net/socket.c:2100 [inline] __se_sys_setsockopt net/socket.c:2097 [inline] __x64_sys_setsockopt+0xbe/0x150 net/socket.c:2097 do_syscall_64+0xfa/0x760 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459a09 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:00007f942c538c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000459a09 RDX: 000000000000000d RSI: 0000000000000107 RDI: 000000000000000a RBP: 000000000075bf20 R08: 000000000000001c R09: 0000000000000000 R10: 0000000020000100 R11: 0000000000000246 R12: 00007f942c5396d4 R13: 00000000004c8421 R14: 00000000004def60 R15: 00000000ffffffff Showing all locks held in the system: 2 locks held by kworker/u4:2/38: #0: ffff8880ae934818 (&rq->lock){-.-.}, at: newidle_balance+0xa30/0xe90 kernel/sched/fair.c:9840 #1: ffffffff88fab300 (rcu_read_lock){....}, at: __update_idle_core+0x45/0x3f0 kernel/sched/fair.c:5848 1 lock held by khungtaskd/1064: #0: ffffffff88fab300 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:5337 2 locks held by rsyslogd/8551: #0: ffff8880860c30e0 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801 #1: ffffffff88fa0658 (logbuf_lock){-.-.}, at: __debug_check_no_obj_freed lib/debugobjects.c:951 [inline] #1: ffffffff88fa0658 (logbuf_lock){-.-.}, at: debug_check_no_obj_freed+0xc0/0x43f lib/debugobjects.c:994 2 locks held by getty/8641: #0: ffff88809851f290 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f3d2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/8642: #0: ffff8880983ae950 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f292e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/8643: #0: ffff8880841ee150 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f392e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/8644: #0: ffff88809b888c50 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f212e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/8645: #0: ffff88809851ea10 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f412e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/8646: #0: ffff8880983ae0d0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f352e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/8647: #0: ffff8880917ca610 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f112e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 1 lock held by syz-executor.5/14301: #0: ffff88805a9ba3d0 (sk_lock-AF_PACKET){+.+.}, at: lock_sock include/net/sock.h:1522 [inline] #0: ffff88805a9ba3d0 (sk_lock-AF_PACKET){+.+.}, at: packet_setsockopt+0x447/0x2df0 net/packet/af_packet.c:3672 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1064 Comm: khungtaskd Not tainted 5.3.0+ #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+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: 38 Comm: kworker/u4:2 Not tainted 5.3.0+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:debug_lockdep_rcu_enabled.part.0+0x2a/0x60 kernel/rcu/update.c:252 Code: 48 b8 00 00 00 00 00 fc ff df 55 48 89 e5 53 65 48 8b 1c 25 40 fe 01 00 48 8d bb 94 08 00 00 48 89 fa 48 c1 ea 03 0f b6 14 02 <48> 89 f8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 10 8b 93 94 08 00 RSP: 0018:ffff8880a9b1fcb0 EFLAGS: 00000a03 RAX: dffffc0000000000 RBX: ffff8880a9b0e280 RCX: 1ffffffff138dc9e RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8880a9b0eb14 RBP: ffff8880a9b1fcb8 R08: 1ffffffff14efb2c R09: fffffbfff14efb2d R10: ffff8880a9b0eb68 R11: ffff8880a9b0e280 R12: 0000000000000001 R13: 00000000000003b0 R14: ffff88805f8128c0 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 000000008461a000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: debug_lockdep_rcu_enabled+0x71/0xa0 kernel/rcu/update.c:251 rcu_read_lock include/linux/rcupdate.h:600 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:407 [inline] batadv_nc_worker+0x11c/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