rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P11/1:b..l P6682/1:b..l
rcu: (detected by 1, t=10502 jiffies, g=18157, q=475 ncpus=2)
task:syz-executor.2 state:R running task stack:24792 pid:6682 tgid:6679 ppid:5126 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5249 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6594
preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6916
irqentry_exit+0x5e/0x90 kernel/entry/common.c:354
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5820
Code: 2b 00 74 08 4c 89 f7 e8 6a 82 8a 00 f6 44 24 61 02 0f 85 85 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25
RSP: 0018:ffffc90004206e20 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff92000840dd0 RCX: 77e2566c798eca00
RDX: dffffc0000000000 RSI: ffffffff8bcada20 RDI: ffffffff8c206c80
RBP: ffffc90004206f68 R08: ffffffff92fe4747 R09: 1ffffffff25fc8e8
R10: dffffc0000000000 R11: fffffbfff25fc8e9 R12: 1ffff92000840dcc
R13: dffffc0000000000 R14: ffffc90004206e80 R15: 0000000000000246
rcu_lock_acquire include/linux/rcupdate.h:333 [inline]
rcu_read_lock include/linux/rcupdate.h:845 [inline]
is_bpf_text_address+0x46/0x2a0 kernel/bpf/core.c:768
kernel_text_address+0xa7/0xe0 kernel/extable.c:125
__kernel_text_address+0xd/0x40 kernel/extable.c:79
unwind_get_return_address+0x5d/0xc0 arch/x86/kernel/unwind_orc.c:369
arch_stack_walk+0x125/0x1b0 arch/x86/kernel/stacktrace.c:26
stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:47 [inline]
kasan_save_track+0x3f/0x80 mm/kasan/common.c:68
unpoison_slab_object mm/kasan/common.c:312 [inline]
__kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:338
kasan_slab_alloc include/linux/kasan.h:201 [inline]
slab_post_alloc_hook mm/slub.c:3975 [inline]
slab_alloc_node mm/slub.c:4037 [inline]
kmem_cache_alloc_noprof+0x135/0x2a0 mm/slub.c:4044
__kernfs_new_node+0xd8/0x870 fs/kernfs/dir.c:624
kernfs_new_node+0x137/0x240 fs/kernfs/dir.c:700
__kernfs_create_file+0x49/0x2e0 fs/kernfs/file.c:1034
sysfs_add_file_mode_ns+0x24a/0x310 fs/sysfs/file.c:307
create_files fs/sysfs/group.c:76 [inline]
internal_create_group+0x7a7/0x11d0 fs/sysfs/group.c:180
internal_create_groups fs/sysfs/group.c:220 [inline]
sysfs_create_groups+0x56/0x120 fs/sysfs/group.c:246
create_dir lib/kobject.c:78 [inline]
kobject_add_internal+0x472/0x8d0 lib/kobject.c:240
kobject_add_varg lib/kobject.c:374 [inline]
kobject_init_and_add+0x124/0x190 lib/kobject.c:457
ext4_register_sysfs+0xb6/0x2c0 fs/ext4/sysfs.c:567
__ext4_fill_super fs/ext4/super.c:5583 [inline]
ext4_fill_super+0x68e0/0x6df0 fs/ext4/super.c:5674
get_tree_bdev+0x3f7/0x570 fs/super.c:1624
vfs_get_tree+0x90/0x2a0 fs/super.c:1789
do_new_mount+0x2be/0xb40 fs/namespace.c:3379
do_mount fs/namespace.c:3719 [inline]
__do_sys_mount fs/namespace.c:3925 [inline]
__se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3902
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f861407e7aa
RSP: 002b:00007f8614db3ef8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f8614db3f80 RCX: 00007f861407e7aa
RDX: 0000000020000040 RSI: 0000000020000240 RDI: 00007f8614db3f40
RBP: 0000000020000040 R08: 00007f8614db3f80 R09: 0000000000000041
R10: 0000000000000041 R11: 0000000000000206 R12: 0000000020000240
R13: 00007f8614db3f40 R14: 0000000000000530 R15: 00000000200007c0
task:kworker/u8:0 state:R running task stack:23632 pid:11 tgid:11 ppid:2 flags:0x00004000
Workqueue: bat_events batadv_nc_worker
Call Trace:
context_switch kernel/sched/core.c:5249 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6594
preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6916
irqentry_exit+0x5e/0x90 kernel/entry/common.c:354
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5820
Code: 2b 00 74 08 4c 89 f7 e8 6a 82 8a 00 f6 44 24 61 02 0f 85 85 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25
RSP: 0018:ffffc900001079e0 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff92000020f48 RCX: 42243e51a891cb00
RDX: dffffc0000000000 RSI: ffffffff8bcada20 RDI: ffffffff8c206c80
RBP: ffffc90000107b40 R08: ffffffff92fe4747 R09: 1ffffffff25fc8e8
R10: dffffc0000000000 R11: fffffbfff25fc8e9 R12: 1ffff92000020f44
R13: dffffc0000000000 R14: ffffc90000107a40 R15: 0000000000000246
rcu_lock_acquire include/linux/rcupdate.h:333 [inline]
rcu_read_lock include/linux/rcupdate.h:845 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline]
batadv_nc_worker+0xec/0x610 net/batman-adv/network-coding.c:719
process_one_work kernel/workqueue.c:3224 [inline]
process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3305
worker_thread+0x86d/0xd50 kernel/workqueue.c:3385
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
rcu: rcu_preempt kthread starved for 10593 jiffies! g18157 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:26576 pid:17 tgid:17 ppid:2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5249 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6594
__schedule_loop kernel/sched/core.c:6671 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6686
schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581
rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2020
rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2222
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
rcu: Stack dump where RCU GP kthread last ran:
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 10 Comm: kworker/0:0H Not tainted 6.10.0-rc4-next-20240621-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
Workqueue: 0x0 (kblockd)
RIP: 0010:check_preemption_disabled+0x42/0x120 lib/smp_processor_id.c:55
Code: 08 65 8b 1d 0c 4f 76 74 65 8b 05 01 4f 76 74 a9 ff ff ff 7f 74 26 65 48 8b 04 25 28 00 00 00 48 3b 44 24 08 0f 85 ce 00 00 00 <89> d8 48 83 c4 10 5b 41 5c 41 5e 41 5f c3 cc cc cc cc 48 c7 04 24
RSP: 0018:ffffc900000077a8 EFLAGS: 00000046
RAX: dc148da8477e9b00 RBX: 0000000000000000 RCX: ffffc90000007803
RDX: 0000000000000003 RSI: ffffffff8bcada20 RDI: ffffffff8c206c80
RBP: ffffc90000007920 R08: ffffffff8faeddef R09: 1ffffffff1f5dbbd
R10: dffffc0000000000 R11: fffffbfff1f5dbbe R12: 1ffff92000000f08
R13: 0000000000000046 R14: ffffc90000007870 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f842eda5268 CR3: 000000002e06c000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lockdep_recursion_finish kernel/locking/lockdep.c:467 [inline]
lock_release+0x5c4/0x9f0 kernel/locking/lockdep.c:5838
do_write_seqcount_end include/linux/seqlock.h:515 [inline]
psi_group_change+0xace/0x12d0 kernel/sched/psi.c:864
psi_task_change+0xfd/0x280 kernel/sched/psi.c:912
psi_enqueue kernel/sched/stats.h:139 [inline]
enqueue_task+0x2aa/0x300 kernel/sched/core.c:1990
activate_task kernel/sched/core.c:2024 [inline]
ttwu_do_activate+0x1d1/0x7e0 kernel/sched/core.c:3608
ttwu_queue kernel/sched/core.c:3881 [inline]
try_to_wake_up+0x884/0x1470 kernel/sched/core.c:4202
signal_wake_up_state+0xb4/0x120 kernel/signal.c:773
signal_wake_up include/linux/sched/signal.h:448 [inline]
complete_signal+0x94a/0xcf0 kernel/signal.c:1065
__send_signal_locked+0xb1b/0xdc0 kernel/signal.c:1185
do_send_sig_info kernel/signal.c:1301 [inline]
group_send_sig_info+0x292/0x310 kernel/signal.c:1451
do_bpf_send_signal+0x85/0x190 kernel/trace/bpf_trace.c:838
irq_work_single+0xe2/0x240 kernel/irq_work.c:221
irq_work_run_list kernel/irq_work.c:252 [inline]
irq_work_run+0x18b/0x350 kernel/irq_work.c:261
__sysvec_irq_work+0xb8/0x430 arch/x86/kernel/irq_work.c:22
instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline]
sysvec_irq_work+0x9e/0xc0 arch/x86/kernel/irq_work.c:17
asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:738
RIP: 0010:finish_task_switch+0x1ea/0x870 kernel/sched/core.c:5123
Code: c9 50 e8 69 b8 0b 00 48 83 c4 08 4c 89 f7 e8 dd 38 00 00 0f 1f 44 00 00 4c 89 f7 e8 30 a6 34 0a e8 ab 84 37 00 fb 48 8b 5d c0 <48> 8d bb f8 15 00 00 48 89 f8 48 c1 e8 03 49 be 00 00 00 00 00 fc
RSP: 0018:ffffc900000f79c8 EFLAGS: 00000282
RAX: dc148da8477e9b00 RBX: ffff888017281e00 RCX: ffffffff947dc803
RDX: dffffc0000000000 RSI: ffffffff8bcac8a0 RDI: ffffffff8c206c80
RBP: ffffc900000f7a10 R08: ffffffff8faeddef R09: 1ffffffff1f5dbbd
R10: dffffc0000000000 R11: fffffbfff1f5dbbe R12: 1ffff11017287ec7
R13: dffffc0000000000 R14: ffff8880b943e8c0 R15: ffff8880b943f638
context_switch kernel/sched/core.c:5252 [inline]
__schedule+0x17f0/0x4a20 kernel/sched/core.c:6594
preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6916
irqentry_exit+0x5e/0x90 kernel/entry/common.c:354
asm_sysvec_call_function_single+0x1a/0x20 arch/x86/include/asm/idtentry.h:709
RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:206 [inline]
RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:238 [inline]
RIP: 0010:tif_need_resched include/linux/thread_info.h:184 [inline]
RIP: 0010:need_resched include/linux/sched.h:2068 [inline]
RIP: 0010:__schedule_loop kernel/sched/core.c:6673 [inline]
RIP: 0010:schedule+0x130/0x320 kernel/sched/core.c:6686
Code: 49 8b 3f 48 85 ff 74 0a be 01 00 00 00 e8 68 e0 f8 f8 48 c7 c7 a0 24 1f 8e 4c 89 f6 e8 d9 cf d8 f5 48 89 eb 48 c1 eb 03 eb 0a <48> f7 45 00 08 00 00 00 74 2c bf 01 00 00 00 e8 dc d9 cb f5 31 ff
RSP: 0018:ffffc900000f7d98 EFLAGS: 00000246
RAX: 0000000000000001 RBX: 1ffff11002e503c0 RCX: 0000000000000001
RDX: dffffc0000000000 RSI: ffffffff8bcac8a0 RDI: 0000000000000001
RBP: ffff888017281e00 R08: ffffffff8faeddef R09: 1ffffffff1f5dbbd
R10: dffffc0000000000 R11: fffffbfff1f5dbbe R12: dffffc0000000000
R13: ffff8880b943e460 R14: ffffffff8b96b390 R15: ffff888017283078
worker_thread+0xa2c/0xd50 kernel/workqueue.c:3400
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244