rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5089/1:b..l P23596/1:b..l
rcu: (detected by 1, t=10503 jiffies, g=168761, q=368 ncpus=2)
task:syz-executor.5 state:R running task stack:26352 pid:23596 tgid:23577 ppid:21898 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5408 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6745
preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6924
preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6948
preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12
unwind_next_frame+0x2124/0x2a00 arch/x86/kernel/unwind_orc.c:672
__unwind_start+0x641/0x7c0 arch/x86/kernel/unwind_orc.c:760
unwind_start arch/x86/include/asm/unwind.h:64 [inline]
arch_stack_walk+0x103/0x1b0 arch/x86/kernel/stacktrace.c:24
stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122
save_stack+0xfb/0x1f0 mm/page_owner.c:156
__reset_page_owner+0x75/0x3f0 mm/page_owner.c:297
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1088 [inline]
free_unref_page+0xd22/0xea0 mm/page_alloc.c:2583
discard_slab mm/slub.c:2527 [inline]
__put_partials+0xeb/0x130 mm/slub.c:2995
put_cpu_partial+0x17c/0x250 mm/slub.c:3070
__slab_free+0x2ea/0x3d0 mm/slub.c:4307
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x9e/0x140 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:322
kasan_slab_alloc include/linux/kasan.h:201 [inline]
slab_post_alloc_hook mm/slub.c:3941 [inline]
slab_alloc_node mm/slub.c:4001 [inline]
__do_kmalloc_node mm/slub.c:4121 [inline]
__kmalloc_noprof+0x1a3/0x400 mm/slub.c:4135
kmalloc_noprof include/linux/slab.h:664 [inline]
tomoyo_realpath_from_path+0xcf/0x5e0 security/tomoyo/realpath.c:251
tomoyo_get_realpath security/tomoyo/file.c:151 [inline]
tomoyo_path_number_perm+0x23a/0x880 security/tomoyo/file.c:723
security_file_ioctl+0x77/0xb0 security/security.c:2765
__do_sys_ioctl fs/ioctl.c:901 [inline]
__se_sys_ioctl+0x47/0x170 fs/ioctl.c:893
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:0x7fc2e247ce0b
RSP: 002b:00007fc2e31f30f0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fc2e247ce0b
RDX: 0000000000000000 RSI: 0000000000006364 RDI: 00000000000000da
RBP: 00007fc2e25b4120 R08: 0000000000000000 R09: 00007ffcfff25397
R10: 0000000000000008 R11: 0000000000000246 R12: ffffffffffffffb0
R13: 000000000000006e R14: 00007ffcfff252b0 R15: 00007ffcfff25398
task:syz-fuzzer state:R running task stack:21952 pid:5089 tgid:5086 ppid:5084 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5408 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6745
preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7067
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: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:2110 [inline]
RIP: 0010:preempt_schedule_common+0xa7/0xd0 kernel/sched/core.c:6932
Code: 00 00 e8 3c b0 ff ff 65 8b 05 0d b8 74 74 65 ff 0d 06 b8 74 74 65 48 8b 1c 25 c0 d4 03 00 48 89 d8 48 c1 e8 03 42 80 3c 38 00 <0f> 84 64 ff ff ff 48 89 df e8 db b5 6c f6 e9 57 ff ff ff 5b 41 5e
RSP: 0018:ffffc9000309f380 EFLAGS: 00000246
RAX: 1ffff110035753c0 RBX: ffff88801aba9e00 RCX: 1ffff92000613e4c
RDX: dffffc0000000000 RSI: ffffffff8bcabb80 RDI: ffff88801abab3f8
RBP: ffffc9000309f428 R08: ffffffff92fa75b7 R09: 1ffffffff25f4eb6
R10: dffffc0000000000 R11: fffffbfff25f4eb7 R12: 1ffff92000613e78
R13: dffffc0000000000 R14: ffffffff8b8f1c11 R15: dffffc0000000000
preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6948
preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12
__raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline]
_raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:186
spin_unlock include/linux/spinlock.h:391 [inline]
change_pte_range mm/mprotect.c:290 [inline]
change_pmd_range mm/mprotect.c:424 [inline]
change_pud_range mm/mprotect.c:457 [inline]
change_p4d_range mm/mprotect.c:480 [inline]
change_protection_range mm/mprotect.c:508 [inline]
change_protection+0x305b/0x3d40 mm/mprotect.c:542
change_prot_numa+0xd1/0x150 mm/mempolicy.c:678
task_numa_work+0xe8f/0x13f0 kernel/sched/fair.c:3375
task_work_run+0x251/0x310 kernel/task_work.c:180
get_signal+0x15e6/0x1740 kernel/signal.c:2681
arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310
exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218
do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x40720e
RSP: 002b:000000c000087748 EFLAGS: 00000246 ORIG_RAX: 0000000000000119
RAX: fffffffffffffffc RBX: 0000000000000004 RCX: 000000000040720e
RDX: 0000000000000080 RSI: 000000c000087818 RDI: 0000000000000004
RBP: 000000c000087790 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000123 R11: 0000000000000246 R12: 000000c000087820
R13: 10111efeff11efe1 R14: 000000c000007040 R15: 000000000000007e
rcu: rcu_preempt kthread starved for 10590 jiffies! g168761 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:25232 pid:17 tgid:17 ppid:2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5408 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6745
__schedule_loop kernel/sched/core.c:6822 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6837
schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581
rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2000
rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2202
kthread+0x2f2/0x390 kernel/kthread.c:389
ret_from_fork+0x4d/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:
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 23587 Comm: syz-executor.3 Not tainted 6.10.0-rc4-syzkaller-00301-g5f583a3162ff #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:debug_smp_processor_id+0x0/0x20 lib/smp_processor_id.c:59
Code: 20 3e 8e 48 89 de e8 9f a0 62 f9 e9 66 ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 48 c7 c7 20 eb 1f 8c 48 c7 c6 60 eb 1f 8c eb 1c 66 2e
RSP: 0018:ffffc90009557b38 EFLAGS: 00000083
RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff817265d4
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8fad4ce8
RBP: ffffc90009557ca8 R08: ffffffff8fad4cef R09: 1ffffffff1f5a99d
R10: dffffc0000000000 R11: fffffbfff1f5a99e R12: 1ffff920012aaf74
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff888041dada00
FS: 00007f4b6e1936c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f74753b4000 CR3: 0000000049d8a000 CR4: 0000000000350ef0
Call Trace:
rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline]
rcu_is_watching+0x15/0xb0 kernel/rcu/tree.c:724
trace_lock_acquire include/trace/events/lock.h:24 [inline]
lock_acquire+0xe3/0x550 kernel/locking/lockdep.c:5725
rcu_lock_acquire include/linux/rcupdate.h:329 [inline]
rcu_read_lock include/linux/rcupdate.h:781 [inline]
cgroup_freezing+0x3d/0x350 kernel/cgroup/legacy_freezer.c:71
freezing_slow_path+0xd0/0x180 kernel/freezer.c:46
freezing include/linux/freezer.h:37 [inline]
recalc_sigpending+0x1b7/0x1d0 kernel/signal.c:177
__set_task_blocked kernel/signal.c:3070 [inline]
__set_current_blocked+0x2ea/0x380 kernel/signal.c:3098
__do_sys_rt_sigreturn+0x170/0x270 arch/x86/kernel/signal_64.c:261
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:0x7f4b6d4404e9
Code: 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 90 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 c7 c0 0f 00 00 00 0f 05 <0f> 1f 80 00 00 00 00 48 81 ec 48 01 00 00 49 89 d0 64 48 8b 04 25
RSP: 002b:00007f4b6e192bc0 EFLAGS: 00000202 ORIG_RAX: 000000000000000f
RAX: ffffffffffffffda RBX: 00007f4b6d5b3f88 RCX: 00007f4b6d4404e9
RDX: 00007f4b6e192bc0 RSI: 00007f4b6e192cf0 RDI: 0000000000000021
RBP: 00007f4b6d5b3f80 R08: 00007f4b6e1936c0 R09: 00007f4b6e1936c0
R10: 0000000000000000 R11: 0000000000000202 R12: 00007f4b6d5b3f8c
R13: 000000000000000b R14: 00007ffce0325030 R15: 00007ffce0325118