[v6.1] INFO: rcu detected stall in devlink_nl_cmd_port_get_dumpit

0 views
Skip to first unread message

syzbot

unread,
Mar 26, 2023, 6:35:41 AM3/26/23
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: e3a87a10f259 Linux 6.1.21
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1756331ec80000
kernel config: https://syzkaller.appspot.com/x/.config?x=390800ef8aeebc47
dashboard link: https://syzkaller.appspot.com/bug?extid=1fc0d49addd928872d8d
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2
userspace arch: arm64
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1037a139c80000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/9f5022ccd560/disk-e3a87a10.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/f8524664c631/vmlinux-e3a87a10.xz
kernel image: https://storage.googleapis.com/syzbot-assets/ad699b30c2c4/Image-e3a87a10.gz.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+1fc0d4...@syzkaller.appspotmail.com

rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P13246
(detected by 0, t=10502 jiffies, g=66141, q=2067 ncpus=2)
task:syz-executor.1 state:R running task stack:0 pid:13246 ppid:1 flags:0x00000009
Call trace:
dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158
show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165
sched_show_task+0x438/0x570 kernel/sched/core.c:8927
rcu_print_detail_task_stall_rnp kernel/rcu/tree_stall.h:255 [inline]
print_other_cpu_stall kernel/rcu/tree_stall.h:599 [inline]
check_cpu_stall kernel/rcu/tree_stall.h:761 [inline]
rcu_pending kernel/rcu/tree.c:3825 [inline]
rcu_sched_clock_irq+0x3efc/0x4b30 kernel/rcu/tree.c:2347
update_process_times+0x15c/0x1f4 kernel/time/timer.c:1839
tick_sched_handle kernel/time/tick-sched.c:243 [inline]
tick_sched_timer+0x340/0x4f8 kernel/time/tick-sched.c:1480
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x484/0xdc0 kernel/time/hrtimer.c:1749
hrtimer_interrupt+0x2c0/0xb64 kernel/time/hrtimer.c:1811
timer_handler drivers/clocksource/arm_arch_timer.c:655 [inline]
arch_timer_handler_virt+0x74/0x88 drivers/clocksource/arm_arch_timer.c:666
handle_percpu_devid_irq+0x174/0x354 kernel/irq/chip.c:930
generic_handle_irq_desc include/linux/irqdesc.h:158 [inline]
handle_irq_desc kernel/irq/irqdesc.c:651 [inline]
generic_handle_domain_irq+0x7c/0xc4 kernel/irq/irqdesc.c:707
__gic_handle_irq drivers/irqchip/irq-gic-v3.c:695 [inline]
__gic_handle_irq_from_irqson drivers/irqchip/irq-gic-v3.c:746 [inline]
gic_handle_irq+0x70/0x1e4 drivers/irqchip/irq-gic-v3.c:790
call_on_irq_stack+0x2c/0x54 arch/arm64/kernel/entry.S:889
do_interrupt_handler+0xd4/0x138 arch/arm64/kernel/entry-common.c:274
__el1_irq arch/arm64/kernel/entry-common.c:471 [inline]
el1_interrupt+0x34/0x68 arch/arm64/kernel/entry-common.c:486
el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:491
el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:577
rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:121 [inline]
rcu_is_watching+0x88/0x18c kernel/rcu/tree.c:719
trace_lock_release include/trace/events/lock.h:69 [inline]
lock_release+0x108/0xa50 kernel/locking/lockdep.c:5680
rcu_lock_release+0x2c/0x38 include/linux/rcupdate.h:311
xa_get_mark+0x4d4/0x550
devlinks_xa_find_get+0x124/0x2dc net/core/devlink.c:308
devlinks_xa_find_get_first net/core/devlink.c:328 [inline]
devlink_nl_cmd_port_get_dumpit+0x108/0x504 net/core/devlink.c:1556
netlink_dump+0x46c/0xa78 net/netlink/af_netlink.c:2285
netlink_recvmsg+0x51c/0xde4 net/netlink/af_netlink.c:2012
sock_recvmsg_nosec net/socket.c:1000 [inline]
sock_recvmsg net/socket.c:1018 [inline]
__sys_recvfrom+0x2fc/0x44c net/socket.c:2169
__do_sys_recvfrom net/socket.c:2187 [inline]
__se_sys_recvfrom net/socket.c:2183 [inline]
__arm64_sys_recvfrom+0xd8/0xf8 net/socket.c:2183
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206
el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches
Reply all
Reply to author
Forward
0 new messages