syzbot


INFO: rcu detected stall in rtnl_newlink (2)

Status: auto-obsoleted due to no activity on 2023/05/13 18:46
Subsystems: net
[Documentation on labels]
First crash: 444d, last: 444d
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 2d21h 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-6.1 INFO: rcu detected stall in rtnl_newlink 1 205d 205d 0/3 auto-obsoleted due to no activity on 2024/01/17 21:04
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
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 expedited stalls on CPUs/tasks: { 1-.... } 2644 jiffies s: 91893 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: 25329 Comm: syz-executor.2 Not tainted 6.2.0-rc7-syzkaller-01590-g75da437a2f17 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
RIP: 0010:check_preemption_disabled+0xa/0x170 lib/smp_processor_id.c:13
Code: 1f 44 00 00 0f 0b 0f 1f 44 00 00 5b e9 6f fb ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 41 56 41 55 49 89 f5 41 54 55 <48> 89 fd 53 0f 1f 44 00 00 65 44 8b 25 51 ba f8 75 65 8b 1d 46 ba
RSP: 0018:ffffc900001e0c00 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 0000000000000200 RCX: 1ffff110173271c7
RDX: 0000000000000000 RSI: ffffffff8aa6bf80 RDI: ffffffff8aa6bfc0
RBP: ffffffff91c23a00 R08: 0000000000000006 R09: 0000000000000033
R10: 0000000000000033 R11: 0000000000000001 R12: 0000000000038e00
R13: ffffffff8aa6bf80 R14: ffff8880b9938da0 R15: 0000000000000010
FS:  00007f8d21d3b700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32321000 CR3: 000000015d381000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 get_random_u32+0x323/0x7d0 drivers/char/random.c:532
 __get_random_u32_below+0x17/0x90 drivers/char/random.c:546
 get_random_u32_below include/linux/random.h:63 [inline]
 garp_join_timer_arm+0x20/0x70 net/802/garp.c:410
 call_timer_fn+0x1da/0x7c0 kernel/time/timer.c:1700
 expire_timers+0x2c6/0x5c0 kernel/time/timer.c:1751
 __run_timers kernel/time/timer.c:2022 [inline]
 __run_timers kernel/time/timer.c:1995 [inline]
 run_timer_softirq+0x326/0x910 kernel/time/timer.c:2035
 __do_softirq+0x1fb/0xadc kernel/softirq.c:571
 invoke_softirq kernel/softirq.c:445 [inline]
 __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650
 irq_exit_rcu+0x9/0x20 kernel/softirq.c:662
 sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1107
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:200
Code: 96 7b 8a 02 66 0f 1f 44 00 00 f3 0f 1e fa 48 8b be a8 01 00 00 e8 b0 ff ff ff 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 <f3> 0f 1e fa 65 8b 05 6d b7 82 7e 89 c1 48 8b 34 24 81 e1 00 01 00
RSP: 0018:ffffc9000c996f60 EFLAGS: 00000212
RAX: 0000000000004198 RBX: 0000000000000000 RCX: ffffc90004905000
RDX: 0000000000040000 RSI: ffffffff8165c2ea RDI: 0000000000000007
RBP: ffffc9000c997168 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000200 R11: 0000000000000000 R12: 0000000000000001
R13: ffffffff91be2f20 R14: 0000000000000200 R15: 0000000000000000
 console_emit_next_record.constprop.0+0x550/0x890 arch/x86/include/asm/irqflags.h:45
 console_flush_all+0x547/0x6e0 kernel/printk/printk.c:2889
 console_unlock+0xb8/0x1f0 kernel/printk/printk.c:2966
 vprintk_emit+0x1bd/0x600 kernel/printk/printk.c:2359
 vprintk+0x84/0xa0 kernel/printk/printk_safe.c:50
 _printk+0xbe/0xf1 kernel/printk/printk.c:2380
 __nla_validate_parse.cold+0x4e/0xa9 lib/nlattr.c:615
 __nla_parse+0x41/0x50 lib/nlattr.c:700
 nla_parse_nested_deprecated include/net/netlink.h:1281 [inline]
 __rtnl_newlink+0x358/0x1840 net/core/rtnetlink.c:3539
 rtnl_newlink+0x68/0xa0 net/core/rtnetlink.c:3670
 rtnetlink_rcv_msg+0x43e/0xca0 net/core/rtnetlink.c:6174
 netlink_rcv_skb+0x165/0x440 net/netlink/af_netlink.c:2574
 netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline]
 netlink_unicast+0x547/0x7f0 net/netlink/af_netlink.c:1365
 netlink_sendmsg+0x91b/0xe10 net/netlink/af_netlink.c:1942
 sock_sendmsg_nosec net/socket.c:722 [inline]
 sock_sendmsg+0xde/0x190 net/socket.c:745
 ____sys_sendmsg+0x71c/0x900 net/socket.c:2501
 ___sys_sendmsg+0x110/0x1b0 net/socket.c:2555
 __sys_sendmsg+0xf7/0x1c0 net/socket.c:2584
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f8d2108c0f9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f8d21d3b168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f8d211ac050 RCX: 00007f8d2108c0f9
RDX: 0000000000000000 RSI: 0000000020000180 RDI: 0000000000000003
RBP: 00007f8d210e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc6389866f R14: 00007f8d21d3b300 R15: 0000000000022000
 </TASK>
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	1-....: (1 GPs behind) idle=bf3c/1/0x4000000000000000 softirq=146165/146171 fqs=3111
	(t=10500 jiffies g=243585 q=246 ncpus=2)
