syzbot


INFO: rcu detected stall in rtnl_newlink

Status: auto-obsoleted due to no activity on 2024/01/17 21:04
Reported-by: syzbot+7c260f6863ac109d4e72@syzkaller.appspotmail.com
First crash: 205d, last: 205d
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: rcu detected stall in rtnl_newlink (2) 2 25d 49d 0/3 upstream: reported on 2024/03/13 06:43
upstream INFO: rcu detected stall in rtnl_newlink batman C done inconclusive 201 575d 1377d 0/26 auto-obsoleted due to no activity on 2023/02/01 16:38
upstream INFO: rcu detected stall in rtnl_newlink (4) batman C error 6 2d22h 62d 25/26 internal: reported C repro on 2024/02/29 13:10
upstream INFO: rcu detected stall in rtnl_newlink (3) batman C error done 3 250d 300d 0/26 auto-obsoleted due to no activity on 2023/12/03 18:15
linux-5.15 BUG: soft lockup in rtnl_newlink origin:lts-only C inconclusive 61 18d 419d 0/3 upstream: reported C repro on 2023/03/09 19:16
linux-4.19 INFO: rcu detected stall in rtnl_newlink C error 7 505d 1378d 0/1 upstream: reported C repro on 2020/07/24 01:06
upstream INFO: rcu detected stall in rtnl_newlink (2) net 1 444d 444d 0/26 auto-obsoleted due to no activity on 2023/05/13 18:46
android-5-15 BUG: soft lockup in rtnl_newlink 2 13d 13d 0/2 premoderation: reported on 2024/04/18 11:40
linux-4.14 BUG: soft lockup in rtnl_newlink 1 826d 826d 0/1 auto-closed as invalid on 2022/05/26 06:33

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	1-...!: (0 ticks this GP) idle=32f4/1/0x4000000000000000 softirq=22306/22306 fqs=0
	(detected by 0, t=10502 jiffies, g=25353, q=54 ncpus=2)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 7484 Comm: syz-executor.2 Not tainted 6.1.56-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:29 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline]
RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:130 [inline]
RIP: 0010:lock_acquire+0x23e/0x5a0 kernel/locking/lockdep.c:5664
Code: 7e 83 f8 01 0f 85 a4 01 00 00 49 89 de 48 c1 eb 03 42 80 3c 2b 00 74 08 4c 89 f7 e8 6c 5f 77 00 48 c7 44 24 60 00 00 00 00 9c <8f> 44 24 60 42 80 3c 2b 00 74 08 4c 89 f7 e8 cf 5e 77 00 f6 44 24
RSP: 0018:ffffc900001e0ad8 EFLAGS: 00000046
RAX: 0000000000000001 RBX: 1ffff9200003c168 RCX: ffffffff816af1d5
RDX: dffffc0000000000 RSI: ffffffff8aebf3a0 RDI: ffffffff8b3cec00
RBP: ffffc900001e0c28 R08: dffffc0000000000 R09: fffffbfff2093045
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200003c164
R13: dffffc0000000000 R14: ffffc900001e0b40 R15: 0000000000000046
FS:  00007fca507f16c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b3312a000 CR3: 00000000239e7000 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_deactivate+0x61/0x420 lib/debugobjects.c:772
 debug_hrtimer_deactivate kernel/time/hrtimer.c:425 [inline]
 debug_deactivate+0x1d/0x280 kernel/time/hrtimer.c:481
 __run_hrtimer kernel/time/hrtimer.c:1653 [inline]
 __hrtimer_run_queues+0x334/0xe50 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811
 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+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:fib6_clean_node+0x39f/0x5d0 net/ipv6/ip6_fib.c:2187
