syzbot


INFO: rcu detected stall in rtnl_newlink (3)

Status: upstream: reported on 2025/05/15 07:33
Reported-by: syzbot+04df38c7c9abad108e84@syzkaller.appspotmail.com
First crash: 1d16h, last: 1d16h
Similar bugs (13)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in rtnl_newlink (5) batman syz error 94 5d05h 32d 0/28 upstream: reported syz repro on 2025/04/14 04:26
linux-6.1 INFO: rcu detected stall in rtnl_newlink (2) 3 338d 429d 0/3 auto-obsoleted due to no activity on 2024/09/20 22:26
upstream INFO: rcu detected stall in rtnl_newlink batman C done inconclusive 201 955d 1757d 0/28 auto-obsoleted due to no activity on 2023/02/01 16:38
upstream INFO: rcu detected stall in rtnl_newlink (4) fs batman C error 9 366d 442d 25/28 fixed on 2024/05/22 23:36
upstream INFO: rcu detected stall in rtnl_newlink (3) batman C error done 3 630d 680d 0/28 auto-obsoleted due to no activity on 2023/12/03 18:15
linux-6.1 INFO: rcu detected stall in rtnl_newlink 1 585d 585d 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 65 307d 799d 0/3 auto-obsoleted due to no activity on 2024/10/21 17:39
linux-5.15 INFO: rcu detected stall in rtnl_newlink origin:upstream syz 2 78d 195d 0/3 upstream: reported syz repro on 2024/11/02 18:01
linux-4.19 INFO: rcu detected stall in rtnl_newlink C error 7 885d 1757d 0/1 upstream: reported C repro on 2020/07/24 01:06
upstream INFO: rcu detected stall in rtnl_newlink (2) net 1 824d 824d 0/28 auto-obsoleted due to no activity on 2023/05/13 18:46
android-5-15 BUG: soft lockup in rtnl_newlink 7 283d 393d 0/2 auto-obsoleted due to no activity on 2024/11/04 06:23
android-6-1 BUG: soft lockup in rtnl_newlink 2 298d 308d 0/2 auto-obsoleted due to no activity on 2024/10/20 23:12
linux-4.14 BUG: soft lockup in rtnl_newlink 1 1206d 1206d 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: 	0-...!: (0 ticks this GP) idle=bd14/1/0x4000000000000000 softirq=33833/33833 fqs=0
	(detected by 1, t=10502 jiffies, g=46269, q=106 ncpus=2)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 9556 Comm: syz-executor Not tainted 6.1.138-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
