syzbot


BUG: soft lockup in ip_list_rcv

Status: premoderation: reported on 2024/08/06 20:21
Reported-by: syzbot+d289ddda1a3dd40ca25d@syzkaller.appspotmail.com
First crash: 39d, last: 39d
Similar bugs (11)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 BUG: soft lockup in ip_list_rcv 19 7d11h 144d 0/2 premoderation: reported on 2024/04/23 12:02
upstream BUG: soft lockup in ip_list_rcv (2) kvm 8 872d 873d 0/28 auto-closed as invalid on 2022/06/25 08:42
upstream BUG: soft lockup in ip_list_rcv net 1 1373d 1373d 0/28 auto-closed as invalid on 2021/03/11 09:36
android-6-1 BUG: soft lockup in ip_list_rcv 2 43d 65d 0/2 premoderation: reported on 2024/07/11 05:20
upstream INFO: rcu detected stall in ip_list_rcv (6) virt netfilter C done done 34 31d 285d 0/28 upstream: reported C repro on 2023/12/04 09:45
linux-5.15 INFO: rcu detected stall in ip_list_rcv 2 1d03h 56d 0/3 upstream: reported on 2024/07/20 04:22
linux-6.1 INFO: rcu detected stall in ip_list_rcv 1 17d 17d 0/3 upstream: reported on 2024/08/28 18:02
upstream INFO: rcu detected stall in ip_list_rcv (5) lsm netfilter 3 429d 487d 0/28 auto-obsoleted due to no activity on 2023/10/11 22:12
upstream INFO: rcu detected stall in ip_list_rcv (4) netfilter 1 804d 804d 0/28 auto-closed as invalid on 2022/09/01 16:20
upstream INFO: rcu detected stall in ip_list_rcv (2) netfilter 3 1300d 1379d 0/28 auto-closed as invalid on 2021/05/23 12:59
upstream INFO: rcu detected stall in ip_list_rcv (3) net 1 992d 992d 0/28 closed as invalid on 2022/02/08 10:10