Code: db 75 4d e8 c3 95 3d f8 e8 fe 32 3c 01 49 83 c7 08 4c 89 f8 48 c1 e8 03 42 80 3c 30 00 74 08 4c 89 ff e8 64 bd 94 f8 4d 8b 3f <4d> 85 ff 0f 84 d1 00 00 00 e8 93 95 3d f8 e9 bf fe ff ff e8 89 95
RSP: 0018:ffffc900032ae7c0 EFLAGS: 00000246
RAX: 1ffff11010cd0e01 RBX: 0000000000000000 RCX: ffff88801a278000
RDX: ffffc9000b80c000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: ffffc900032ae8a8 R08: 0000000000000005 R09: ffffffff894cda66
R10: 0000000000000003 R11: ffff88801a278000 R12: ffffc900032aea80
R13: ffffc900032aea70 R14: dffffc0000000000 R15: 0000000000000000
 fib6_walk_continue+0x636/0x8c0 net/ipv6/ip6_fib.c:2113
 fib6_walk+0x168/0x2b0 net/ipv6/ip6_fib.c:2161
 fib6_clean_tree net/ipv6/ip6_fib.c:2241 [inline]
 __fib6_clean_all+0x31b/0x4b0 net/ipv6/ip6_fib.c:2257
 rt6_sync_up+0x17a/0x1f0 net/ipv6/route.c:4784
 addrconf_notify+0x9e7/0xf60 net/ipv6/addrconf.c:3635
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0xd0/0x170 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:1945 [inline]
 netdev_state_change+0x1a3/0x250 net/core/dev.c:1334
 do_setlink+0x515/0x3e60 net/core/rtnetlink.c:3035
 rtnl_group_changelink net/core/rtnetlink.c:3329 [inline]
 __rtnl_newlink net/core/rtnetlink.c:3586 [inline]
 rtnl_newlink+0x10e6/0x2050 net/core/rtnetlink.c:3623
 rtnetlink_rcv_msg+0x818/0xff0 net/core/rtnetlink.c:6124
 netlink_rcv_skb+0x1cd/0x410 net/netlink/af_netlink.c:2495
 netlink_unicast_kernel net/netlink/af_netlink.c:1326 [inline]
 netlink_unicast+0x7d8/0x970 net/netlink/af_netlink.c:1352
 netlink_sendmsg+0xa26/0xd60 net/netlink/af_netlink.c:1874
 sock_sendmsg_nosec net/socket.c:716 [inline]
 sock_sendmsg net/socket.c:736 [inline]
 ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2482
 ___sys_sendmsg net/socket.c:2536 [inline]
 __sys_sendmsg+0x2a9/0x390 net/socket.c:2565
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fca4fa7cae9
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:00007fca507f10c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fca4fb9c050 RCX: 00007fca4fa7cae9
RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000006
RBP: 00007fca4fac847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fca4fb9c050 R15: 00007fff0adec3d8
 </TASK>
rcu: rcu_preempt kthread starved for 10502 jiffies! g25353 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0
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:25400 pid:16    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5241 [inline]
 __schedule+0x142d/0x4550 kernel/sched/core.c:6554
 schedule+0xbf/0x180 kernel/sched/core.c:6630
 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1935
 rcu_gp_fqs_loop+0x2c2/0x1010 kernel/rcu/tree.c:1661
 rcu_gp_kthread+0xa3/0x3a0 kernel/rcu/tree.c:1860
 kthread+0x28d/0x320 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
CPU: 0 PID: 7503 Comm: syz-executor.4 Not tainted 6.1.56-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
RIP: 0010:csd_lock_wait kernel/smp.c:413 [inline]
RIP: 0010:smp_call_function_many_cond+0x1f62/0x33d0 kernel/smp.c:987
Code: 2f 44 89 ee 83 e6 01 31 ff e8 da 35 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 0a e8 65 32 0b 00 e9 1b ff ff ff f3 90 <42> 0f b6 04 2b 84 c0 75 14 41 f7 07 01 00 00 00 0f 84 fe fe ff ff
RSP: 0018:ffffc900036b7160 EFLAGS: 00000246
RAX: ffffffff817f3ead RBX: 1ffff11017328031 RCX: 0000000000040000
RDX: ffffc9000c4ea000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: ffffc900036b7540 R08: ffffffff817f3e76 R09: fffffbfff2093045
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000800000000
R13: dffffc0000000000 R14: 0000000000000001 R15: ffff8880b9940188
FS:  00007f6d073c56c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6d0679d988 CR3: 000000007c8df000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 </IRQ>
 <TASK>
 on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1155
 on_each_cpu include/linux/smp.h:71 [inline]
 text_poke_sync arch/x86/kernel/alternative.c:1316 [inline]
 text_poke_bp_batch+0x2bb/0x940 arch/x86/kernel/alternative.c:1516
 text_poke_flush arch/x86/kernel/alternative.c:1707 [inline]
 text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1714
 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146
 static_key_enable_cpuslocked+0x12e/0x250 kernel/jump_label.c:177
 static_key_enable+0x16/0x20 kernel/jump_label.c:190
 __sched_core_enable kernel/sched/core.c:376 [inline]
 sched_core_get+0xa6/0x1d0 kernel/sched/core.c:400
 sched_core_alloc_cookie+0x71/0xa0 kernel/sched/core_sched.c:18
 sched_core_share_pid+0x353/0x770 kernel/sched/core_sched.c:185
 __do_sys_prctl kernel/sys.c:2636 [inline]
 __se_sys_prctl+0x2a5/0x2d40 kernel/sys.c:2364
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f6d0667cae9
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:00007f6d073c50c8 EFLAGS: 00000246 ORIG_RAX: 000000000000009d
RAX: ffffffffffffffda RBX: 00007f6d0679bf80 RCX: 00007f6d0667cae9
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 000000000000003e
RBP: 00007f6d066c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f6d0679bf80 R15: 00007ffed9367c28
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/10/09 21:03 linux-6.1.y ecda77b46871 3c53c7d9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in rtnl_newlink
* Struck through repros no longer work on HEAD.