rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
(detected by 1, t=10502 jiffies, g=6697, q=51)
rcu: All QSes seen, last rcu_preempt kthread activity 10503 (4294954133-4294943630), jiffies_till_next_fqs=1, root ->qsmask 0x0
syz-executor.5 R running task 24952 8310 8309 0x0000400a
Call Trace:
sched_show_task+0x40f/0x560 kernel/sched/core.c:5954
print_other_cpu_stall kernel/rcu/tree_stall.h:410 [inline]
check_cpu_stall kernel/rcu/tree_stall.h:538 [inline]
rcu_pending kernel/rcu/tree.c:2827 [inline]
rcu_sched_clock_irq+0x1861/0x1ad0 kernel/rcu/tree.c:2271
update_process_times+0x12d/0x180 kernel/time/timer.c:1726
tick_sched_handle kernel/time/tick-sched.c:167 [inline]
tick_sched_timer+0x263/0x420 kernel/time/tick-sched.c:1310
__run_hrtimer kernel/time/hrtimer.c:1514 [inline]
__hrtimer_run_queues+0x403/0x840 kernel/time/hrtimer.c:1576
hrtimer_interrupt+0x38c/0xda0 kernel/time/hrtimer.c:1638
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1110 [inline]
smp_apic_timer_interrupt+0x109/0x280 arch/x86/kernel/apic/apic.c:1135
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829
RIP: 0010:__sanitizer_cov_trace_pc+0x48/0x50 kernel/kcov.c:112
Code: 80 13 00 00 83 fa 02 75 21 48 8b 91 88 13 00 00 48 8b 32 48 8d 7e 01 8b 89 84 13 00 00 48 39 cf 73 08 48 89 44 f2 08 48 89 3a 0f 1f 80 00 00 00 00 4c 8b 04 24 65 48 8b 04 25 c0 1d 02 00 65
RSP: 0018:ffffc900025e6a70 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13
RAX: ffffffff81487326 RBX: ffffea00028c1d00 RCX: ffff88809e5b25c0
RDX: 0000000000000000 RSI: 00000000fffffffc RDI: ffffea00028c1d00
RBP: ffffc900025e6a98 R08: dffffc0000000000 R09: fffffbfff120248a
R10: fffffbfff120248a R11: 0000000000000000 R12: ffff8880987bbda0
R13: dffffc0000000000 R14: 00000000fffffffc R15: ffff88809786d468
free_thread_stack+0x168/0x590 kernel/fork.c:280
release_task_stack kernel/fork.c:440 [inline]
put_task_stack+0xa3/0x130 kernel/fork.c:451
finish_task_switch+0x3f1/0x550 kernel/sched/core.c:3256
context_switch kernel/sched/core.c:3388 [inline]
__schedule+0x9a8/0xcc0 kernel/sched/core.c:4081
preempt_schedule_irq+0xc1/0x140 kernel/sched/core.c:4338
retint_kernel+0x1b/0x2b
RIP: 0010:__read_once_size include/linux/compiler.h:199 [inline]
RIP: 0010:update_stack_state+0x4a9/0x530 arch/x86/kernel/unwind_frame.c:248
Code: 7d c8 e8 ea da 7c 00 48 8b 5d c8 4c 8b 75 c0 eb 1d 4c 89 e8 48 c1 e8 03 80 3c 18 00 4c 8b 75 c0 74 08 4c 89 ef e8 c7 da 7c 00 <49> 8b 5d 00 49 83 c4 48 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00
RSP: 0018:ffffc900025e6cf0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff04
RAX: 1ffff920004bcf34 RBX: dffffc0000000000 RCX: 1ffff920004bcdca
RDX: ffffc900025e79a8 RSI: 1ffff920004bcdcc RDI: ffffc900025e6e50
RBP: ffffc900025e6d98 R08: ffffffff81659d9d R09: ffffc900025e6e50
R10: fffff520004bcdd6 R11: 0000000000000000 R12: ffffc900025e6e50
R13: ffffc900025e79a0 R14: ffffc900025e6e90 R15: 1ffff920004bcdd2
unwind_next_frame+0x3f1/0x7a0 arch/x86/kernel/unwind_frame.c:311
arch_stack_walk+0xb4/0xe0 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0xb6/0x150 kernel/stacktrace.c:123
save_stack mm/kasan/common.c:71 [inline]
set_track mm/kasan/common.c:79 [inline]
__kasan_kmalloc+0x11c/0x1b0 mm/kasan/common.c:512
kasan_slab_alloc+0xf/0x20 mm/kasan/common.c:520
slab_post_alloc_hook mm/slab.h:584 [inline]
slab_alloc mm/slab.c:3320 [inline]
kmem_cache_alloc+0x1f5/0x2e0 mm/slab.c:3484
kmem_cache_zalloc include/linux/slab.h:660 [inline]
__kernfs_new_node+0x97/0x680 fs/kernfs/dir.c:627
kernfs_new_node fs/kernfs/dir.c:689 [inline]
kernfs_create_dir_ns+0x9b/0x230 fs/kernfs/dir.c:1026
sysfs_create_dir_ns+0x10a/0x290 fs/sysfs/dir.c:59
create_dir lib/kobject.c:89 [inline]
kobject_add_internal+0x528/0xc20 lib/kobject.c:255
kobject_add_varg lib/kobject.c:390 [inline]
kobject_add+0xef/0x190 lib/kobject.c:442
kobject_create_and_add+0x18d/0x270 lib/kobject.c:800
batadv_sysfs_add_hardif+0x36/0x280 net/batman-adv/sysfs.c:1232
batadv_hardif_add_interface net/batman-adv/hard-interface.c:920 [inline]
batadv_hard_if_event+0x7be/0xf10 net/batman-adv/hard-interface.c:1034
notifier_call_chain kernel/notifier.c:95 [inline]
__raw_notifier_call_chain kernel/notifier.c:396 [inline]
raw_notifier_call_chain+0xec/0x190 kernel/notifier.c:403
call_netdevice_notifiers_info net/core/dev.c:1893 [inline]
call_netdevice_notifiers_extack net/core/dev.c:1905 [inline]
call_netdevice_notifiers net/core/dev.c:1919 [inline]
register_netdevice+0x1339/0x1830 net/core/dev.c:9344
nsim_create+0x1d4/0x230 drivers/net/netdevsim/netdev.c:309
__nsim_dev_port_add+0x289/0x4d0 drivers/net/netdevsim/dev.c:648
nsim_dev_port_add_all drivers/net/netdevsim/dev.c:697 [inline]
nsim_dev_probe+0xb55/0xef0 drivers/net/netdevsim/dev.c:818
nsim_bus_probe+0x15/0x20 drivers/net/netdevsim/bus.c:242
really_probe+0x71c/0xf40 drivers/base/dd.c:548
driver_probe_device+0xfc/0x260 drivers/base/dd.c:721
__device_attach_driver+0x336/0x3f0 drivers/base/dd.c:828
bus_for_each_drv+0x12b/0x180 drivers/base/bus.c:430
__device_attach+0x1ea/0x390 drivers/base/dd.c:894
device_initial_probe+0x1a/0x20 drivers/base/dd.c:941
bus_probe_device+0xb9/0x1f0 drivers/base/bus.c:490
device_add+0x1710/0x1ad0 drivers/base/core.c:2487
device_register+0x1d/0x20 drivers/base/core.c:2560
nsim_bus_dev_new drivers/net/netdevsim/bus.c:288 [inline]
new_device_store+0x286/0x510 drivers/net/netdevsim/bus.c:182
bus_attr_store+0x78/0x90 drivers/base/bus.c:121
sysfs_kf_write+0x281/0x2f0 fs/sysfs/file.c:138
kernfs_fop_write+0x3e4/0x4e0 fs/kernfs/file.c:315
__vfs_write+0xb8/0x740 fs/read_write.c:494
vfs_write+0x275/0x590 fs/read_write.c:558
ksys_write+0x117/0x220 fs/read_write.c:611
__do_sys_write fs/read_write.c:623 [inline]
__se_sys_write fs/read_write.c:620 [inline]
__x64_sys_write+0x7b/0x90 fs/read_write.c:620
do_syscall_64+0xf7/0x1c0 arch/x86/entry/common.c:294
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x414130
Code: b0 89 c8 f7 d8 eb ed b8 6e 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 83 3d 3d 43 66 00 00 75 14 b8 01 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 c4 1b 00 00 c3 48 83 ec 08 e8 ca fc ff ff
RSP: 002b:00007ffc1b443828 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000414130
RDX: 0000000000000003 RSI: 00007ffc1b443850 RDI: 0000000000000004
RBP: 00007ffc1b443850 R08: 0000000000000000 R09: 0000000000000003
R10: 0000000000000075 R11: 0000000000000246 R12: 00000000004bfc97
R13: 0000000000000004 R14: 0000000000000000 R15: 0000000000000000
rcu: rcu_preempt kthread starved for 10591 jiffies! g6697 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
rcu: RCU grace-period kthread stack dump:
rcu_preempt R running task 29032 10 2 0x80004000
Call Trace:
context_switch kernel/sched/core.c:3385 [inline]
__schedule+0x9a0/0xcc0 kernel/sched/core.c:4081
schedule+0x181/0x210 kernel/sched/core.c:4155
schedule_timeout+0x14f/0x240 kernel/time/timer.c:1895
rcu_gp_fqs_loop kernel/rcu/tree.c:1661 [inline]
rcu_gp_kthread+0xed8/0x1770 kernel/rcu/tree.c:1821
kthread+0x332/0x350 kernel/kthread.c:255
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352