syzbot


BUG: soft lockup in wg_expired_send_keepalive

Status: auto-obsoleted due to no activity on 2024/09/16 17:51
First crash: 157d, last: 157d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in wg_expired_send_keepalive kvm 1 942d 942d 0/28 auto-closed as invalid on 2022/06/24 21:49

Sample crash report:
watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [syz-executor.0:470]
Modules linked in:
CPU: 1 PID: 470 Comm: syz-executor.0 Not tainted 5.4.274-syzkaller-00002-g6f97bd951d82 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:should_failslab+0x0/0x20 mm/slab_common.c:1829
Code: 96 79 0b 00 49 89 c6 48 89 df 4c 89 f6 e8 98 e0 0b 00 eb 05 0f 0b 45 31 f6 4c 89 f0 5b 41 5e c3 66 2e 0f 1f 84 00 00 00 00 00 <e8> 6b 5a 0c 00 31 c9 84 c0 b8 f4 ff ff ff 0f 44 c1 c3 66 66 2e 0f
RSP: 0018:ffff8881f6f09c08 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13
RAX: ffff8881ecd33f00 RBX: 0000000000000a20 RCX: 0000000000000100
RDX: 0000000000000100 RSI: 0000000000000a20 RDI: ffff8881f1ccdb80
RBP: ffff8881f1ccdb80 R08: ffffffff8377f7ec R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff8881f1ccdb80
R13: 00000000000000f0 R14: ffffffff8377f7fa R15: 0000000000000a20
FS:  00007f0dc3c206c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000001ed5f1000 CR4: 00000000003406a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 slab_pre_alloc_hook mm/slab.h:567 [inline]
 slab_alloc_node mm/slub.c:2742 [inline]
 slab_alloc mm/slub.c:2837 [inline]
 kmem_cache_alloc+0x28/0x250 mm/slub.c:2842
 kmem_cache_alloc_node include/linux/slab.h:427 [inline]
 __alloc_skb+0x7a/0x4d0 net/core/skbuff.c:198
 alloc_skb include/linux/skbuff.h:1080 [inline]
 wg_packet_send_keepalive+0x5d/0x1c0 drivers/net/wireguard/send.c:226
 wg_expired_send_keepalive+0x2b/0x1d0 drivers/net/wireguard/timers.c:83
 call_timer_fn+0x36/0x390 kernel/time/timer.c:1448
 expire_timers kernel/time/timer.c:1493 [inline]
 __run_timers+0x879/0xbe0 kernel/time/timer.c:1817
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1830
 __do_softirq+0x23b/0x6b7 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:373 [inline]
 irq_exit+0x195/0x1c0 kernel/softirq.c:413
 exiting_irq arch/x86/include/asm/apic.h:538 [inline]
 smp_apic_timer_interrupt+0x11a/0x460 arch/x86/kernel/apic/apic.c:1149
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:834
 </IRQ>
RIP: 0010:__x64_sys_ioctl+0x107/0x110 fs/ioctl.c:747
Code: ff e8 8d 99 c4 ff 41 f6 c7 01 75 07 e8 22 96 c4 ff eb 0d e8 1b 96 c4 ff 48 89 df e8 53 87 fb ff 48 63 c5 5b 41 5c 41 5d 41 5e <41> 5f 5d c3 0f 1f 44 00 00 55 41 57 41 56 41 55 41 54 53 48 89 fb
RSP: 0018:ffff8881ec937f08 EFLAGS: 00000283 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: ffffffff84a035a0 RCX: 0000000000040000
RDX: ffffc9000194a000 RSI: 0000000000007bd8 RDI: 0000000000007bd9
RBP: 0000000000000000 R08: ffffffff819b2bd6 R09: ffffed103d9372d8
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000010
R13: ffff8881ecd33f00 R14: ffff8881ec937f58 R15: ffff8881ec9b9681
 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x5c/0xc1
