syzbot


BUG: soft lockup in net_rx_action

Status: auto-obsoleted due to no activity on 2024/09/14 14:52
First crash: 158d, last: 158d
Similar bugs (11)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in net_rx_action (3) kvm 67 940d 940d 0/28 auto-closed as invalid on 2022/06/05 10:21
android-5-15 BUG: soft lockup in net_rx_action 1 218d 218d 0/2 auto-obsoleted due to no activity on 2024/07/16 07:14
android-5-10 BUG: soft lockup in net_rx_action 2 93d 105d 0/2 auto-obsoleted due to no activity on 2024/11/18 17:50
android-6-1 BUG: soft lockup in net_rx_action 2 111d 154d 0/2 auto-obsoleted due to no activity on 2024/10/31 15:08
upstream INFO: rcu detected stall in net_rx_action (5) virt wireguard wireless 3 209d 246d 0/28 auto-obsoleted due to no activity on 2024/07/25 01:10
linux-4.19 BUG: soft lockup in net_rx_action (2) 1 776d 776d 0/1 auto-obsoleted due to no activity on 2023/02/03 20:26
android-5-15 BUG: soft lockup in net_rx_action (2) 1 99d 99d 0/2 auto-obsoleted due to no activity on 2024/11/11 18:48
linux-4.19 BUG: soft lockup in net_rx_action 1 1040d 1040d 0/1 auto-closed as invalid on 2022/05/16 12:13
linux-5.15 INFO: rcu detected stall in net_rx_action 1 428d 428d 0/3 auto-obsoleted due to no activity on 2023/12/28 19:24
upstream INFO: rcu detected stall in net_rx_action (2) batman 1 1093d 1093d 0/28 closed as invalid on 2022/02/08 10:10
upstream INFO: rcu detected stall in net_rx_action (4) kernel 1 656d 656d 0/28 auto-obsoleted due to no activity on 2023/05/05 00:12

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 122s! [syz-executor.0:4665]
Modules linked in:
CPU: 0 PID: 4665 Comm: syz-executor.0 Tainted: G        W         5.4.274-syzkaller-00002-g6f97bd951d82 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:unwind_next_frame+0x718/0x1ea0 arch/x86/kernel/unwind_orc.c:465
Code: 08 4c 89 e7 e8 e9 5b 64 00 48 8b 84 24 c0 01 00 00 e9 4d 07 00 00 48 8b 04 24 48 8d 58 40 48 89 d8 48 c1 e8 03 42 80 3c 38 00 <74> 0e 48 89 df 49 89 d6 e8 bb 5b 64 00 4c 89 f2 48 8b 03 48 89 44
RSP: 0018:ffff8881f6e090c0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 1ffff1103edc1280 RBX: ffff8881f6e09400 RCX: ffffffff86512ef4
RDX: ffffffff867c1344 RSI: ffffffff867c1340 RDI: 0000000000000001
RBP: ffff8881f6e093b0 R08: 0000000000000001 R09: ffff8881f6e09410
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff0cf8268
R13: ffffffff867c1340 R14: ffff8881f6e093f8 R15: dffffc0000000000
FS:  00007f10d86596c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8c209ad866 CR3: 00000001dfcb7000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 arch_stack_walk+0x111/0x140 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x118/0x1c0 kernel/stacktrace.c:123
 save_stack mm/kasan/common.c:70 [inline]
 set_track mm/kasan/common.c:78 [inline]
 __kasan_kmalloc+0x171/0x210 mm/kasan/common.c:529
 slab_post_alloc_hook mm/slab.h:584 [inline]
 slab_alloc_node mm/slub.c:2829 [inline]
 slab_alloc mm/slub.c:2837 [inline]
 __kmalloc_track_caller+0x100/0x2b0 mm/slub.c:4449
 __kmalloc_reserve net/core/skbuff.c:142 [inline]
 __alloc_skb+0xb4/0x4d0 net/core/skbuff.c:210
 __napi_alloc_skb+0x141/0x580 net/core/skbuff.c:516
 napi_alloc_skb include/linux/skbuff.h:2897 [inline]
 page_to_skb+0x39/0x930 drivers/net/virtio_net.c:412
 receive_mergeable drivers/net/virtio_net.c:1001 [inline]
 receive_buf+0xde0/0x51c0 drivers/net/virtio_net.c:1111
 virtnet_receive drivers/net/virtio_net.c:1403 [inline]
 virtnet_poll+0x5f3/0x1250 drivers/net/virtio_net.c:1512
 napi_poll net/core/dev.c:6367 [inline]
 net_rx_action+0x53f/0x1160 net/core/dev.c:6435
 __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:ffff8881ebc5f660 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 1ffff1103a437cff RBX: 1ffff1103d78bed0 RCX: ffffffff84511c00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffff8881ebc5f6e8 R08: ffffffff82316d59 R09: ffffed103edcb135
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881ebc5f680
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff1103d78becc
 retint_kernel+0x1b/0x1b
