rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (3 ticks this GP) idle=26bc/1/0x4000000000000000 softirq=12319/12321 fqs=2 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P6531/1:b..l rcu: (detected by 0, t=10505 jiffies, g=16093, q=276 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 6525 Comm: syz-executor.3 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:kasan_check_range+0x1b8/0x290 mm/kasan/generic.c:189 Code: 4d 01 fb 48 8d 5d 07 48 85 ed 48 0f 49 dd 48 83 e3 f8 48 29 dd 74 12 41 80 3b 00 0f 85 a6 00 00 00 49 ff c3 48 ff cd 75 ee 5b <41> 5c 41 5e 41 5f 5d c3 cc cc cc cc 40 84 ed 75 5f f7 c5 00 ff 00 RSP: 0018:ffffc90000a088e8 EFLAGS: 00000056 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff8171a4ba RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff92cae500 RBP: 0000000000000000 R08: ffffffff92cae507 R09: 1ffffffff2595ca0 R10: dffffc0000000000 R11: fffffbfff2595ca1 R12: 0000000000000001 R13: ffff888021ae9e00 R14: dffffc0000000001 R15: fffffbfff2595ca1 FS: 0000555586b82480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000283 CR3: 000000004ab2e000 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 kernel/locking/lockdep.c:228 [inline] check_wait_context kernel/locking/lockdep.c:4774 [inline] __lock_acquire+0x5ca/0x1fd0 kernel/locking/lockdep.c:5087 lock_acquire+0x1e4/0x530 kernel/locking/lockdep.c:5754 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 debug_object_activate+0x16d/0x510 lib/debugobjects.c:708 debug_hrtimer_activate kernel/time/hrtimer.c:423 [inline] debug_activate kernel/time/hrtimer.c:478 [inline] enqueue_hrtimer+0x30/0x3a0 kernel/time/hrtimer.c:1090 __run_hrtimer kernel/time/hrtimer.c:1709 [inline] __hrtimer_run_queues+0x6b5/0xd00 kernel/time/hrtimer.c:1756 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1818 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x107/0x3a0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202 Code: 90 f3 0f 1e fa 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 da 67 fb f5 48 89 df e8 92 a7 fc f5 e8 fd cc 25 f6 fb bf 01 00 00 00 22 94 ee f5 65 8b 05 33 79 8d 74 85 c0 74 06 5b c3 cc cc cc cc RSP: 0018:ffffc90009defb70 EFLAGS: 00000282 RAX: c3fa58f643ae7c00 RBX: ffff88807b509bc0 RCX: ffffffff944a6603 RDX: dffffc0000000000 RSI: ffffffff8baac1e0 RDI: 0000000000000001 RBP: ffffc90009defc50 R08: ffffffff8f860def R09: 1ffffffff1f0c1bd R10: dffffc0000000000 R11: fffffbfff1f0c1be R12: 1ffff1100435d4e3 R13: ffff888021aea710 R14: 0000000100000000 R15: ffff888021ae9e00 spin_unlock_irq include/linux/spinlock.h:401 [inline] __set_current_blocked+0x310/0x380 kernel/signal.c:3097 set_current_blocked kernel/signal.c:3081 [inline] signal_delivered kernel/signal.c:2943 [inline] signal_setup_done+0x39e/0x600 kernel/signal.c:2955 handle_signal arch/x86/kernel/signal.c:285 [inline] arch_do_signal_or_restart+0x51f/0x860 arch/x86/kernel/signal.c:312 exit_to_user_mode_loop kernel/entry/common.c:105 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:201 [inline] syscall_exit_to_user_mode+0xc9/0x360 kernel/entry/common.c:212 do_syscall_64+0x10a/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f430b4a55f0 Code: 83 c0 16 83 e0 f7 74 12 50 48 8d 3d 3a 9a 04 00 e8 45 78 fa ff 0f 1f 44 00 00 c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 <83> ff 21 74 0b c3 66 2e 0f 1f 84 00 00 00 00 00 55 53 48 89 f3 48 RSP: 002b:00007fff382a4b38 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 00000000000218c6 RCX: 00007f430b47de69 RDX: 00007fff382a4b40 RSI: 00007fff382a4c70 RDI: 0000000000000021 RBP: 0000000000000032 R08: 00007f430b5abf8c R09: 00007f430b5abf8c R10: 00007fff382a5200 R11: 0000000000000246 R12: 00007f430b5abf8c R13: 00000000000218f8 R14: 00007fff382a5220 R15: 00007fff382a5200 task:syz-executor.0 state:R running task stack:24632 pid:6531 tgid:6531 ppid:5068 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1781/0x49d0 kernel/sched/core.c:6736 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7058 irqentry_exit+0x5e/0x90 kernel/entry/common.c:348 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:kasan_check_range+0x5/0x290 mm/kasan/generic.c:188 Code: 8d e8 4f fb e5 ff 90 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 55 <41> 57 41 56 41 54 53 b0 01 48 85 f6 0f 84 a0 01 00 00 4c 8d 04 37 RSP: 0018:ffffc90009e0f920 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8200a2fe RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88801640ba3c RBP: ffff88801640ba3c R08: ffffffff8200a2e5 R09: 1ffff11002c81747 R10: dffffc0000000000 R11: ffffed1002c81748 R12: 0000000000000000 R13: 1ffffffff28a2310 R14: 0000000000000000 R15: ffff88801640b9f0 instrument_atomic_read include/linux/instrumented.h:68 [inline] atomic_read include/linux/atomic/atomic-instrumented.h:32 [inline] __page_table_check_zero+0x1fe/0x4a0 mm/page_table_check.c:146 page_table_check_free include/linux/page_table_check.h:41 [inline] free_pages_prepare mm/page_alloc.c:1141 [inline] free_unref_page_prepare+0x971/0xa80 mm/page_alloc.c:2346 free_unref_page+0x37/0x3f0 mm/page_alloc.c:2486 tlb_batch_list_free mm/mmu_gather.c:114 [inline] tlb_finish_mmu+0x11f/0x200 mm/mmu_gather.c:395 exit_mmap+0x4b6/0xd40 mm/mmap.c:3300 __mmput+0x115/0x3c0 kernel/fork.c:1345 exit_mm+0x220/0x310 kernel/exit.c:569 do_exit+0x99e/0x27e0 kernel/exit.c:865 do_group_exit+0x207/0x2c0 kernel/exit.c:1027 __do_sys_exit_group kernel/exit.c:1038 [inline] __se_sys_exit_group kernel/exit.c:1036 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1036 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f94f227de69 RSP: 002b:00007ffd0b8a4388 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 00007f94f227de69 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000a83 R09: 0000000000000000 R10: 0000001b30420000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001 rcu: rcu_preempt kthread starved for 10495 jiffies! g16093 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:26256 pid:16 tgid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1781/0x49d0 kernel/sched/core.c:6736 __schedule_loop kernel/sched/core.c:6813 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6828 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2572 rcu_gp_fqs_loop+0x2df/0x1370 kernel/rcu/tree.c:1663 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1862 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 782 Comm: kworker/0:2 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: events pcpu_balance_workfn RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x1850/0x2960 kernel/smp.c:855 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 d9 d5 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 84 d1 0b 00 eb 38 f3 90 <42> 0f b6 04 23 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 68 d1 RSP: 0018:ffffc90003f8f920 EFLAGS: 00000293 RAX: ffffffff818922e8 RBX: 1ffff110172a8801 RCX: ffff88801f971e00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90003f8fb08 R08: ffffffff818922b7 R09: 1ffffffff2595ca0 R10: dffffc0000000000 R11: fffffbfff2595ca1 R12: dffffc0000000000 R13: ffff8880b9544008 R14: ffff8880b943f440 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f96a1f7abf8 CR3: 00000000673fc000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 pcpu_post_unmap_tlb_flush mm/percpu-vm.c:188 [inline] pcpu_reclaim_populated mm/percpu.c:2201 [inline] pcpu_balance_workfn+0x4d7/0xd40 mm/percpu.c:2237 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0xa00/0x1770 kernel/workqueue.c:3335 worker_thread+0x86d/0xd70 kernel/workqueue.c:3416 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243