syzbot


INFO: rcu detected stall in macvlan_handle_frame (2)

Status: auto-obsoleted due to no activity on 2024/07/31 19:33
Subsystems: net
[Documentation on labels]
First crash: 188d, last: 188d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in macvlan_handle_frame net 1 1431d 1430d 0/28 auto-closed as invalid on 2021/03/06 19:47
upstream BUG: soft lockup in macvlan_handle_frame net 1 5d23h 1d16h 0/28 upstream: reported on 2024/11/05 10:34

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-...!: (1 GPs behind) idle=3fbc/1/0x4000000000000000 softirq=74904/74905 fqs=4
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P2908/1:b..l
rcu: 	(detected by 1, t=10505 jiffies, g=110845, q=709 ncpus=2)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 12799 Comm: kworker/0:14 Not tainted 6.9.0-rc6-syzkaller-00113-g49a73b1652c5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: mld mld_ifc_work
RIP: 0010:find_held_lock kernel/locking/lockdep.c:5244 [inline]
RIP: 0010:__lock_release kernel/locking/lockdep.c:5429 [inline]
RIP: 0010:lock_release+0x250/0x9f0 kernel/locking/lockdep.c:5774
Code: 44 24 38 8d 58 ff 4d 8d b5 d8 0a 00 00 4c 63 e3 41 83 fc 31 0f 83 ff 05 00 00 4f 8d 2c a4 4f 8d 3c ee 4c 89 ff 48 8b 74 24 20 <e8> 4b ae 0d 0a 89 5c 24 44 89 da 85 c0 0f 84 05 02 00 00 4d 85 ff
RSP: 0018:ffffc90000006ea0 EFLAGS: 00000083
RAX: 0000000000000008 RBX: 0000000000000007 RCX: ffffc90000006f03
RDX: 1ffff92000000de4 RSI: ffffffff8ea34f80 RDI: ffff8880686cc7f0
RBP: ffffc90000006fd0 R08: ffffffff8fa8fa2f R09: 1ffffffff1f51f45
R10: dffffc0000000000 R11: fffffbfff1f51f46 R12: 0000000000000007
R13: 0000000000000023 R14: ffff8880686cc6d8 R15: ffff8880686cc7f0
FS:  0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2ce22000 CR3: 00000000234ae000 CR4: 0000000000350ef0
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 debug_objects_fill_pool+0xc0/0x9b0 lib/debugobjects.c:616
 debug_object_activate+0x135/0x510 lib/debugobjects.c:704
 debug_hrtimer_activate kernel/time/hrtimer.c:423 [inline]
 debug_activate kernel/time/hrtimer.c:478 [inline]
 enqueue_hrtimer+0x30/0x3c0 kernel/time/hrtimer.c:1090
 __run_hrtimer kernel/time/hrtimer.c:1709 [inline]
 __hrtimer_run_queues+0x6d5/0xd50 kernel/time/hrtimer.c:1756
 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1818
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline]
 __sysvec_apic_timer_interrupt+0x112/0x3f0 arch/x86/kernel/apic/apic.c:1049
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline]
 sysvec_apic_timer_interrupt+0x52/0xc0 arch/x86/kernel/apic/apic.c:1043
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:arch_test_and_set_bit arch/x86/include/asm/bitops.h:137 [inline]
RIP: 0010:test_and_set_bit include/asm-generic/bitops/instrumented-atomic.h:72 [inline]
RIP: 0010:queue_work_on+0x1f8/0x250 kernel/workqueue.c:2447
Code: 11 e8 7c 45 36 00 4d 85 e4 75 16 e8 72 45 36 00 eb 15 e8 6b 45 36 00 e8 a6 92 20 0a 4d 85 e4 74 ea e8 5c 45 36 00 fb 45 84 ed <0f> 94 c0 48 c7 44 24 20 0e 36 e0 45 48 b9 00 00 00 00 00 fc ff df
RSP: 0018:ffffc90000007660 EFLAGS: 00000246
RAX: ffffffff815fcb64 RBX: 0000000000000000 RCX: ffff8880686cbc00
RDX: 0000000080000101 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000007730 R08: ffffffff815fcb3a R09: 1ffffffff25e6ab1
R10: dffffc0000000000 R11: fffffbfff25e6ab2 R12: 0000000000000200
R13: 0000000000000000 R14: 0000000000000046 R15: 1ffff92000000ed0
 queue_work include/linux/workqueue.h:605 [inline]
 macvlan_broadcast_enqueue drivers/net/macvlan.c:371 [inline]
 macvlan_handle_frame+0x10bd/0x1470 drivers/net/macvlan.c:487
 __netif_receive_skb_core+0x13e0/0x4450 net/core/dev.c:5438
 __netif_receive_skb_one_core net/core/dev.c:5542 [inline]
 __netif_receive_skb+0x12f/0x650 net/core/dev.c:5658
 process_backlog+0x39d/0x7a0 net/core/dev.c:5987
 __napi_poll+0xcd/0x490 net/core/dev.c:6638
 napi_poll net/core/dev.c:6707 [inline]
 net_rx_action+0x7bb/0x1090 net/core/dev.c:6822
 __do_softirq+0x2c8/0x980 kernel/softirq.c:554
 do_softirq+0x11b/0x1e0 kernel/softirq.c:455
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0x1bb/0x200 kernel/softirq.c:382
 local_bh_enable include/linux/bottom_half.h:33 [inline]
 rcu_read_unlock_bh include/linux/rcupdate.h:851 [inline]
 __dev_queue_xmit+0x1697/0x3ca0 net/core/dev.c:4368
 neigh_output include/net/neighbour.h:542 [inline]
 ip6_finish_output2+0xffa/0x1670 net/ipv6/ip6_output.c:137
 ip6_finish_output+0x41e/0x810 net/ipv6/ip6_output.c:222
 NF_HOOK+0x9e/0x430 include/linux/netfilter.h:314
 mld_sendpack+0x838/0xda0 net/ipv6/mcast.c:1818
 mld_send_cr net/ipv6/mcast.c:2119 [inline]
 mld_ifc_work+0x7d6/0xd90 net/ipv6/mcast.c:2650
 process_one_work kernel/workqueue.c:3267 [inline]
 process_scheduled_works+0xa12/0x17c0 kernel/workqueue.c:3348
 worker_thread+0x86d/0xd70 kernel/workqueue.c:3429
 kthread+0x2f2/0x390 kernel/kthread.c:388
 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
