rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (4 ticks this GP) idle=589c/1/0x4000000000000000 softirq=58091/58093 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P13036/1:b..l rcu: (detected by 1, t=10502 jiffies, g=91937, q=340 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 13040 Comm: syz-executor Not tainted 6.10.0-rc6-syzkaller-00048-g73e931504f8e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:kasan_check_range+0x1a/0x1a0 mm/kasan/generic.c:188 Code: 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 7f ff ff 48 39 f8 0f 83 RSP: 0018:ffffc90000007a70 EFLAGS: 00000082 RAX: ffffffff942672c8 RBX: 0000000000000001 RCX: ffffffff816ae74e RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff942672c0 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000014 R11: 0000000000000004 R12: 0000000000000002 R13: 0000000000000000 R14: ffff888065148b80 R15: 0000000000000001 FS: 0000555580033500(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000662d0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class+0x4e/0x130 kernel/locking/lockdep.c:228 check_wait_context kernel/locking/lockdep.c:4773 [inline] __lock_acquire+0x3f2/0x3b30 kernel/locking/lockdep.c:5087 lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5719 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162 debug_object_activate+0x199/0x540 lib/debugobjects.c:708 debug_hrtimer_activate kernel/time/hrtimer.c:423 [inline] debug_activate kernel/time/hrtimer.c:478 [inline] enqueue_hrtimer+0x25/0x3c0 kernel/time/hrtimer.c:1085 __run_hrtimer kernel/time/hrtimer.c:1706 [inline] __hrtimer_run_queues+0xaac/0xcc0 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x10f/0x450 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:26 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:write_comp_data+0x11/0x90 kernel/kcov.c:236 Code: cc cc 0f 1f 80 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 49 89 d2 49 89 f8 49 89 f1 65 48 8b 15 9f fb 75 7e <65> 8b 05 a0 fb 75 7e a9 00 01 ff 00 74 0f f6 c4 01 74 59 8b 82 1c RSP: 0018:ffffc900037bf5e0 EFLAGS: 00000206 RAX: 0000000000000000 RBX: 0000000000000003 RCX: ffffffff813ce727 RDX: ffff888065148000 RSI: 0000000000000004 RDI: 0000000000000001 RBP: ffffffff8b29ca80 R08: 0000000000000001 R09: 0000000000000004 R10: 0000000000000000 R11: 0000000000000003 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000003 R15: ffffc900037bf6ce __sanitizer_cov_trace_switch+0x54/0x90 kernel/kcov.c:341 unwind_next_frame+0x1027/0x23a0 arch/x86/kernel/unwind_orc.c:641 arch_stack_walk+0x100/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:370 [inline] __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:387 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slub.c:4123 [inline] __kmalloc_noprof+0x1ec/0x410 mm/slub.c:4136 kmalloc_noprof include/linux/slab.h:664 [inline] kzalloc_noprof include/linux/slab.h:778 [inline] tomoyo_encode2+0x100/0x3e0 security/tomoyo/realpath.c:45 tomoyo_encode+0x29/0x50 security/tomoyo/realpath.c:80 tomoyo_realpath_from_path+0x19d/0x720 security/tomoyo/realpath.c:283 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x273/0x450 security/tomoyo/file.c:822 tomoyo_path_symlink+0x98/0xe0 security/tomoyo/tomoyo.c:212 security_path_symlink+0x108/0x170 security/security.c:1876 do_symlinkat+0x10e/0x310 fs/namei.c:4519 __do_sys_symlinkat fs/namei.c:4537 [inline] __se_sys_symlinkat fs/namei.c:4534 [inline] __x64_sys_symlinkat+0x97/0xc0 fs/namei.c:4534 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4b907751b7 Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 0a 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff67361608 EFLAGS: 00000202 ORIG_RAX: 000000000000010a RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f4b907751b7 RDX: 00007f4b907e4a5c RSI: 00000000ffffff9c RDI: 00007fff673616c0 RBP: 0000000000000001 R08: 0000000000000013 R09: 00007fff67361357 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000032 R13: 0000000000001388 R14: 00007fff673616c0 R15: 00007fff673616c0 task:syz.4.2629 state:R running task stack:27872 pid:13036 tgid:13035 ppid:12563 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 preempt_schedule_notrace+0x62/0xe0 kernel/sched/core.c:7017 preempt_schedule_notrace_thunk+0x1a/0x30 arch/x86/entry/thunk.S:13 rcu_is_watching+0x8e/0xc0 kernel/rcu/tree.c:725 rcu_read_lock include/linux/rcupdate.h:782 [inline] percpu_ref_put_many include/linux/percpu-refcount.h:330 [inline] percpu_ref_put include/linux/percpu-refcount.h:351 [inline] obj_cgroup_put include/linux/memcontrol.h:822 [inline] obj_cgroup_put include/linux/memcontrol.h:819 [inline] __memcg_slab_free_hook+0x309/0x5a0 mm/memcontrol.c:3804 memcg_slab_free_hook mm/slub.c:2130 [inline] slab_free mm/slub.c:4435 [inline] kmem_cache_free+0x357/0x3a0 mm/slub.c:4513 anon_vma_chain_free mm/rmap.c:147 [inline] unlink_anon_vmas+0x173/0x820 mm/rmap.c:421 free_pgtables+0xbc/0x7e0 mm/memory.c:386 exit_mmap+0x3c9/0xb20 mm/mmap.c:3352 __mmput+0x12a/0x4d0 kernel/fork.c:1346 mmput+0x62/0x70 kernel/fork.c:1368 exit_mm kernel/exit.c:565 [inline] do_exit+0x9b7/0x2ba0 kernel/exit.c:861 do_group_exit+0xd3/0x2a0 kernel/exit.c:1023 get_signal+0x2616/0x2710 kernel/signal.c:2909 arch_do_signal_or_restart+0x90/0x7e0 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+0x14a/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ffa8f975b99 RSP: 002b:00007ffa907a90f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007ffa8fb03fa8 RCX: 00007ffa8f975b99 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007ffa8fb03fa8 RBP: 00007ffa8fb03fa0 R08: 00007ffa907a96c0 R09: 00007ffa907a96c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffa8fb03fac R13: 000000000000000b R14: 00007ffd9868a070 R15: 00007ffd9868a158 rcu: rcu_preempt kthread starved for 10502 jiffies! g91937 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:27680 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: 0 Comm: swapper/1 Not tainted 6.10.0-rc6-syzkaller-00048-g73e931504f8e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:native_irq_disable arch/x86/include/asm/irqflags.h:37 [inline] RIP: 0010:arch_local_irq_disable arch/x86/include/asm/irqflags.h:72 [inline] RIP: 0010:acpi_safe_halt+0x1a/0x20 drivers/acpi/processor_idle.c:113 Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 65 48 8b 05 88 63 1c 75 48 8b 00 a8 08 75 0c 66 90 0f 00 2d 58 be b3 00 fb f4 c3 cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc900001a7d58 EFLAGS: 00000246 RAX: 0000000000004000 RBX: 0000000000000001 RCX: ffffffff8ae75899 RDX: 0000000000000001 RSI: ffff888019aa5000 RDI: ffff888019aa5064 RBP: ffff888019aa5064 R08: 0000000000000001 R09: ffffed1017266fdd R10: ffff8880b9337eeb R11: 0000000000000000 R12: ffff88801c38a800 R13: ffffffff8e742500 R14: 0000000000000001 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020a4d030 CR3: 0000000023456000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: acpi_idle_enter+0xc5/0x160 drivers/acpi/processor_idle.c:707 cpuidle_enter_state+0x85/0x500 drivers/cpuidle/cpuidle.c:267 cpuidle_enter+0x4e/0xa0 drivers/cpuidle/cpuidle.c:388 cpuidle_idle_call kernel/sched/idle.c:236 [inline] do_idle+0x313/0x3f0 kernel/sched/idle.c:332 cpu_startup_entry+0x4f/0x60 kernel/sched/idle.c:430 start_secondary+0x220/0x2b0 arch/x86/kernel/smpboot.c:313 common_startup_64+0x13e/0x148