RIP: 0010:check_region_inline mm/kasan/generic.c:169 [inline]
RIP: 0010:kasan_check_range+0xd/0x290 mm/kasan/generic.c:189
Code: c3 0f 0b b8 ea ff ff ff c3 0f 0b b8 ea ff ff ff c3 00 00 cc cc 00 00 cc cc 00 00 cc cc b0 01 48 85 f6 0f 84 a4 01 00 00 41 57 <41> 56 53 49 89 f8 49 01 f0 0f 82 57 02 00 00 49 89 f8 49 c1 e8 2f
RSP: 0018:ffffc90000007b30 EFLAGS: 00000002
RAX: 00000000ffffff01 RBX: ffffffff96be4758 RCX: ffffffff81642a2e
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffffff96be4758
RBP: ffffc90000007bf0 R08: dffffc0000000000 R09: fffffbfff2117049
R10: fffffbfff2117049 R11: 1ffffffff2117048 R12: ffffffff96be4768
R13: ffffffff96be4760 R14: 1ffffffff2d7c8ed R15: 1ffffffff2d7c8ec
FS:  000055557b7b1500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f59cbce56c0 CR3: 00000000780c1000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000001000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 instrument_atomic_read_write include/linux/instrumented.h:102 [inline]
 atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:541 [inline]
 queued_spin_lock include/asm-generic/qspinlock.h:111 [inline]
 do_raw_spin_lock+0x10e/0x280 kernel/locking/spinlock_debug.c:115
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline]
 _raw_spin_lock_irqsave+0xb0/0xf0 kernel/locking/spinlock.c:162
 debug_object_deactivate+0x63/0x340 lib/debugobjects.c:753
 debug_hrtimer_deactivate kernel/time/hrtimer.c:416 [inline]
 debug_deactivate+0x29/0x240 kernel/time/hrtimer.c:472
 __run_hrtimer kernel/time/hrtimer.c:1659 [inline]
 __hrtimer_run_queues+0x2d0/0xc80 kernel/time/hrtimer.c:1755
 hrtimer_interrupt+0x3bb/0x8d0 kernel/time/hrtimer.c:1817
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1107 [inline]
 __sysvec_apic_timer_interrupt+0x153/0x5a0 arch/x86/kernel/apic/apic.c:1124
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
 sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1118
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:kasan_quarantine_put+0x84/0x220 mm/kasan/quarantine.c:245
Code: e8 21 e0 b4 ff 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 0f 85 83 00 00 00 41 f7 c7 00 02 00 00 74 01 fb 31 c0 <48> 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f c3 48 8d 80 40 66 03 00 45
RSP: 0018:ffffc90003236c70 EFLAGS: 00000206
RAX: 193e7c9d46b1e201 RBX: ffff88801c681600 RCX: 193e7c9d46b1e200
RDX: dffffc0000000000 RSI: ffffffff8a6bfe00 RDI: ffffffff8abf0da0
RBP: ffff88801c681600 R08: dffffc0000000000 R09: fffffbfff211704a
R10: fffffbfff211704a R11: 1ffffffff2117049 R12: 0000000000000000
R13: ffffc90003236d08 R14: 00000000000ad688 R15: 0000000000000286
 kasan_slab_free include/linux/kasan.h:177 [inline]
 slab_free_hook mm/slub.c:1724 [inline]
 slab_free_freelist_hook+0x131/0x1a0 mm/slub.c:1750
 slab_free mm/slub.c:3661 [inline]
 __kmem_cache_free+0xb6/0x1f0 mm/slub.c:3674
 kobject_uevent_env+0x355/0x8a0 lib/kobject_uevent.c:640
 netdev_queue_add_kobject net/core/net-sysfs.c:1675 [inline]
 netdev_queue_update_kobjects+0x23f/0x480 net/core/net-sysfs.c:1716
 register_queue_kobjects net/core/net-sysfs.c:1777 [inline]
 netdev_register_kobject+0x265/0x310 net/core/net-sysfs.c:2017
 register_netdevice+0x12b9/0x1aa0 net/core/dev.c:10192
 veth_newlink+0x592/0xbe0 drivers/net/veth.c:1724
 rtnl_newlink_create net/core/rtnetlink.c:3422 [inline]
 __rtnl_newlink net/core/rtnetlink.c:3642 [inline]
 rtnl_newlink+0x14c4/0x1ff0 net/core/rtnetlink.c:3655
 rtnetlink_rcv_msg+0x79b/0xed0 net/core/rtnetlink.c:6153
 netlink_rcv_skb+0x1de/0x420 net/netlink/af_netlink.c:2493
 netlink_unicast_kernel net/netlink/af_netlink.c:1311 [inline]
 netlink_unicast+0x74c/0x8c0 net/netlink/af_netlink.c:1337
 netlink_sendmsg+0x89e/0xbc0 net/netlink/af_netlink.c:1859
 sock_sendmsg_nosec net/socket.c:718 [inline]
 __sock_sendmsg net/socket.c:730 [inline]
 __sys_sendto+0x44f/0x5c0 net/socket.c:2153
 __do_sys_sendto net/socket.c:2165 [inline]
 __se_sys_sendto net/socket.c:2161 [inline]
 __x64_sys_sendto+0xda/0xf0 net/socket.c:2161
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f114fd907fc
Code: 2a 5f 02 00 44 8b 4c 24 2c 4c 8b 44 24 20 89 c5 44 8b 54 24 28 48 8b 54 24 18 b8 2c 00 00 00 48 8b 74 24 10 8b 7c 24 08 0f 05 <48> 3d 00 f0 ff ff 77 34 89 ef 48 89 44 24 08 e8 70 5f 02 00 48 8b
RSP: 002b:00007ffe075e7390 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f1150ae4620 RCX: 00007f114fd907fc
RDX: 000000000000006c RSI: 00007f1150ae4670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffe075e73e4 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007f1150ae4670 R15: 0000000000000000
 </TASK>
rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g46269 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: 	Possible timer handling issue on cpu=0 timer-softirq=26132
rcu: rcu_preempt kthread starved for 10502 jiffies! g46269 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:26912 pid:16    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5244 [inline]
 __schedule+0x10e9/0x40d0 kernel/sched/core.c:6561
 schedule+0xb9/0x180 kernel/sched/core.c:6637
 schedule_timeout+0x15c/0x280 kernel/time/timer.c:1965
 rcu_gp_fqs_loop+0x2f2/0x1310 kernel/rcu/tree.c:1706
 rcu_gp_kthread+0x95/0x380 kernel/rcu/tree.c:1905
 kthread+0x29d/0x330 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 9556 Comm: syz-executor Not tainted 6.1.138-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