task:kworker/u8:14   state:R  running task     stack:18704 pid:2908  tgid:2908  ppid:2      flags:0x00004000
Workqueue: bat_events batadv_nc_worker
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5409 [inline]
 __schedule+0x17e8/0x4a50 kernel/sched/core.c:6746
 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7068
 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:rcu_is_watching+0x0/0xb0 kernel/rcu/tree.c:696
Code: 4c 89 f6 e8 22 d9 6c 03 e9 2b ff ff ff e8 68 f9 03 0a 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <f3> 0f 1e fa 41 57 41 56 53 65 ff 05 28 70 87 7e e8 9b 17 04 0a 89
RSP: 0018:ffffc90009ff7b50 EFLAGS: 00000202
RAX: 0000000000000000 RBX: ffff88807d5dce40 RCX: ffff88802be61e00
RDX: ffff88802be61e00 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffff88805bf05b70 R08: ffffffff8b4b2561 R09: 1ffffffff25e6aa0
R10: dffffc0000000000 R11: fffffbfff25e6aa1 R12: ffff88805cd54ca0
R13: 000000000000036e R14: 0000000000000001 R15: dffffc0000000000
 rcu_read_lock include/linux/rcupdate.h:782 [inline]
 batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline]
 batadv_nc_worker+0x10b/0x610 net/batman-adv/network-coding.c:719
 process_one_work kernel/workqueue.c:3267 [inline]
 process_scheduled_works+0xa12/0x17c0 kernel/workqueue.c:3348
 worker_thread+0x86d/0xd70 kernel/workqueue.c:3429
 kthread+0x2f2/0x390 kernel/kthread.c:388
 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
rcu: rcu_preempt kthread starved for 10485 jiffies! g110845 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
rcu: 	Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
rcu: RCU grace-period kthread stack dump:
task:rcu_preempt     state:R  running task     stack:26136 pid:16    tgid:16    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5409 [inline]
 __schedule+0x17e8/0x4a50 kernel/sched/core.c:6746
 __schedule_loop kernel/sched/core.c:6823 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6838
 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2582
 rcu_gp_fqs_loop+0x2df/0x1370 kernel/rcu/tree.c:1663
 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1862
 kthread+0x2f2/0x390 kernel/kthread.c:388
 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
CPU: 1 PID: 18372 Comm: syz-executor.0 Not tainted 6.9.0-rc6-syzkaller-00113-g49a73b1652c5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline]
RIP: 0010:smp_call_function_many_cond+0x1899/0x2a00 kernel/smp.c:855
Code: 89 e6 83 e6 01 31 ff e8 15 db 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 c0 d6 0b 00 eb 38 f3 90 42 0f b6 04 23 <84> c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 a4 d6 0b 00 eb e4 44
RSP: 0018:ffffc900043573e0 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 1ffff11017288c6d RCX: 0000000000040000
RDX: ffffc9000fe05000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: ffffc900043575e0 R08: ffffffff818a39eb R09: 1ffffffff25e6aa0
R10: dffffc0000000000 R11: fffffbfff25e6aa1 R12: dffffc0000000000
R13: ffff8880b9446368 R14: ffff8880b953f7c0 R15: 0000000000000000
FS:  00007f98db7f06c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2cd21000 CR3: 000000006784a000 CR4: 0000000000350ef0
Call Trace:
 <IRQ>
 </IRQ>
 <TASK>
 on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023
 on_each_cpu include/linux/smp.h:71 [inline]
 text_poke_sync arch/x86/kernel/alternative.c:2086 [inline]
 text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2296
 text_poke_bp+0xb0/0x100 arch/x86/kernel/alternative.c:2523
 __static_call_transform+0x51a/0x810 arch/x86/kernel/static_call.c:111
 arch_static_call_transform+0x141/0x380 arch/x86/kernel/static_call.c:163
 __static_call_update+0xd8/0x5e0 kernel/static_call_inline.c:147
 tracepoint_update_call kernel/tracepoint.c:317 [inline]
 tracepoint_add_func+0x918/0x9e0 kernel/tracepoint.c:358
 tracepoint_probe_register_prio_may_exist+0x122/0x190 kernel/tracepoint.c:482
 bpf_raw_tp_link_attach+0x470/0x6d0 kernel/bpf/syscall.c:3865
 bpf_raw_tracepoint_open+0x19d/0x210 kernel/bpf/syscall.c:3892
 __sys_bpf+0x3c0/0x810 kernel/bpf/syscall.c:5702
 __do_sys_bpf kernel/bpf/syscall.c:5767 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:5765 [inline]
 __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5765
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f98daa7dea9
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:00007f98db7f00c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f98dababf80 RCX: 00007f98daa7dea9
RDX: 0000000000000010 RSI: 0000000020000380 RDI: 0000000000000011
RBP: 00007f98daaca4a4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f98dababf80 R15: 00007ffeeaceeb48
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/02 19:27 upstream 49a73b1652c5 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in macvlan_handle_frame
* Struck through repros no longer work on HEAD.