syzbot


INFO: rcu detected stall in __netif_receive_skb_core

Status: upstream: reported on 2024/08/02 03:27
Reported-by: syzbot+16df11ee71d3de748d97@syzkaller.appspotmail.com
First crash: 97d, last: 49d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in __netif_receive_skb_core (2) batman 1 286d 286d 0/28 auto-obsoleted due to no activity on 2024/04/24 15:36
upstream INFO: rcu detected stall in __netif_receive_skb_core mm 1 1159d 1159d 0/28 auto-closed as invalid on 2021/12/03 17:24
linux-4.14 INFO: rcu detected stall in __netif_receive_skb_core 1 1660d 1660d 0/1 auto-closed as invalid on 2020/08/20 02:51
upstream INFO: rcu detected stall in __netif_receive_skb_core (3) net 3 142d 175d 0/28 auto-obsoleted due to no activity on 2024/09/16 00:52
android-5-10 BUG: soft lockup in __netif_receive_skb_core 1 82d 82d 0/2 premoderation: reported on 2024/08/16 15:05

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 1-.... } 2894 jiffies s: 1469 root: 0x2/.
rcu: blocking rcu_node structures (internal RCU debug):
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 3754 Comm: syz.4.5 Not tainted 6.1.111-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:lock_acquire+0x10d/0x5a0 kernel/locking/lockdep.c:5635
Code: 00 00 00 e8 35 af 77 00 48 0f a3 1d 85 61 2f 0d 73 0d e8 06 e5 08 00 84 c0 0f 84 b9 02 00 00 48 c7 c0 24 1a 9a 8e 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 dd 02 00 00 83 3d 13 96 2f 0d 00 0f 84
RSP: 0018:ffffc900001e01a0 EFLAGS: 00000807
RAX: 1ffffffff1d34344 RBX: 0000000000000001 RCX: ffffffff816a83db
RDX: 0000000000000000 RSI: ffffffff8b5d6da0 RDI: ffffffff8b5d6d60
RBP: ffffc900001e02e8 R08: dffffc0000000000 R09: fffffbfff1d33cae
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200003c03c
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f42bc7106c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c240507 CR3: 000000007ac91000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162
 debug_object_activate+0x68/0x4e0 lib/debugobjects.c:697
 debug_hrtimer_activate kernel/time/hrtimer.c:421 [inline]
 debug_activate kernel/time/hrtimer.c:476 [inline]
 enqueue_hrtimer+0x30/0x410 kernel/time/hrtimer.c:1085
 __run_hrtimer kernel/time/hrtimer.c:1706 [inline]
 __hrtimer_run_queues+0x728/0xe50 kernel/time/hrtimer.c:1753
 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1815
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline]
 __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112
 sysvec_apic_timer_interrupt+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1106
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:deliver_ptype_list_skb net/core/dev.c:2225 [inline]
RIP: 0010:__netif_receive_skb_core+0x318f/0x41d0 net/core/dev.c:5479
Code: 48 48 8b 4c 24 50 ff d3 4c 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 74 08 4c 89 ff e8 b4 0a 44 f9 4d 8b 3f <4c> 3b 7c 24 18 0f 84 cd 00 00 00 e8 61 88 ec f8 4d 89 f5 e9 e9 fd
RSP: 0018:ffffc900001e07a0 EFLAGS: 00000246
RAX: 1ffffffff1d372ae RBX: 000000000000dd86 RCX: dffffc0000000000
RDX: 0000000000000100 RSI: 000000000000dd86 RDI: 000000000000dd86
RBP: ffffc900001e0990 R08: ffffffff889e24ff R09: ffffffff889dfa9b
R10: 0000000000000002 R11: ffff88807b045940 R12: 000000000000dd86
R13: 0000000000000000 R14: ffffffff8e9b9530 R15: ffffffff8e9a58b0
 __netif_receive_skb_one_core net/core/dev.c:5526 [inline]
 __netif_receive_skb+0x11c/0x530 net/core/dev.c:5642
 process_backlog+0x381/0x760 net/core/dev.c:5970
 __napi_poll+0xc7/0x470 net/core/dev.c:6537
 napi_poll net/core/dev.c:6604 [inline]
 net_rx_action+0x70f/0xeb0 net/core/dev.c:6718
 handle_softirqs+0x2ee/0xa40 kernel/softirq.c:571
 __do_softirq kernel/softirq.c:605 [inline]
 invoke_softirq kernel/softirq.c:445 [inline]
 __irq_exit_rcu+0x157/0x240 kernel/softirq.c:654
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:666
 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:__schedule+0x1453/0x4570 kernel/sched/core.c:6566