RIP: 0033:0x7f0dc48a5f29
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f0dc3c200c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f0dc49dcf80 RCX: 00007f0dc48a5f29
RDX: 00000000200006c0 RSI: 0000000000005452 RDI: 0000000000000004
RBP: 00007f0dc4915074 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f0dc49dcf80 R15: 00007ffd51d6cb18
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 474 Comm: syz-executor.4 Not tainted 5.4.274-syzkaller-00002-g6f97bd951d82 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:hrtimer_interrupt+0x67a/0x890 kernel/time/hrtimer.c:1719
Code: 0d 3f 00 48 8b 54 24 18 e9 71 ff ff ff 48 8b 0c 24 80 e1 07 38 c1 0f 8c f5 fc ff ff 48 8b 3c 24 e8 8b 0d 3f 00 e9 e7 fc ff ff <e8> 51 28 0f 00 48 8b 44 24 08 42 0f b6 04 30 84 c0 0f 85 40 01 00
RSP: 0018:ffff8881f6e09240 EFLAGS: 00000046
RAX: ffff8881edbf9f80 RBX: 0000000000000000 RCX: 0000000000010501
RDX: 0000000000010501 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff8881f6e4b620 R08: ffffffff8155120e R09: ffffffff8157c1b7
R10: ffff8881edbf9f80 R11: 0000000000000002 R12: ffff8881f6e4b600
R13: 0000000000000002 R14: dffffc0000000000 R15: 0000000000000046
FS:  00007eff602c36c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000004 CR3: 00000001ed76e000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1122 [inline]
 smp_apic_timer_interrupt+0x110/0x460 arch/x86/kernel/apic/apic.c:1147
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:834
RIP: 0010:skb_dst_drop include/net/dst.h:264 [inline]
RIP: 0010:wg_xmit+0x43d/0xca0 drivers/net/wireguard/device.c:182
Code: 4d 8d 74 24 58 4d 89 f7 49 c1 ef 03 48 b8 00 00 00 00 00 fc ff df 41 80 3c 07 00 74 08 4c 89 f7 e8 e8 d0 e0 fe 49 8b 1e 31 ff <48> 89 de e8 2b ef b0 fe 48 85 db 74 2a 48 89 de 48 83 e6 01 31 ff
RSP: 0018:ffff8881f6e09420 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: dffffc0000000000 RBX: ffff8881ee005dc0 RCX: ffff8881edbf9f80
RDX: 0000000000000501 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffff8881f6e09550 R08: ffffffff82b34fee R09: ffffed103dd13c45
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881ee89e140
R13: 0000000000000000 R14: ffff8881ee89e198 R15: 1ffff1103dd13c33
 __netdev_start_xmit include/linux/netdevice.h:4538 [inline]
 netdev_start_xmit include/linux/netdevice.h:4552 [inline]
 xmit_one net/core/dev.c:3221 [inline]
 dev_hard_start_xmit+0x1b7/0x6b0 net/core/dev.c:3237
 __dev_queue_xmit+0x14da/0x27e0 net/core/dev.c:3802
 neigh_output include/net/neighbour.h:518 [inline]
 ip6_finish_output2+0xf9e/0x18e0 net/ipv6/ip6_output.c:144
 NF_HOOK_COND include/linux/netfilter.h:292 [inline]
 ip6_output+0x1b3/0x430 net/ipv6/ip6_output.c:248
 dst_output include/net/dst.h:438 [inline]
 NF_HOOK include/linux/netfilter.h:303 [inline]
 ndisc_send_skb+0x702/0xc30 net/ipv6/ndisc.c:509
 addrconf_rs_timer+0x2d1/0x600 net/ipv6/addrconf.c:3953
 call_timer_fn+0x36/0x390 kernel/time/timer.c:1448
 expire_timers kernel/time/timer.c:1493 [inline]
 __run_timers+0x879/0xbe0 kernel/time/timer.c:1817
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1830
 __do_softirq+0x23b/0x6b7 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:373 [inline]
 irq_exit+0x195/0x1c0 kernel/softirq.c:413
 exiting_irq arch/x86/include/asm/apic.h:538 [inline]
 smp_apic_timer_interrupt+0x11a/0x460 arch/x86/kernel/apic/apic.c:1149
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:834
 </IRQ>
RIP: 0010:preempt_schedule_irq+0xc2/0x140 kernel/sched/core.c:4558
Code: 4c 89 e7 e8 90 e1 43 fd f6 44 24 21 02 74 0b 0f 0b 48 f7 03 08 00 00 00 74 4d bf 01 00 00 00 e8 04 a2 f4 fc fb bf 01 00 00 00 <e8> b9 e6 ff ff fa bf 01 00 00 00 e8 6e a3 f4 fc 65 48 8b 1d a6 4d
RSP: 0018:ffff8881edbcfa40 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 1ffff1103db7f51f RBX: 1ffff1103db79f4c RCX: ffffffff84511c00
RDX: ffffc90000741000 RSI: 0000000000006903 RDI: 0000000000000001
RBP: ffff8881edbcfac8 R08: ffffffff82316d59 R09: ffffed103edcb135
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881edbcfa60
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff1103db79f48
 retint_kernel+0x1b/0x1b
RIP: 0010:do_futex+0x172/0x19f0 kernel/futex.c:3873
Code: 83 fc 0b 75 62 e8 8e a1 0b 00 eb 05 e8 87 a1 0b 00 4c 89 ff 48 c7 c6 40 3b f0 85 e8 48 a5 0b 00 41 83 fc 0c 0f 87 ce 0c 00 00 <42> ff 24 fd 00 17 a9 84 e8 61 a1 0b 00 48 b8 00 00 00 00 00 fc ff
RSP: 0018:ffff8881edbcfb80 EFLAGS: 00000297 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000002 RBX: 0000000000000000 RCX: 0000000000000003
RDX: 000000000000000c RSI: ffffffff85f03b40 RDI: 0000000000000001
RBP: ffff8881edbcfde8 R08: 0000000000000005 R09: ffffffff81589aa8
R10: ffff8881edbf9f80 R11: 000000000000000c R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001
 __do_sys_futex kernel/futex.c:3949 [inline]
 __se_sys_futex+0x355/0x470 kernel/futex.c:3917
 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x5c/0xc1
RIP: 0033:0x7eff60f48f29
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007eff602c3178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: ffffffffffffffda RBX: 00007eff6107ff88 RCX: 00007eff60f48f29
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007eff6107ff8c
RBP: 00007eff6107ff80 R08: 00007ffdcfb8d0b0 R09: 00007eff602c36c0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007eff6107ff8c
R13: 000000000000000b R14: 00007ffdcfb10540 R15: 00007ffdcfb10628

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/18 17:49 android12-5.4 6f97bd951d82 639d6cdf .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan BUG: soft lockup in wg_expired_send_keepalive
* Struck through repros no longer work on HEAD.