rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (0 ticks this GP) idle=037c/1/0x4000000000000000 softirq=43727/43727 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P12708/1:b..l (detected by 1, t=10506 jiffies, g=67397, q=29 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 12674 Comm: syz-executor.0 Not tainted 6.1.92-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:kasan_check_range+0x1ac/0x290 mm/kasan/generic.c:189 Code: 4c 89 d5 48 8d 5d 07 48 85 ed 48 0f 49 dd 48 83 e3 f8 48 29 dd 74 12 41 80 39 00 0f 85 a2 00 00 00 49 ff c1 48 ff cd 75 ee 5b <41> 5e 41 5f 5d c3 45 84 f6 75 61 41 f7 c6 00 ff 00 00 75 5d 41 f7 RSP: 0018:ffffc900000079e0 EFLAGS: 00000056 RAX: 0000000000000001 RBX: 000000000000005e RCX: ffffffff816a7757 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff9049c228 RBP: 0000000000000001 R08: dffffc0000000000 R09: fffffbfff2093846 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888075f4c658 R13: ffff888075f4bb80 R14: fffffbfff2093846 R15: 1ffff1100ebe98df FS: 00007f57c71956c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007feb7cc0bd58 CR3: 000000005b368000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:72 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class kernel/locking/lockdep.c:228 [inline] __lock_acquire+0xf77/0x1f80 kernel/locking/lockdep.c:5045 lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 debug_object_deactivate+0x63/0x380 lib/debugobjects.c:752 debug_hrtimer_deactivate kernel/time/hrtimer.c:425 [inline] debug_deactivate+0x1d/0x280 kernel/time/hrtimer.c:481 __run_hrtimer kernel/time/hrtimer.c:1654 [inline] __hrtimer_run_queues+0x334/0xe50 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:clear_page_erms+0x7/0x10 arch/x86/lib/clear_page_64.S:50 Code: 48 89 47 18 48 89 47 20 48 89 47 28 48 89 47 30 48 89 47 38 48 8d 7f 40 75 d9 90 c3 0f 1f 80 00 00 00 00 b9 00 10 00 00 31 c0 aa c3 66 0f 1f 44 00 00 89 c8 48 c1 e9 03 74 18 0f 1f 84 00 00 RSP: 0018:ffffc9001149f100 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000e40 RDX: ffff888056d9d000 RSI: 0000000000000001 RDI: ffff888056d9d1c0 RBP: 0000000000000001 R08: dffffc0000000000 R09: ffffed100adb3a00 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: 0000000000000000 R14: ffffea00015b6740 R15: 0000000000140cca clear_page arch/x86/include/asm/page_64.h:57 [inline] clear_highpage include/linux/highmem.h:242 [inline] clear_highpage_kasan_tagged include/linux/highmem.h:252 [inline] kernel_init_pages mm/page_alloc.c:1377 [inline] post_alloc_hook+0x145/0x1b0 mm/page_alloc.c:2508 prep_new_page mm/page_alloc.c:2520 [inline] get_page_from_freelist+0x31a1/0x3320 mm/page_alloc.c:4279 __alloc_pages+0x28d/0x770 mm/page_alloc.c:5547 __folio_alloc+0xf/0x30 mm/page_alloc.c:5579 vma_alloc_folio+0x486/0x990 mm/mempolicy.c:2243 shmem_alloc_folio mm/shmem.c:1589 [inline] shmem_alloc_and_acct_folio+0x5a8/0xd50 mm/shmem.c:1613 shmem_get_folio_gfp+0x13f0/0x3470 mm/shmem.c:1941 shmem_get_folio mm/shmem.c:2072 [inline] shmem_write_begin+0x16e/0x4e0 mm/shmem.c:2559 generic_perform_write+0x2fc/0x5e0 mm/filemap.c:3817 __generic_file_write_iter+0x176/0x400 mm/filemap.c:3945 generic_file_write_iter+0xab/0x310 mm/filemap.c:3977 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x7ae/0xba0 fs/read_write.c:584 ksys_write+0x19c/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f57c647bc2f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 b9 80 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 0c 81 02 00 48 RSP: 002b:00007f57c7194e80 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000001000000 RCX: 00007f57c647bc2f RDX: 0000000001000000 RSI: 00007f57bcbf7000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000005e27 R10: 0000000000000774 R11: 0000000000000293 R12: 0000000000000003 R13: 00007f57c7194f80 R14: 00007f57c7194f40 R15: 00007f57bcbf7000 task:syz-executor.2 state:R running task stack:26152 pid:12708 ppid:7189 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 preempt_schedule_notrace+0xf8/0x140 kernel/sched/core.c:6820 preempt_schedule_notrace_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:35 rcu_lockdep_current_cpu_online+0xfe/0x120 kernel/rcu/tree.c:778 rcu_read_lock_held_common kernel/rcu/update.c:112 [inline] rcu_read_lock_held+0x1a/0x40 kernel/rcu/update.c:309 count_memcg_event_mm+0x16a/0x410 include/linux/memcontrol.h:1096 handle_mm_fault+0x15b/0x5340 mm/memory.c:5254 do_user_addr_fault arch/x86/mm/fault.c:1371 [inline] handle_page_fault arch/x86/mm/fault.c:1462 [inline] exc_page_fault+0x26f/0x660 arch/x86/mm/fault.c:1518 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x7fd2a62287f6 RSP: 002b:00007fd2a6fbb530 EFLAGS: 00010206 RAX: 0000000000bab001 RBX: 00007fd2a6fbb5d0 RCX: 00000000000000cc RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00007fd2a6fbb670 RBP: 0000000000000102 R08: 00007fd29c9f7000 R09: 0000000000bab000 R10: 0000000000000000 R11: 00007fd2a6fbb5e0 R12: 0000000000000001 R13: 00007fd2a62ebfc0 R14: 0000000000000000 R15: 00007fd2a6fbb670 rcu: rcu_preempt kthread timer wakeup didn't happen for 10505 jiffies! g67397 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=32693 rcu: rcu_preempt kthread starved for 10506 jiffies! g67397 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:27032 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 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: 12674 Comm: syz-executor.0 Not tainted 6.1.92-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:hlock_class kernel/locking/lockdep.c:223 [inline] RIP: 0010:__lock_acquire+0xf4e/0x1f80 kernel/locking/lockdep.c:5045 Code: 8b 6c 24 48 0f 85 1a 03 00 00 48 83 7c 24 40 00 0f 84 63 02 00 00 48 8b 44 24 20 48 8d 58 f8 48 89 d8 48 c1 e8 03 0f b6 04 38 <84> c0 0f 85 d9 0d 00 00 8b 1b 81 e3 ff 1f 00 00 48 89 d8 48 c1 e8 RSP: 0018:ffffc900000079e0 EFLAGS: 00000802 RAX: 0000000000000000 RBX: ffff888075f4c6d0 RCX: 000000002f9522f1 RDX: 00000000762add5d RSI: 00000000f8b7e1cf RDI: dffffc0000000000 RBP: cf82e703b144b952 R08: dffffc0000000000 R09: fffffbfff2093845 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888075f4c658 R13: ffff888075f4bb80 R14: 0000000000000000 R15: 1ffff1100ebe98df FS: 00007f57c71956c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007feb7cc0bd58 CR3: 000000005b368000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 debug_object_activate+0x68/0x4e0 lib/debugobjects.c:697 debug_hrtimer_activate kernel/time/hrtimer.c:420 [inline] debug_activate kernel/time/hrtimer.c:475 [inline] enqueue_hrtimer+0x30/0x410 kernel/time/hrtimer.c:1084 __run_hrtimer kernel/time/hrtimer.c:1703 [inline] __hrtimer_run_queues+0x728/0xe50 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:clear_page_erms+0x7/0x10 arch/x86/lib/clear_page_64.S:50 Code: 48 89 47 18 48 89 47 20 48 89 47 28 48 89 47 30 48 89 47 38 48 8d 7f 40 75 d9 90 c3 0f 1f 80 00 00 00 00 b9 00 10 00 00 31 c0 aa c3 66 0f 1f 44 00 00 89 c8 48 c1 e9 03 74 18 0f 1f 84 00 00 RSP: 0018:ffffc9001149f100 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000e40 RDX: ffff888056d9d000 RSI: 0000000000000001 RDI: ffff888056d9d1c0 RBP: 0000000000000001 R08: dffffc0000000000 R09: ffffed100adb3a00 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: 0000000000000000 R14: ffffea00015b6740 R15: 0000000000140cca clear_page arch/x86/include/asm/page_64.h:57 [inline] clear_highpage include/linux/highmem.h:242 [inline] clear_highpage_kasan_tagged include/linux/highmem.h:252 [inline] kernel_init_pages mm/page_alloc.c:1377 [inline] post_alloc_hook+0x145/0x1b0 mm/page_alloc.c:2508 prep_new_page mm/page_alloc.c:2520 [inline] get_page_from_freelist+0x31a1/0x3320 mm/page_alloc.c:4279 __alloc_pages+0x28d/0x770 mm/page_alloc.c:5547 __folio_alloc+0xf/0x30 mm/page_alloc.c:5579 vma_alloc_folio+0x486/0x990 mm/mempolicy.c:2243 shmem_alloc_folio mm/shmem.c:1589 [inline] shmem_alloc_and_acct_folio+0x5a8/0xd50 mm/shmem.c:1613 shmem_get_folio_gfp+0x13f0/0x3470 mm/shmem.c:1941 shmem_get_folio mm/shmem.c:2072 [inline] shmem_write_begin+0x16e/0x4e0 mm/shmem.c:2559 generic_perform_write+0x2fc/0x5e0 mm/filemap.c:3817 __generic_file_write_iter+0x176/0x400 mm/filemap.c:3945 generic_file_write_iter+0xab/0x310 mm/filemap.c:3977 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x7ae/0xba0 fs/read_write.c:584 ksys_write+0x19c/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f57c647bc2f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 b9 80 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 0c 81 02 00 48 RSP: 002b:00007f57c7194e80 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000001000000 RCX: 00007f57c647bc2f RDX: 0000000001000000 RSI: 00007f57bcbf7000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000005e27 R10: 0000000000000774 R11: 0000000000000293 R12: 0000000000000003 R13: 00007f57c7194f80 R14: 00007f57c7194f40 R15: 00007f57bcbf7000