RIP: 0010:unmap_vmas+0xab/0x4b0 mm/memory.c:1366
Code: 44 24 30 c6 44 18 0f f3 e8 92 58 d9 ff 4d 8d 74 24 40 4c 89 f0 48 c1 e8 03 80 3c 18 00 74 08 4c 89 f7 e8 88 3d 09 00 4d 8b 3e <4c> 8d 74 24 60 4c 89 f0 48 c1 e8 03 49 bd 00 00 00 00 00 fc ff df
RSP: 0018:ffff8881ebc5f7a0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 1ffff1103ce93ec1 RBX: dffffc0000000000 RCX: ffff8881d21bde80
RDX: 0000000000000000 RSI: ffff8881e749f5c8 RDI: ffff8881ebc5f900
RBP: ffff8881ebc5f8b0 R08: dffffc0000000000 R09: ffffed103cbbbd39
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881e749f5c8
R13: ffff8881e749f5c8 R14: ffff8881e749f608 R15: ffff8881e5dde600
 exit_mmap+0x2bc/0x520 mm/mmap.c:3191
 __mmput+0x8e/0x2c0 kernel/fork.c:1101
 exit_mm kernel/exit.c:536 [inline]
 do_exit+0xc08/0x2bc0 kernel/exit.c:846
 do_group_exit+0x138/0x300 kernel/exit.c:982
 get_signal+0xdb1/0x1440 kernel/signal.c:2735
 do_signal+0xb0/0x11f0 arch/x86/kernel/signal.c:809
 exit_to_usermode_loop+0xc0/0x1a0 arch/x86/entry/common.c:159
 prepare_exit_to_usermode+0x199/0x200 arch/x86/entry/common.c:194
 ret_from_intr+0x1c/0x1c
RIP: 0033:0x7f10d9292260
Code: Bad RIP value.
RSP: 002b:00007f10d86590f0 EFLAGS: 00000206 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: 00007f10d9415f80 RCX: 00007f10d934dff4
RDX: 0000000000000000 RSI: 0000000000005452 RDI: 0000000000000008
RBP: 00007f10d934dff4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f10d9415f80 R15: 00007ffcc6170628
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 4242 Comm: syz-executor.3 Tainted: G        W         5.4.274-syzkaller-00002-g6f97bd951d82 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:check_preemption_disabled+0xd/0x320 lib/smp_processor_id.c:13
Code: 32 ff 48 c7 c7 20 46 fa 84 48 c7 c6 60 46 fa 84 eb 0b 66 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 53 <48> 83 e4 e0 48 81 ec 80 00 00 00 49 89 f7 49 89 fc 65 48 8b 04 25
RSP: 0018:ffff8881f6f093f0 EFLAGS: 00000006
RAX: ffffffff82316bf5 RBX: ffff8881f32f0024 RCX: ffff8881f32f0000
RDX: 0000000000000103 RSI: ffffffff84fa4660 RDI: ffffffff84fa4620
RBP: ffff8881f6f09418 R08: dffffc0000000000 R09: ffffed103edeb135
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 0000000000000000 R14: ffff8881f32f0000 R15: 0000000000000000
FS:  00007f213ee3a6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb98483a000 CR3: 0000000005e0e000 CR4: 00000000003406a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 irqtime_account_irq+0x13/0x1b0 kernel/sched/cputime.c:53
 account_irq_enter_time include/linux/vtime.h:108 [inline]
 irq_enter+0x77/0xa0 kernel/softirq.c:358
 ipi_entering_ack_irq arch/x86/include/asm/apic.h:531 [inline]
 smp_irq_work_interrupt+0xc/0x250 arch/x86/kernel/irq_work.c:18
 irq_work_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:865
