syzbot


BUG: soft lockup in net_rx_action

Status: auto-obsoleted due to no activity on 2024/10/31 15:08
Reported-by: syzbot+e75303be93d902ca0b01@syzkaller.appspotmail.com
First crash: 137d, last: 94d
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 923d 923d 0/28 auto-closed as invalid on 2022/06/05 10:21
android-5-15 BUG: soft lockup in net_rx_action 1 201d 201d 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 76d 88d 0/2 premoderation: reported on 2024/08/08 17:54
upstream INFO: rcu detected stall in net_rx_action (5) virt wireguard wireless 3 192d 230d 0/28 auto-obsoleted due to no activity on 2024/07/25 01:10
android-54 BUG: soft lockup in net_rx_action 1 141d 141d 0/2 auto-obsoleted due to no activity on 2024/09/14 14:52
linux-4.19 BUG: soft lockup in net_rx_action (2) 1 760d 760d 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 83d 83d 0/2 premoderation: reported on 2024/08/13 18:45
linux-4.19 BUG: soft lockup in net_rx_action 1 1023d 1023d 0/1 auto-closed as invalid on 2022/05/16 12:13
linux-5.15 INFO: rcu detected stall in net_rx_action 1 412d 412d 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 1076d 1076d 0/28 closed as invalid on 2022/02/08 10:10
upstream INFO: rcu detected stall in net_rx_action (4) kernel 1 639d 639d 0/28 auto-obsoleted due to no activity on 2023/05/05 00:12

Sample crash report:
RBP: 00007fe5f41e48e6 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fe5f4306058 R15: 00007ffdacb3b1f8
 </TASK>
watchdog: BUG: soft lockup - CPU#0 stuck for 287s! [syz.4.261:1649]
Modules linked in:
CPU: 0 PID: 1649 Comm: syz.4.261 Not tainted 6.1.90-syzkaller-00126-g4ac7f55b9824 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:stack_trace_consume_entry+0x1/0x290 kernel/stacktrace.c:83
Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 7b ff ff ff 48 89 df e8 60 fc 56 00 e9 6e ff ff ff e8 e6 2b b3 03 66 0f 1f 44 00 00 55 <48> 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 20 48 89 fb 48 ba 00
RSP: 0018:ffffc900000072f0 EFLAGS: 00000286
RAX: ffffffff840c3fbe RBX: ffffc90000007300 RCX: ffffffff877a1000
RDX: ffffffff87888601 RSI: ffffffff840c3fbe RDI: ffffc900000073e0
RBP: ffffc90000007390 R08: ffffc900000073e8 R09: 0000000000000008
R10: ffffc900000073f0 R11: dffffc0000000001 R12: ffff88811840d100
R13: ffffffff8165c3e0 R14: ffffc900000073e0 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000013a632000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:45 [inline]
 kasan_set_track+0x4b/0x70 mm/kasan/common.c:52
 kasan_save_alloc_info+0x1f/0x30 mm/kasan/generic.c:505
 __kasan_slab_alloc+0x6c/0x80 mm/kasan/common.c:333
 kasan_slab_alloc include/linux/kasan.h:202 [inline]
 slab_post_alloc_hook+0x53/0x2c0 mm/slab.h:768
 slab_alloc_node mm/slub.c:3421 [inline]
 slab_alloc mm/slub.c:3429 [inline]
 __kmem_cache_alloc_lru mm/slub.c:3436 [inline]
 kmem_cache_alloc+0x175/0x2c0 mm/slub.c:3445
 __build_skb net/core/skbuff.c:322 [inline]
 build_skb+0x2c/0x220 net/core/skbuff.c:339
 page_to_skb+0x148/0xbe0 drivers/net/virtio_net.c:487
 receive_mergeable drivers/net/virtio_net.c:1128 [inline]
 receive_buf+0x4fc/0x4ee0 drivers/net/virtio_net.c:1267
 virtnet_receive drivers/net/virtio_net.c:1562 [inline]
 virtnet_poll+0x6d3/0x1470 drivers/net/virtio_net.c:1680
 __napi_poll+0xbe/0x5c0 net/core/dev.c:6544
 napi_poll net/core/dev.c:6611 [inline]
 net_rx_action+0x595/0xdd0 net/core/dev.c:6725
 __do_softirq+0x1d8/0x661 kernel/softirq.c:617
 invoke_softirq kernel/softirq.c:472 [inline]
 __irq_exit_rcu+0x50/0xf0 kernel/softirq.c:700
 irq_exit_rcu+0x9/0x10 kernel/softirq.c:712
 sysvec_apic_timer_interrupt+0x9a/0xc0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:preempt_schedule_irq+0xc2/0x140 kernel/sched/core.c:7056
