watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [syz-executor.0:31247] Modules linked in: irq event stamp: 10737 hardirqs last enabled at (10736): [] kvm_wait arch/x86/kernel/kvm.c:799 [inline] hardirqs last enabled at (10736): [] kvm_wait+0x14b/0x240 arch/x86/kernel/kvm.c:779 hardirqs last disabled at (10737): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (1410): [] sk_stream_wait_memory+0x536/0xd60 net/core/stream.c:145 softirqs last disabled at (1414): [] spin_lock_bh include/linux/spinlock.h:334 [inline] softirqs last disabled at (1414): [] lock_sock_nested+0x3b/0x110 net/core/sock.c:2884 CPU: 0 PID: 31247 Comm: syz-executor.0 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:61 Code: 48 89 df e8 f4 20 7f f9 e9 2e ff ff ff 48 89 df e8 e7 20 7f f9 eb 82 90 90 90 90 90 e9 07 00 00 00 0f 00 2d 14 43 4e 00 fb f4 90 e9 07 00 00 00 0f 00 2d 04 43 4e 00 f4 c3 90 90 41 56 41 55 RSP: 0018:ffff888041627860 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff13e3054 RBX: ffff88809f394148 RCX: 1ffff110164f4d95 RDX: dffffc0000000000 RSI: ffff8880b27a6c88 RDI: ffff8880b27a6c84 RBP: 0000000000000003 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000286 R13: ffffed1013e72829 R14: 0000000000000001 R15: ffff8880ba02be00 FS: 00007fabc0ce9700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e830000 CR3: 00000000adddb000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_safe_halt arch/x86/include/asm/paravirt.h:94 [inline] kvm_wait arch/x86/kernel/kvm.c:799 [inline] kvm_wait+0x179/0x240 arch/x86/kernel/kvm.c:779 pv_wait arch/x86/include/asm/paravirt.h:689 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:471 [inline] __pv_queued_spin_lock_slowpath+0x86a/0xae0 kernel/locking/qspinlock.c:474 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:679 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:53 [inline] queued_spin_lock include/asm-generic/qspinlock.h:88 [inline] do_raw_spin_lock+0x189/0x220 kernel/locking/spinlock_debug.c:113 spin_lock_bh include/linux/spinlock.h:334 [inline] lock_sock_nested+0x3b/0x110 net/core/sock.c:2884 lock_sock include/net/sock.h:1512 [inline] sk_stream_wait_memory+0x6d0/0xd60 net/core/stream.c:145 tcp_sendmsg_locked+0xd54/0x2f60 net/ipv4/tcp.c:1422 tcp_sendmsg+0x2b/0x40 net/ipv4/tcp.c:1462 inet_sendmsg+0x132/0x5a0 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xc3/0x120 net/socket.c:661 __sys_sendto+0x21a/0x320 net/socket.c:1899 __do_sys_sendto net/socket.c:1911 [inline] __se_sys_sendto net/socket.c:1907 [inline] __x64_sys_sendto+0xdd/0x1b0 net/socket.c:1907 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fabc27da0d9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fabc0ce9168 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fabc28fa1f0 RCX: 00007fabc27da0d9 RDX: ffffffffffffff60 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007fabc2835ae9 R08: 0000000000000000 R09: 0000000000000f06 R10: 000000000000f401 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffffdb1cfef R14: 00007fabc0ce9300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8176 Comm: kworker/u4:1 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: bat_events batadv_nc_worker RIP: 0010:__trace_hardirqs_on_caller kernel/locking/lockdep.c:2838 [inline] RIP: 0010:lockdep_hardirqs_on+0x2be/0x5c0 kernel/locking/lockdep.c:2884 Code: 08 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e d8 01 00 00 8b 83 70 08 00 00 <85> c0 0f 85 d5 00 00 00 48 8d bb 38 08 00 00 48 b8 00 00 00 00 00 RSP: 0018:ffff8880ba107390 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff8880a622a000 RCX: 1ffff11014c4553d RDX: 1ffff11014c4550e RSI: ffff8880a622a9c8 RDI: ffff8880a622a870 RBP: ffffffff81549445 R08: ffffffff8cd3c4a8 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000 R13: 1ffffffff13e3052 R14: 0000000000000200 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556b08708 CR3: 0000000097f7b000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: seqcount_lockdep_reader_access include/linux/seqlock.h:83 [inline] read_seqcount_begin include/linux/seqlock.h:164 [inline] ktime_get+0x235/0x2f0 kernel/time/timekeeping.c:756 ktime_get_ns include/linux/timekeeping.h:126 [inline] tcf_police_act+0x3e8/0xe60 net/sched/act_police.c:240 tcf_action_exec net/sched/act_api.c:618 [inline] tcf_action_exec+0x160/0x400 net/sched/act_api.c:598 tcf_exts_exec include/net/pkt_cls.h:388 [inline] basic_classify+0x184/0x2b0 net/sched/cls_basic.c:52 tcf_classify+0x120/0x3c0 net/sched/cls_api.c:979 prio_classify net/sched/sch_prio.c:46 [inline] prio_enqueue+0x3bb/0x7a0 net/sched/sch_prio.c:78 __dev_xmit_skb net/core/dev.c:3494 [inline] __dev_queue_xmit+0x140a/0x2e00 net/core/dev.c:3807 neigh_hh_output include/net/neighbour.h:491 [inline] neigh_output include/net/neighbour.h:499 [inline] ip_finish_output2+0xb6d/0x15a0 net/ipv4/ip_output.c:230 ip_finish_output+0xae9/0x10b0 net/ipv4/ip_output.c:318 NF_HOOK_COND include/linux/netfilter.h:278 [inline] ip_output+0x203/0x5f0 net/ipv4/ip_output.c:406 dst_output include/net/dst.h:455 [inline] ip_local_out+0xaf/0x170 net/ipv4/ip_output.c:125 __ip_queue_xmit+0x91e/0x1c10 net/ipv4/ip_output.c:507 __tcp_transmit_skb+0x1b9c/0x3400 net/ipv4/tcp_output.c:1148 tcp_transmit_skb net/ipv4/tcp_output.c:1164 [inline] tcp_xmit_probe_skb+0x2e8/0x390 net/ipv4/tcp_output.c:3682 tcp_write_wakeup+0x1bd/0x610 net/ipv4/tcp_output.c:3735 tcp_send_probe0+0x46/0x400 net/ipv4/tcp_output.c:3750 tcp_probe_timer net/ipv4/tcp_timer.c:380 [inline] tcp_write_timer_handler+0x8c2/0xa60 net/ipv4/tcp_timer.c:597 tcp_write_timer+0x103/0x1b0 net/ipv4/tcp_timer.c:613 call_timer_fn+0x177/0x700 kernel/time/timer.c:1338 expire_timers+0x243/0x4e0 kernel/time/timer.c:1375 __run_timers kernel/time/timer.c:1696 [inline] run_timer_softirq+0x21c/0x670 kernel/time/timer.c:1709 __do_softirq+0x265/0x980 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:372 [inline] irq_exit+0x215/0x260 kernel/softirq.c:412 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline] RIP: 0010:lock_release+0x429/0x8b0 kernel/locking/lockdep.c:3930 Code: 84 08 00 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 0f 85 95 03 00 00 48 83 3d 7b 34 a6 08 00 0f 84 cc 01 00 00 48 8b 3c 24 57 9d <0f> 1f 44 00 00 48 b8 00 00 00 00 00 fc ff df 49 c7 04 04 00 00 00 RSP: 0018:ffff8880a5f77c00 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff13e3051 RBX: ffff8880a622a000 RCX: 1ffff11014c4551b RDX: dffffc0000000000 RSI: 0000000000000003 RDI: 0000000000000286 RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000000002 R10: 0000000000000005 R11: 0000000000000000 R12: 1ffff11014beef83 R13: 4d466cfe01a19d73 R14: ffff8880a622a000 R15: 0000000000000003 rcu_lock_release include/linux/rcupdate.h:247 [inline] rcu_read_unlock include/linux/rcupdate.h:681 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:423 [inline] batadv_nc_worker+0x66c/0xd50 net/batman-adv/network-coding.c:730 process_one_work+0x864/0x1570 kernel/workqueue.c:2153 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415