rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5259/1:b..l P13992/1:b..l
rcu: (detected by 1, t=10502 jiffies, g=102153, q=152 ncpus=2)
task:syz-executor.4 state:R running task stack:24336 pid:13992 tgid:13992 ppid:13980 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5408 [inline]
__schedule+0xf15/0x5d00 kernel/sched/core.c:6745
preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7067
irqentry_exit+0x36/0x90 kernel/entry/common.c:354
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:kasan_check_range+0x12/0x1a0 mm/kasan/generic.c:188
Code: 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 48 85 f6 0f 84 50 01 00 00 48 89 f8 41 54 <44> 0f b6 c2 48 01 f0 55 53 0f 82 c6 00 00 00 48 b8 ff ff ff ff ff
RSP: 0018:ffffc9000330f058 EFLAGS: 00000202
RAX: ffffffff8fe3f790 RBX: 1ffff92000661e0f RCX: ffffffff816be30b
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8fe3f790
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: ffff88805f9adb0b R11: 0000000000000008 R12: 0000000000000000
R13: 0000000000000000 R14: ffffffff8dbb1760 R15: 0000000000000000
instrument_atomic_read include/linux/instrumented.h:68 [inline]
_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
cpumask_test_cpu include/linux/cpumask.h:545 [inline]
cpu_online include/linux/cpumask.h:1160 [inline]
trace_lock_acquire include/trace/events/lock.h:24 [inline]
lock_acquire+0xbb/0x560 kernel/locking/lockdep.c:5725
rcu_lock_acquire include/linux/rcupdate.h:329 [inline]
rcu_read_lock include/linux/rcupdate.h:781 [inline]
d_alloc_parallel+0x17b/0x12b0 fs/dcache.c:2470
__lookup_slow+0x194/0x460 fs/namei.c:1677
lookup_one_len+0x181/0x1b0 fs/namei.c:2764
start_creating.part.0+0x12f/0x3a0 fs/debugfs/inode.c:370
start_creating fs/debugfs/inode.c:343 [inline]
__debugfs_create_file+0xa5/0x620 fs/debugfs/inode.c:415
debugfs_create_mode_unsafe fs/debugfs/file.c:519 [inline]
debugfs_create_u32+0x70/0xa0 fs/debugfs/file.c:625
nsim_bpf_init+0x109/0x2e0 drivers/net/netdevsim/bpf.c:625
nsim_init_netdevsim drivers/net/netdevsim/netdev.c:682 [inline]
nsim_create+0x6f1/0xb20 drivers/net/netdevsim/netdev.c:749
__nsim_dev_port_add+0x42c/0x7d0 drivers/net/netdevsim/dev.c:1390
nsim_dev_port_add_all drivers/net/netdevsim/dev.c:1446 [inline]
nsim_drv_probe+0xdbf/0x1490 drivers/net/netdevsim/dev.c:1604
call_driver_probe drivers/base/dd.c:578 [inline]
really_probe+0x23e/0xa90 drivers/base/dd.c:656
__driver_probe_device+0x1de/0x440 drivers/base/dd.c:798
driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:828
__device_attach_driver+0x1df/0x310 drivers/base/dd.c:956
bus_for_each_drv+0x157/0x1e0 drivers/base/bus.c:457
__device_attach+0x1e8/0x4b0 drivers/base/dd.c:1028
bus_probe_device+0x17f/0x1c0 drivers/base/bus.c:532
device_add+0x1188/0x1ab0 drivers/base/core.c:3720
nsim_bus_dev_new drivers/net/netdevsim/bus.c:442 [inline]
new_device_store+0x41d/0x730 drivers/net/netdevsim/bus.c:173
bus_attr_store+0x76/0xa0 drivers/base/bus.c:170
sysfs_kf_write+0x117/0x170 fs/sysfs/file.c:136
kernfs_fop_write_iter+0x343/0x500 fs/kernfs/file.c:334
call_write_iter include/linux/fs.h:2120 [inline]
new_sync_write fs/read_write.c:497 [inline]
vfs_write+0x6b6/0x1120 fs/read_write.c:590
ksys_write+0x12f/0x260 fs/read_write.c:643
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc67d67bc2f
RSP: 002b:00007ffef0c1d000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fc67d67bc2f
RDX: 0000000000000003 RSI: 00007ffef0c1d050 RDI: 0000000000000005
RBP: 00007fc67d6c9067 R08: 0000000000000000 R09: 00007ffef0c1ce57
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 00007ffef0c1d050 R14: 00007fc67e2d4620 R15: 0000000000000003
task:kworker/u8:10 state:R running task stack:19224 pid:5259 tgid:5259 ppid:2 flags:0x00004000
Workqueue: bat_events batadv_nc_worker
Call Trace:
context_switch kernel/sched/core.c:5408 [inline]
__schedule+0xf15/0x5d00 kernel/sched/core.c:6745
preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7067
irqentry_exit+0x36/0x90 kernel/entry/common.c:354
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:409 [inline]
RIP: 0010:batadv_nc_worker+0x19a/0x10f0 net/batman-adv/network-coding.c:719
Code: 27 3b 00 31 ff 41 89 c7 89 c6 e8 c1 13 e2 f6 45 85 ff 58 0f 85 fa 0a 00 00 e8 d2 18 e2 f6 48 89 d8 48 c1 e8 03 42 80 3c 30 00 <0f> 85 47 0e 00 00 4c 8b 2b 4d 85 ed 0f 84 0a 07 00 00 e8 af 18 e2
RSP: 0018:ffffc9000328fb90 EFLAGS: 00000246
RAX: 1ffff1100c9daab6 RBX: ffff888064ed55b0 RCX: ffffffff8aabde59
RDX: ffff888021d01e00 RSI: ffffffff8aabd34e RDI: 0000000000000001
RBP: 00000000000002b6 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000002 R12: ffff888064cdbe80
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000001
process_one_work+0x9fb/0x1b60 kernel/workqueue.c:3231
process_scheduled_works kernel/workqueue.c:3312 [inline]
worker_thread+0x6c8/0xf70 kernel/workqueue.c:3393
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
rcu: rcu_preempt kthread starved for 10547 jiffies! g102153 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
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:27568 pid:17 tgid:17 ppid:2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5408 [inline]
__schedule+0xf15/0x5d00 kernel/sched/core.c:6745
__schedule_loop kernel/sched/core.c:6822 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6837
schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2581
rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2000
rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2202
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
rcu: Stack dump where RCU GP kthread last ran:
CPU: 1 PID: 14142 Comm: syz-executor.2 Not tainted 6.9.0-syzkaller-08995-g0450d2083be6 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:finish_task_switch.isra.0+0x220/0xcc0 kernel/sched/core.c:5282
Code: a9 0a 00 00 44 8b 0d d7 d3 85 0e 45 85 c9 0f 85 c0 01 00 00 48 89 df e8 ae f8 ff ff e8 d9 e5 36 00 fb 65 48 8b 1d e0 7f a5 7e <48> 8d bb f8 15 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1
RSP: 0018:ffffc900032df8f0 EFLAGS: 00000202
RAX: 00000000017cf9e5 RBX: ffff88806441bc00 RCX: 1ffffffff1fc76a1
RDX: 0000000000000000 RSI: ffffffff8b2caba0 RDI: ffffffff8b8f9300
RBP: ffffc900032df938 R08: 0000000000000001 R09: 0000000000000001
R10: ffffffff8fe3f797 R11: 0000000000000000 R12: ffff8880b933f7b8
R13: ffff888019f81e00 R14: 0000000000000000 R15: ffff8880b923ea40
FS: 00007f8d5a7bd6c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30848000 CR3: 0000000076780000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
context_switch kernel/sched/core.c:5411 [inline]
__schedule+0xf1d/0x5d00 kernel/sched/core.c:6745
__schedule_loop kernel/sched/core.c:6822 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6837
futex_wait_queue+0xfc/0x1f0 kernel/futex/waitwake.c:370
__futex_wait+0x291/0x3c0 kernel/futex/waitwake.c:669
futex_wait+0xe9/0x380 kernel/futex/waitwake.c:697
do_futex+0x22b/0x350 kernel/futex/syscalls.c:102
__do_sys_futex kernel/futex/syscalls.c:179 [inline]
__se_sys_futex kernel/futex/syscalls.c:160 [inline]
__x64_sys_futex+0x1e1/0x4c0 kernel/futex/syscalls.c:160
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8d5ac7cee9
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:00007f8d5a7bd178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: ffffffffffffffda RBX: 00007f8d5adac128 RCX: 00007f8d5ac7cee9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f8d5adac128
RBP: 00007f8d5adac120 R08: 00007f8d5a7bd6c0 R09: 00007f8d5a7bd6c0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f8d5adac12c
R13: 000000000000006e R14: 00007ffd17d05d10 R15: 00007ffd17d05df8