Sample crash report:
RBP: 00007fea2bedaf80 R08: 00007fff5a2410b0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fea2bedaf8c
R13: 0000000000000000 R14: 00007fff5a2368c0 R15: 00007fff5a2369a8
watchdog: BUG: soft lockup - CPU#0 stuck for 123s! [syz.0.280:2054]
Modules linked in:
CPU: 0 PID: 2054 Comm: syz.0.280 Not tainted 5.10.222-syzkaller-01494-gfd58936f3c1f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:ip_list_rcv_finish net/ipv4/ip_input.c:579 [inline]
RIP: 0010:ip_sublist_rcv+0x164/0x990 net/ipv4/ip_input.c:616
Code: 48 89 44 24 40 31 c0 48 89 44 24 58 31 c0 48 89 44 24 18 eb 1d e8 3c 30 73 fd 4c 8b 64 24 38 4c 3b 64 24 20 0f 84 23 05 00 00 <e8> 27 30 73 fd 4d 89 e5 4c 89 e8 48 c1 e8 03 48 89 44 24 60 42 80
RSP: 0018:ffffc900000073c0 EFLAGS: 00000283
RAX: 1ffff11023f916f0 RBX: ffff88811fc8b3c8 RCX: ffff8881240b0000
RDX: 0000000000000101 RSI: ffff88811fc8b780 RDI: ffff88811fc8b3c0
RBP: ffffc90000007530 R08: ffffffff83f77a0c R09: ffffffff83f78a2f
R10: 0000000000000002 R11: ffff8881240b0000 R12: ffff88811fc8b140
R13: ffff88811fc8b3c0 R14: dffffc0000000000 R15: ffffc90000007460
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd95328fa8 CR3: 000000012293b000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 ip_list_rcv+0x422/0x470 net/ipv4/ip_input.c:651
 __netif_receive_skb_list_ptype net/core/dev.c:5425 [inline]
 __netif_receive_skb_list_core+0x6b1/0x890 net/core/dev.c:5473
 __netif_receive_skb_list net/core/dev.c:5525 [inline]
 netif_receive_skb_list_internal+0x967/0xcc0 net/core/dev.c:5635
 gro_normal_list net/core/dev.c:5789 [inline]
 gro_normal_one net/core/dev.c:5802 [inline]
 napi_skb_finish net/core/dev.c:6145 [inline]
 napi_gro_receive+0x474/0x8e0 net/core/dev.c:6177
 receive_buf+0x36c8/0x53d0 drivers/net/virtio_net.c:1157
 virtnet_receive drivers/net/virtio_net.c:1421 [inline]
 virtnet_poll+0x5cf/0x11f0 drivers/net/virtio_net.c:1530
 napi_poll net/core/dev.c:6854 [inline]
 net_rx_action+0x516/0x10d0 net/core/dev.c:6924
 __do_softirq+0x268/0x5bb kernel/softirq.c:309
 asm_call_irq_on_stack+0xf/0x20
 </IRQ>
 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline]
 run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline]
 do_softirq_own_stack+0x60/0x80 arch/x86/kernel/irq_64.c:77
 invoke_softirq kernel/softirq.c:405 [inline]
 __irq_exit_rcu+0x128/0x150 kernel/softirq.c:435
 irq_exit_rcu+0x9/0x10 kernel/softirq.c:447
 sysvec_apic_timer_interrupt+0xbf/0xe0 arch/x86/kernel/apic/apic.c:1094
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635
RIP: 0010:disconnect_mount fs/namespace.c:1461 [inline]
RIP: 0010:umount_tree+0x821/0xef0 fs/namespace.c:1518
Code: ff 4d 8b 36 4c 3b 74 24 08 0f 84 9a 00 00 00 49 83 c6 30 4c 89 f0 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 37 06 00 00 45 8b 36 <be> 00 00 00 08 44 21 f6 31 ff e8 c0 a9 b1 ff b8 00 00 00 08 41 21
RSP: 0018:ffffc90000f57880 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 1ffff110248423a0 RCX: ffff8881240b0000
RDX: 0000000000000000 RSI: 0000000000000282 RDI: 0000000000000282
RBP: ffffc90000f57958 R08: ffffffff81b901ec R09: ffffc90000f5756c
R10: 00000000067a29fd R11: 00000000ea8abafa R12: ffff888124211d00
R13: dffffc0000000000 R14: 0000000008000020 R15: ffff888124211ca8
 drop_collected_mounts fs/namespace.c:1921 [inline]
 put_mnt_ns+0x98/0x1e0 fs/namespace.c:3888
 free_nsproxy+0x4c/0x240 kernel/nsproxy.c:196
 switch_task_namespaces kernel/nsproxy.c:254 [inline]
 exit_task_namespaces+0xb4/0xd0 kernel/nsproxy.c:259
 do_exit+0xc7e/0x2a50 kernel/exit.c:862
 do_group_exit+0x141/0x310 kernel/exit.c:985
 get_signal+0x10a0/0x1410 kernel/signal.c:2782
 arch_do_signal_or_restart+0xbd/0x17c0 arch/x86/kernel/signal.c:805
 handle_signal_work kernel/entry/common.c:145 [inline]
 exit_to_user_mode_loop+0x9b/0xd0 kernel/entry/common.c:169
 exit_to_user_mode_prepare kernel/entry/common.c:199 [inline]
 irqentry_exit_to_user_mode+0x4e/0x80 kernel/entry/common.c:287
 irqentry_exit+0x12/0x60 kernel/entry/common.c:375
 sysvec_apic_timer_interrupt+0xcb/0xe0 arch/x86/kernel/apic/apic.c:1094
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635
RIP: 0033:0x7fea2bd4c9f9
Code: Unable to access opcode bytes at RIP 0x7fea2bd4c9cf.
RSP: 002b:00007fea2a9cc0e8 EFLAGS: 00000246
RAX: 0000000000000001 RBX: 00007fea2bedaf88 RCX: 00007fea2bd4c9f9
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007fea2bedaf8c
RBP: 00007fea2bedaf80 R08: 00007fff5a2410b0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fea2bedaf8c
R13: 0000000000000000 R14: 00007fff5a2368c0 R15: 00007fff5a2369a8
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 110 Comm: kworker/u4:2 Not tainted 5.10.222-syzkaller-01494-gfd58936f3c1f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:csd_lock_wait kernel/smp.c:229 [inline]
RIP: 0010:smp_call_function_single+0x278/0x510 kernel/smp.c:517
Code: 0f 85 18 02 00 00 44 8b 6c 24 48 44 89 ee 83 e6 01 31 ff e8 2a f1 0a 00 41 83 e5 01 75 0a e8 6f ed 0a 00 e9 eb 00 00 00 f3 90 <42> 0f b6 04 23 84 c0 75 15 f7 44 24 48 01 00 00 00 0f 84 cd 00 00
RSP: 0018:ffffc90000c87720 EFLAGS: 00000293
RAX: ffffffff815fbbb4 RBX: 1ffff92000190eed RCX: ffff88810f65a780
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90000c87810 R08: ffffffff815fbb86 R09: ffffed103ee0aec9
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 0000000000000001 R14: ffffc90000c87768 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f43e0bd6ff8 CR3: 000000000660f000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 smp_call_function_many_cond+0x94e/0xa30 kernel/smp.c:653
 smp_call_function_many kernel/smp.c:716 [inline]
 smp_call_function kernel/smp.c:738 [inline]
 on_each_cpu+0xa8/0x1a0 kernel/smp.c:837
 text_poke_sync arch/x86/kernel/alternative.c:1318 [inline]
 text_poke_bp_batch+0x1d4/0x600 arch/x86/kernel/alternative.c:1509
 text_poke_flush arch/x86/kernel/alternative.c:1677 [inline]
 text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1684
 arch_jump_label_transform_apply+0x15/0x30 arch/x86/kernel/jump_label.c:126
 __jump_label_update+0x36a/0x380 kernel/jump_label.c:459
 jump_label_update+0x379/0x400 kernel/jump_label.c:825
 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:624
 process_one_work+0x6dc/0xbd0 kernel/workqueue.c:2301
 worker_thread+0xaea/0x1510 kernel/workqueue.c:2447
 kthread+0x34b/0x3d0 kernel/kthread.c:313
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/06 20:21 android13-5.10-lts fd58936f3c1f 1ef9fe42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in ip_list_rcv
* Struck through repros no longer work on HEAD.