RIP: 0010:arch_irqs_disabled_flags arch/x86/include/asm/irqflags.h:125 [inline]
RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:132 [inline]
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x90/0x100 kernel/locking/spinlock.c:194
Code: 75 08 e8 f3 1b 4a f7 4c 89 f7 e8 4b e1 4a f7 f7 c3 00 02 00 00 74 05 e8 ae e3 6d f7 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 <f6> 44 24 21 02 75 4b f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 e8
RSP: 0018:ffffc90000007c80 EFLAGS: 00000046
RAX: 0000000000000001 RBX: 0000000000000806 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8880b8e2a580
RBP: ffffc90000007d10 R08: dffffc0000000000 R09: ffffed10171c54b1
R10: ffffed10171c54b1 R11: 1ffff110171c54b0 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff8880b8e2a580 R15: 1ffff92000000f90
FS:  000055557b7b1500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f59cbce56c0 CR3: 00000000780c1000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000001000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __run_hrtimer kernel/time/hrtimer.c:1687 [inline]
 __hrtimer_run_queues+0x41b/0xc80 kernel/time/hrtimer.c:1755
 hrtimer_interrupt+0x3bb/0x8d0 kernel/time/hrtimer.c:1817
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1107 [inline]
 __sysvec_apic_timer_interrupt+0x153/0x5a0 arch/x86/kernel/apic/apic.c:1124
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
 sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1118
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:kasan_quarantine_put+0x84/0x220 mm/kasan/quarantine.c:245
Code: e8 21 e0 b4 ff 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 0f 85 83 00 00 00 41 f7 c7 00 02 00 00 74 01 fb 31 c0 <48> 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f c3 48 8d 80 40 66 03 00 45
RSP: 0018:ffffc90003236c70 EFLAGS: 00000206
RAX: 193e7c9d46b1e201 RBX: ffff88801c681600 RCX: 193e7c9d46b1e200
RDX: dffffc0000000000 RSI: ffffffff8a6bfe00 RDI: ffffffff8abf0da0
RBP: ffff88801c681600 R08: dffffc0000000000 R09: fffffbfff211704a
R10: fffffbfff211704a R11: 1ffffffff2117049 R12: 0000000000000000
R13: ffffc90003236d08 R14: 00000000000ad688 R15: 0000000000000286
 kasan_slab_free include/linux/kasan.h:177 [inline]
 slab_free_hook mm/slub.c:1724 [inline]
 slab_free_freelist_hook+0x131/0x1a0 mm/slub.c:1750
 slab_free mm/slub.c:3661 [inline]
 __kmem_cache_free+0xb6/0x1f0 mm/slub.c:3674
 kobject_uevent_env+0x355/0x8a0 lib/kobject_uevent.c:640
 netdev_queue_add_kobject net/core/net-sysfs.c:1675 [inline]
 netdev_queue_update_kobjects+0x23f/0x480 net/core/net-sysfs.c:1716
 register_queue_kobjects net/core/net-sysfs.c:1777 [inline]
 netdev_register_kobject+0x265/0x310 net/core/net-sysfs.c:2017
 register_netdevice+0x12b9/0x1aa0 net/core/dev.c:10192
 veth_newlink+0x592/0xbe0 drivers/net/veth.c:1724
 rtnl_newlink_create net/core/rtnetlink.c:3422 [inline]
 __rtnl_newlink net/core/rtnetlink.c:3642 [inline]
 rtnl_newlink+0x14c4/0x1ff0 net/core/rtnetlink.c:3655
 rtnetlink_rcv_msg+0x79b/0xed0 net/core/rtnetlink.c:6153
 netlink_rcv_skb+0x1de/0x420 net/netlink/af_netlink.c:2493
 netlink_unicast_kernel net/netlink/af_netlink.c:1311 [inline]
 netlink_unicast+0x74c/0x8c0 net/netlink/af_netlink.c:1337
 netlink_sendmsg+0x89e/0xbc0 net/netlink/af_netlink.c:1859
 sock_sendmsg_nosec net/socket.c:718 [inline]
 __sock_sendmsg net/socket.c:730 [inline]
 __sys_sendto+0x44f/0x5c0 net/socket.c:2153
 __do_sys_sendto net/socket.c:2165 [inline]
 __se_sys_sendto net/socket.c:2161 [inline]
 __x64_sys_sendto+0xda/0xf0 net/socket.c:2161
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f114fd907fc
Code: 2a 5f 02 00 44 8b 4c 24 2c 4c 8b 44 24 20 89 c5 44 8b 54 24 28 48 8b 54 24 18 b8 2c 00 00 00 48 8b 74 24 10 8b 7c 24 08 0f 05 <48> 3d 00 f0 ff ff 77 34 89 ef 48 89 44 24 08 e8 70 5f 02 00 48 8b
RSP: 002b:00007ffe075e7390 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f1150ae4620 RCX: 00007f114fd907fc
RDX: 000000000000006c RSI: 00007f1150ae4670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffe075e73e4 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007f1150ae4670 R15: 0000000000000000
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/15 07:33 linux-6.1.y 02b72ccb5f9d d6b2ee52 .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.