CPU: 1 PID: 25329 Comm: syz-executor.2 Not tainted 6.2.0-rc7-syzkaller-01590-g75da437a2f17 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x3c/0x70 kernel/locking/spinlock.c:194
Code: 74 24 10 e8 46 68 55 f7 48 89 ef e8 ee d4 55 f7 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 <e8> 8f 30 48 f7 65 8b 05 a0 89 f5 75 85 c0 74 0a 5b 5d c3 e8 1c 54
RSP: 0018:ffffc900001e0ad0 EFLAGS: 00000206
RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff2274e66
RDX: 0000000000000000 RSI: 0000000000000103 RDI: 0000000000000001
RBP: ffffffff91e012a8 R08: 0000000000000001 R09: ffffffff91353b9f
R10: 0000000000000001 R11: 0000000000000001 R12: dffffc0000000000
R13: ffffffff8a4ea980 R14: ffff88805b2a9810 R15: 1ffff9200003c15f
FS:  00007f8d21d3b700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32321000 CR3: 000000015d381000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 debug_object_assert_init lib/debugobjects.c:906 [inline]
 debug_object_assert_init+0x24a/0x2e0 lib/debugobjects.c:870
 debug_timer_assert_init kernel/time/timer.c:792 [inline]
 debug_assert_init kernel/time/timer.c:837 [inline]
 __mod_timer+0x9b/0xe80 kernel/time/timer.c:1020
 mrp_join_timer+0xf5/0x120 net/802/mrp.c:611
 call_timer_fn+0x1da/0x7c0 kernel/time/timer.c:1700
 expire_timers+0x2c6/0x5c0 kernel/time/timer.c:1751
 __run_timers kernel/time/timer.c:2022 [inline]
 __run_timers kernel/time/timer.c:1995 [inline]
 run_timer_softirq+0x326/0x910 kernel/time/timer.c:2035
 __do_softirq+0x1fb/0xadc kernel/softirq.c:571
 invoke_softirq kernel/softirq.c:445 [inline]
 __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650
 irq_exit_rcu+0x9/0x20 kernel/softirq.c:662
 sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1107
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:200
Code: 96 7b 8a 02 66 0f 1f 44 00 00 f3 0f 1e fa 48 8b be a8 01 00 00 e8 b0 ff ff ff 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 <f3> 0f 1e fa 65 8b 05 6d b7 82 7e 89 c1 48 8b 34 24 81 e1 00 01 00
RSP: 0018:ffffc9000c996f60 EFLAGS: 00000212
RAX: 0000000000004198 RBX: 0000000000000000 RCX: ffffc90004905000
RDX: 0000000000040000 RSI: ffffffff8165c2ea RDI: 0000000000000007
RBP: ffffc9000c997168 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000200 R11: 0000000000000000 R12: 0000000000000001
R13: ffffffff91be2f20 R14: 0000000000000200 R15: 0000000000000000
 console_emit_next_record.constprop.0+0x550/0x890 arch/x86/include/asm/irqflags.h:45
 console_flush_all+0x547/0x6e0 kernel/printk/printk.c:2889
 console_unlock+0xb8/0x1f0 kernel/printk/printk.c:2966
 vprintk_emit+0x1bd/0x600 kernel/printk/printk.c:2359
 vprintk+0x84/0xa0 kernel/printk/printk_safe.c:50
 _printk+0xbe/0xf1 kernel/printk/printk.c:2380
 __nla_validate_parse.cold+0x4e/0xa9 lib/nlattr.c:615
 __nla_parse+0x41/0x50 lib/nlattr.c:700
 nla_parse_nested_deprecated include/net/netlink.h:1281 [inline]
 __rtnl_newlink+0x358/0x1840 net/core/rtnetlink.c:3539
 rtnl_newlink+0x68/0xa0 net/core/rtnetlink.c:3670
 rtnetlink_rcv_msg+0x43e/0xca0 net/core/rtnetlink.c:6174
 netlink_rcv_skb+0x165/0x440 net/netlink/af_netlink.c:2574
 netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline]
 netlink_unicast+0x547/0x7f0 net/netlink/af_netlink.c:1365
 netlink_sendmsg+0x91b/0xe10 net/netlink/af_netlink.c:1942
 sock_sendmsg_nosec net/socket.c:722 [inline]
 sock_sendmsg+0xde/0x190 net/socket.c:745
 ____sys_sendmsg+0x71c/0x900 net/socket.c:2501
 ___sys_sendmsg+0x110/0x1b0 net/socket.c:2555
 __sys_sendmsg+0xf7/0x1c0 net/socket.c:2584
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f8d2108c0f9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f8d21d3b168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f8d211ac050 RCX: 00007f8d2108c0f9
RDX: 0000000000000000 RSI: 0000000020000180 RDI: 0000000000000003
RBP: 00007f8d210e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc6389866f R14: 00007f8d21d3b300 R15: 0000000000022000
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/12 18:45 net-next-old 75da437a2f17 93e26d60 .config console log report info ci-upstream-net-kasan-gce INFO: rcu detected stall in rtnl_newlink
* Struck through repros no longer work on HEAD.