watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [syz-executor.1:22155] Modules linked in: irq event stamp: 2333019 hardirqs last enabled at (2333018): [] trace_hardirqs_on_thunk+0x1a/0x1c hardirqs last disabled at (2333019): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (1136): [] __do_softirq+0x678/0x980 kernel/softirq.c:318 softirqs last disabled at (1143): [] invoke_softirq kernel/softirq.c:372 [inline] softirqs last disabled at (1143): [] irq_exit+0x215/0x260 kernel/softirq.c:412 CPU: 1 PID: 22155 Comm: syz-executor.1 Not tainted 4.19.206-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline] RIP: 0010:lock_acquire+0x1ec/0x3c0 kernel/locking/lockdep.c:3911 Code: 08 00 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 0f 85 b7 01 00 00 48 83 3d e9 1f a6 08 00 0f 84 2a 01 00 00 48 8b 7c 24 08 57 9d <0f> 1f 44 00 00 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 65 8b RSP: 0018:ffff8880ba107cd0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff13e3059 RBX: ffff8880b5230640 RCX: 00000000000022e5 RDX: dffffc0000000000 RSI: 0000000095999e58 RDI: 0000000000000286 RBP: ffff8880ba107d58 R08: ffffffff8cd27c68 R09: 0000000000000002 R10: ffff8880b5230f18 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 FS: 00007f65e26cd700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd77d4ecbc CR3: 00000001fcc9f000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: call_timer_fn+0x113/0x700 kernel/time/timer.c:1335 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:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x50/0x80 kernel/locking/spinlock.c:192 Code: c0 d8 82 f1 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 31 48 83 3d 81 5e d8 01 00 74 25 fb 66 0f 1f 44 00 00 01 00 00 00 e8 c6 56 28 f9 65 8b 05 df ba e8 77 85 c0 74 02 5d RSP: 0018:ffff8881e4d6f050 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff13e305b RBX: ffff8880b5230640 RCX: 1ffff11016a461dd RDX: dffffc0000000000 RSI: ffff8880b5230ef0 RDI: ffff8880b5230ec4 RBP: ffff8880ba12b0c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880ba12b0c0 R13: ffff8880aa87a040 R14: 0000000000000000 R15: 0000000000000001 finish_lock_switch kernel/sched/core.c:2578 [inline] finish_task_switch+0x146/0x760 kernel/sched/core.c:2678 context_switch kernel/sched/core.c:2831 [inline] __schedule+0x88f/0x2040 kernel/sched/core.c:3517 preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:3641 ___preempt_schedule+0x16/0x18 __local_bh_enable_ip+0x21a/0x270 kernel/softirq.c:196 local_bh_enable include/linux/bottom_half.h:32 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:721 [inline] ip_finish_output2+0xde2/0x15a0 net/ipv4/ip_output.c:232 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+0x866/0x1b50 net/ipv4/ip_output.c:506 __tcp_transmit_skb+0x1b9c/0x3400 net/ipv4/tcp_output.c:1148 tcp_transmit_skb net/ipv4/tcp_output.c:1164 [inline] tcp_send_syn_data net/ipv4/tcp_output.c:3490 [inline] tcp_connect+0x1128/0x24e0 net/ipv4/tcp_output.c:3529 tcp_v4_connect+0x140c/0x1aa0 net/ipv4/tcp_ipv4.c:318 __inet_stream_connect+0x7e4/0xe00 net/ipv4/af_inet.c:655 tcp_sendmsg_fastopen net/ipv4/tcp.c:1187 [inline] tcp_sendmsg_locked+0x2267/0x2f60 net/ipv4/tcp.c:1234 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_sendmsg+0x7bb/0x8e0 net/socket.c:2227 __sys_sendmsg net/socket.c:2265 [inline] __do_sys_sendmsg net/socket.c:2274 [inline] __se_sys_sendmsg net/socket.c:2272 [inline] __x64_sys_sendmsg+0x132/0x220 net/socket.c:2272 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f65e5156739 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f65e26cd188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f65e525af80 RCX: 00007f65e5156739 RDX: 0000000030004081 RSI: 0000000020000080 RDI: 0000000000000004 RBP: 00007f65e51b0cc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f65e525af80 R13: 00007ffedc4add8f R14: 00007f65e26cd300 R15: 0000000000022000 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3574 Comm: kworker/u4:4 Not tainted 4.19.206-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:memcpy include/linux/string.h:377 [inline] RIP: 0010:__bpf_trace_lock_acquire+0x112/0x200 include/trace/events/lock.h:13 Code: 04 00 00 00 48 8d 44 24 40 44 89 7c 24 40 48 8d 7c 24 50 48 89 c6 48 89 4c 24 10 e8 a8 c5 4d 00 ba 04 00 00 00 44 8b 7c 24 50 <48> 8d 44 24 40 44 89 74 24 40 48 8d 7c 24 50 48 89 c6 e8 87 c5 4d RSP: 0018:ffff8880ba007d98 EFLAGS: 00000097 RAX: ffff8880ba007de8 RBX: ffffed1017400fb7 RCX: 0000000000000000 RDX: 0000000000000004 RSI: ffff8880ba007ddc RDI: ffff8880ba007dec RBP: ffffc90005c2e000 R08: 0000000000000001 R09: ffffed1017400fbd R10: 0000000000000003 R11: ffffffff8c66401b R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000001eb6e8000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0x298/0x3c0 kernel/locking/lockdep.c:3907 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x8c/0xc0 kernel/locking/spinlock.c:152 hrtimer_interrupt+0xf9/0x9e0 kernel/time/hrtimer.c:1520 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1071 [inline] smp_apic_timer_interrupt+0x10c/0x550 arch/x86/kernel/apic/apic.c:1096 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 5b 26 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:ffff8880a883fc00 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff13e3059 RBX: ffff8880a88302c0 RCX: 1ffff11015106173 RDX: dffffc0000000000 RSI: 0000000000000003 RDI: 0000000000000286 RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000000002 R10: 0000000000000000 R11: 0000000000000000 R12: 1ffff11015107f83 R13: 44e964d3e27bd066 R14: ffff8880a88302c0 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 ---------------- Code disassembly (best guess): 0: 08 00 or %al,(%rax) 2: 00 00 add %al,(%rax) 4: 00 00 add %al,(%rax) 6: 00 48 c1 add %cl,-0x3f(%rax) 9: e8 03 80 3c 10 callq 0x103c8011 e: 00 0f add %cl,(%rdi) 10: 85 b7 01 00 00 48 test %esi,0x48000001(%rdi) 16: 83 3d e9 1f a6 08 00 cmpl $0x0,0x8a61fe9(%rip) # 0x8a62006 1d: 0f 84 2a 01 00 00 je 0x14d 23: 48 8b 7c 24 08 mov 0x8(%rsp),%rdi 28: 57 push %rdi 29: 9d popfq * 2a: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) <-- trapping instruction 2f: 48 83 c4 18 add $0x18,%rsp 33: 5b pop %rbx 34: 5d pop %rbp 35: 41 5c pop %r12 37: 41 5d pop %r13 39: 41 5e pop %r14 3b: 41 5f pop %r15 3d: c3 retq 3e: 65 gs 3f: 8b .byte 0x8b