Code: 43 e6 32 f7 48 8b 74 24 18 48 89 33 48 8b 7c 24 30 e8 61 0c 51 f6 48 89 c7 e8 59 03 b0 f6 48 c7 84 24 00 01 00 00 0e 36 e0 45 <48> b8 00 00 00 00 00 fc ff df 48 8b 8c 24 f8 00 00 00 48 c7 04 08
RSP: 0018:ffffc9000463f500 EFLAGS: 00000282
RAX: 0000000000000001 RBX: ffff8880b8f3a9d0 RCX: ffffffff815f51c9
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffff88802446da90
RBP: ffffc9000463f6b0 R08: dffffc0000000000 R09: ffffed100488db53
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807b045e70
R13: 1ffff11002fe90a5 R14: dffffc0000000000 R15: 1ffff1100f608bce
 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6870
 irqentry_exit+0x53/0x80 kernel/entry/common.c:439
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:lock_acquire+0x26f/0x5a0 kernel/locking/lockdep.c:5666
Code: 2b 00 74 08 4c 89 f7 e8 3f ac 77 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25
RSP: 0018:ffffc9000463f840 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff920008c7f14 RCX: ffffffff816b3d32
RDX: dffffc0000000000 RSI: ffffffff8b0c14c0 RDI: ffffffff8b5d6dc0
RBP: ffffc9000463f990 R08: dffffc0000000000 R09: fffffbfff223b847
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920008c7f10
R13: dffffc0000000000 R14: ffffc9000463f8a0 R15: 0000000000000246
 fs_reclaim_acquire+0xaa/0x120 mm/page_alloc.c:4698
 might_alloc include/linux/sched/mm.h:271 [inline]
 slab_pre_alloc_hook+0x2a/0x300 mm/slab.h:710
 slab_alloc_node mm/slub.c:3318 [inline]
 slab_alloc mm/slub.c:3406 [inline]
 __kmem_cache_alloc_lru mm/slub.c:3413 [inline]
 kmem_cache_alloc+0x4e/0x2d0 mm/slub.c:3422
 copy_sighand+0x50/0x230 kernel/fork.c:1654
 copy_process+0x1923/0x4060 kernel/fork.c:2261
 kernel_clone+0x222/0x920 kernel/fork.c:2682
 __do_sys_clone kernel/fork.c:2823 [inline]
 __se_sys_clone kernel/fork.c:2807 [inline]
 __x64_sys_clone+0x231/0x280 kernel/fork.c:2807
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f42bb97def9
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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f42bc70ffe8 EFLAGS: 00000202 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007f42bbb36058 RCX: 00007f42bb97def9
RDX: 0000000020000200 RSI: 0000000020000120 RDI: 0000000000000480
RBP: 00007f42bb9f0b76 R08: 0000000020000300 R09: 0000000020000300
R10: 0000000020000240 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f42bbb36058 R15: 00007ffd15c6d128
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/19 03:13 linux-6.1.y e526b12bf916 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in __netif_receive_skb_core
2024/08/02 03:26 linux-6.1.y c1cec4dad96b 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in __netif_receive_skb_core
* Struck through repros no longer work on HEAD.