RIP: 0010:deref_stack_reg arch/x86/kernel/unwind_orc.c:350 [inline]
RIP: 0010:unwind_next_frame+0xfcc/0x1ea0 arch/x86/kernel/unwind_orc.c:526
Code: f7 4c 89 ee e8 95 1b 00 00 42 80 3c 3b 00 74 08 4c 89 ef e8 26 53 64 00 4c 8b ac 24 40 01 00 00 48 8b 44 24 30 42 80 3c 38 00 <48> 8b 5c 24 20 74 08 48 89 df e8 85 53 64 00 4c 89 2b 48 8b 44 24
RSP: 0018:ffff8881f6f09560 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff09
RAX: 1ffff1103ede1315 RBX: 1ffff1103ede12d4 RCX: 1ffff1103ede130c
RDX: ffffffff867c1344 RSI: ffff8881f6f096a0 RDI: ffff8881d212fbd8
RBP: ffff8881f6f09850 R08: 0000000000000001 R09: ffff8881f6f098b0
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff0cf8268
R13: ffffffff813be4c8 R14: ffff8881d212fbd8 R15: dffffc0000000000
 arch_stack_walk+0x111/0x140 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x118/0x1c0 kernel/stacktrace.c:123
 save_stack mm/kasan/common.c:70 [inline]
 set_track mm/kasan/common.c:78 [inline]
 __kasan_kmalloc+0x171/0x210 mm/kasan/common.c:529
 slab_post_alloc_hook mm/slab.h:584 [inline]
 slab_alloc_node mm/slub.c:2829 [inline]
 slab_alloc mm/slub.c:2837 [inline]
 kmem_cache_alloc+0xd9/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
 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:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x45/0x60 kernel/locking/spinlock.c:199
Code: 08 00 74 0c 48 c7 c7 90 3b eb 85 e8 75 12 43 fd 48 83 3d cd 2c 9a 01 00 74 29 48 89 df e8 e3 e7 fa fc 66 90 fb bf 01 00 00 00 <e8> 66 d4 f3 fc 65 8b 05 ab 7e b1 7b 85 c0 74 02 5b c3 e8 34 45 af
RSP: 0018:ffff8881d212f6f0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000001 RBX: ffff8881f6f57b40 RCX: dffffc0000000000
RDX: 0000000040000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffff8881d212f750 R08: ffffffff81799989 R09: fffffbfff0c96e5b
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f6f57b40
R13: ffff8881f32f0000 R14: dffffc0000000000 R15: 0000000000000000
 finish_lock_switch kernel/sched/core.c:3347 [inline]
 finish_task_switch+0x130/0x590 kernel/sched/core.c:3447
 context_switch kernel/sched/core.c:3611 [inline]
 __schedule+0xb0d/0x1320 kernel/sched/core.c:4307
 preempt_schedule_irq+0xc7/0x140 kernel/sched/core.c:4558
 retint_kernel+0x1b/0x1b
RIP: 0010:mnt_get_writers fs/namespace.c:276 [inline]
RIP: 0010:cleanup_mnt+0x117/0x500 fs/namespace.c:1093
Code: 80 3c 08 00 74 08 48 89 ef e8 25 89 f0 ff 48 8b 45 00 4a 8d 6c 30 04 48 89 e8 48 c1 e8 03 0f b6 04 18 84 c0 75 39 44 03 65 00 <44> 89 ef 48 c7 c6 f8 6b 4b 86 e8 5a 4c a6 02 41 89 c5 48 8b 44 24
RSP: 0018:ffff8881d212f9a0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000008
RBP: ffffe8ffffc12b9c R08: ffffffff81a397d2 R09: ffffed103e65e0f5
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 0000000000000000 R14: 0000607e08e12b98 R15: ffff8881d876daa8
 task_work_run+0x140/0x170 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0xcaf/0x2bc0 kernel/exit.c:859
 do_group_exit+0x138/0x300 kernel/exit.c:982
 get_signal+0xdb1/0x1440 kernel/signal.c:2735
 do_signal+0xb0/0x11f0 arch/x86/kernel/signal.c:809
 exit_to_usermode_loop+0xc0/0x1a0 arch/x86/entry/common.c:159
 prepare_exit_to_usermode+0x199/0x200 arch/x86/entry/common.c:194
 entry_SYSCALL_64_after_hwframe+0x5c/0xc1
RIP: 0033:0x7f213fabfea9
Code: Bad RIP value.
RSP: 002b:00007f213ee3a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: 0000000000000000 RBX: 00007f213fbf6f80 RCX: 00007f213fabfea9
RDX: 00000000200004c0 RSI: 0000000000005452 RDI: 0000000000000008
RBP: 00007f213fb2eff4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f213fbf6f80 R15: 00007ffe20c04ee8

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