Code: 4c 89 e7 e8 20 36 9f fc f6 44 24 21 02 74 0b 0f 0b 48 f7 03 08 00 00 00 74 4d bf 01 00 00 00 e8 34 f5 31 fc fb bf 01 00 00 00 <e8> a9 e4 ff ff fa bf 01 00 00 00 e8 be f6 31 fc 65 48 8b 1d 56 e3
RSP: 0018:ffffc90009aa7180 EFLAGS: 00000246
RAX: 1ffff11023081b79 RBX: 1ffff92001354e34 RCX: ffffffff851f8900
RDX: 1ffff11023081a25 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffffc90009aa7208 R08: ffffffff87969000 R09: ffffffff87969008
R10: ffffffff87969018 R11: ffffffff87969010 R12: ffffc90009aa71a0
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff92001354e30
 raw_irqentry_exit_cond_resched+0x2a/0x30 kernel/entry/common.c:396
 irqentry_exit+0x30/0x40 kernel/entry/common.c:439
 sysvec_apic_timer_interrupt+0x55/0xc0 arch/x86/kernel/apic/apic.c:1106
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:preempt_schedule_thunk+0x0/0x18 arch/x86/entry/thunk_64.S:34
Code: 80 c1 03 38 c1 7c c3 4c 89 f7 e8 b7 36 bc 00 eb b9 0f 1f 44 00 00 55 48 89 e5 e8 27 19 75 00 48 c7 c0 c0 5d 60 85 5d c3 cc cc <55> 48 89 e5 57 56 52 51 50 41 50 41 51 41 52 41 53 e8 d6 fc 1c 04
RSP: 0018:ffffc90009aa7300 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffffea0004881c68 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffffc90009aa7310 R08: ffffffff81b0853e R09: ffffed1025db337f
R10: 0000000000000000 R11: dffffc0000000001 R12: 00007fe5f366c000
R13: ffffc90009aa7630 R14: dffffc0000000000 R15: 00007fe5f37fd000
 spin_unlock include/linux/spinlock.h:391 [inline]
 zap_pte_range mm/memory.c:1530 [inline]
 zap_pmd_range mm/memory.c:1589 [inline]
 zap_pud_range mm/memory.c:1618 [inline]
 zap_p4d_range mm/memory.c:1639 [inline]
 unmap_page_range+0xaae/0x2480 mm/memory.c:1660
 unmap_single_vma mm/memory.c:1706 [inline]
 unmap_vmas+0x4e4/0x660 mm/memory.c:1746
 exit_mmap+0x2d1/0x940 mm/mmap.c:3336
 __mmput+0x95/0x310 kernel/fork.c:1298
 mmput+0x56/0x170 kernel/fork.c:1321
 exit_mm kernel/exit.c:566 [inline]
 do_exit+0xb29/0x2b80 kernel/exit.c:862
 do_group_exit+0x21a/0x2d0 kernel/exit.c:1025
 get_signal+0x169d/0x1820 kernel/signal.c:2880
 arch_do_signal_or_restart+0xb0/0x16f0 arch/x86/kernel/signal.c:871
 exit_to_user_mode_loop+0x74/0xa0 kernel/entry/common.c:174
 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:210
 irqentry_exit_to_user_mode+0x9/0x10 kernel/entry/common.c:316
 irqentry_exit+0x12/0x40 kernel/entry/common.c:419
 sysvec_apic_timer_interrupt+0x55/0xc0 arch/x86/kernel/apic/apic.c:1106
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0033:0x7fe5f41773b9
Code: Unable to access opcode bytes at 0x7fe5f417738f.
RSP: 002b:00007fe5f4f2f048 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 00007fe5f4306058 RCX: 00007fe5f41773b9
RDX: 00000000200006c0 RSI: 0000000000005452 RDI: 0000000000000005
RBP: 00007fe5f41e48e6 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fe5f4306058 R15: 00007ffdacb3b1f8
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 8 Comm: kworker/u4:0 Not tainted 6.1.90-syzkaller-00126-g4ac7f55b9824 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:__sanitizer_cov_trace_pc+0x1/0x60 kernel/kcov.c:200
Code: 00 00 00 00 00 0f 1f 40 00 55 48 89 e5 53 48 89 fb e8 13 00 00 00 48 8b 3d 84 e0 fc 05 48 89 de e8 e4 60 46 00 5b 5d c3 cc 55 <48> 89 e5 48 8b 45 08 65 48 8b 0d 00 cb 8c 7e 65 8b 15 01 cb 8c 7e
RSP: 0018:ffffc90000087830 EFLAGS: 00000202
RAX: 0000000000000000 RBX: 1ffff1103ee07a99 RCX: ffff88810039bcc0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90000087958 R08: ffffffff816c0715 R09: ffffed103ee271fb
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 0000000800000000 R14: ffff8881f703d4c8 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000006e0f000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <TASK>
 on_each_cpu_cond_mask+0x40/0x80 kernel/smp.c:1166
 on_each_cpu include/linux/smp.h:71 [inline]
 text_poke_sync arch/x86/kernel/alternative.c:1334 [inline]
 text_poke_bp_batch+0x1e9/0x730 arch/x86/kernel/alternative.c:1534
 text_poke_flush arch/x86/kernel/alternative.c:1725 [inline]
 text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1732
 arch_jump_label_transform_apply+0x15/0x30 arch/x86/kernel/jump_label.c:146
 __jump_label_update+0x36a/0x380 kernel/jump_label.c:455
 jump_label_update+0x3af/0x450 kernel/jump_label.c:801
 static_key_enable_cpuslocked+0x12f/0x250 kernel/jump_label.c:177
 static_key_enable+0x1a/0x30 kernel/jump_label.c:190
 toggle_allocation_gate+0xbf/0x450 mm/kfence/core.c:804
 process_one_work+0x73d/0xcb0 kernel/workqueue.c:2299
 worker_thread+0xa60/0x1260 kernel/workqueue.c:2446
 kthread+0x26d/0x300 kernel/kthread.c:386
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/02 15:01 android14-6.1 4ac7f55b9824 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in net_rx_action
2024/06/20 11:22 android14-6.1 cd89d4fa0722 dac2aa43 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in net_rx_action
* Struck through repros no longer work on HEAD.