rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-....: (1 GPs behind) idle=783/1/0x4000000000000000 softirq=17446/17447 fqs=2805 (detected by 0, t=10502 jiffies, g=20465, q=934) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5993 Comm: syz.2.575 Not tainted 5.15.164-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:kasan_mem_to_shadow include/linux/kasan.h:55 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x33/0x290 mm/kasan/generic.c:189 Code: 85 f6 0f 84 9a 01 00 00 48 89 fd 48 01 f5 0f 82 59 02 00 00 48 89 fd 48 c1 ed 2f 81 fd ff ff 01 00 0f 82 46 02 00 00 48 89 fb <48> c1 eb 03 49 b8 00 00 00 00 00 fc ff df 4e 8d 0c 03 4c 8d 54 37 RSP: 0018:ffffc90000dd06f0 EFLAGS: 00000046 RAX: 0000000000000001 RBX: ffffffff8fc700c0 RCX: ffffffff816319d8 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8fc700c0 RBP: 000000000001ffff R08: dffffc0000000000 R09: fffffbfff1f8e019 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000003 R13: dffffc0000000000 R14: 0000000000000100 R15: ffff888021ee8b68 FS: 00007fed168bb6c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4eb0e419c8 CR3: 0000000073fe4000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] hlock_class kernel/locking/lockdep.c:197 [inline] mark_lock+0x98/0x340 kernel/locking/lockdep.c:4569 mark_usage kernel/locking/lockdep.c:4512 [inline] __lock_acquire+0xc97/0x1ff0 kernel/locking/lockdep.c:4966 lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623 __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:748 debug_hrtimer_deactivate kernel/time/hrtimer.c:425 [inline] debug_deactivate+0x1b/0x1e0 kernel/time/hrtimer.c:481 __run_hrtimer kernel/time/hrtimer.c:1654 [inline] __hrtimer_run_queues+0x31d/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:ffs arch/x86/include/asm/bitops.h:297 [inline] RIP: 0010:handle_softirqs+0x1d6/0x930 kernel/softirq.c:546 Code: 24 78 4c 89 7c 24 70 0f b7 db 48 c7 c7 e0 10 8a 8a e8 8e 9e e5 08 65 66 c7 05 44 15 b6 7e 00 00 e8 0f 5e 39 00 fb 89 5c 24 34 ff ff ff ff 0f bc 44 24 34 41 89 c6 41 ff c6 0f 85 f3 00 00 00 RSP: 0018:ffffc90000dd0e20 EFLAGS: 00000282 RAX: 0e8ef875af671500 RBX: 0000000000000386 RCX: ffffffff816319d8 RDX: dffffc0000000000 RSI: ffffffff8a8b2a00 RDI: ffffffff8ad8f800 RBP: ffffc90000dd0f30 R08: dffffc0000000000 R09: fffffbfff1f8e02a R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888021ee8000 R13: 1ffff920001ba1e8 R14: dffffc0000000000 R15: 1ffff920001ba1d8 __do_softirq kernel/softirq.c:592 [inline] invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:641 irq_exit_rcu+0x5/0x20 kernel/softirq.c:653 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:get_page_from_freelist+0x149/0x33c0 mm/page_alloc.c:4049 Code: 48 89 84 24 c8 00 00 00 49 83 c0 08 4c 89 44 24 50 44 89 e8 25 ff fe ff ff 89 84 24 a0 00 00 00 89 f0 48 89 84 24 b0 00 00 00 <48> 6b c0 68 48 8d 88 70 01 00 00 48 89 8c 24 80 01 00 00 48 8d 88 RSP: 0018:ffffc90003217100 EFLAGS: 00000206 RAX: 0000000000000000 RBX: ffffc90003217440 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffffc900032173b0 R08: ffffc90003217428 R09: ffffed10043dd264 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000981 R13: 0000000000000981 R14: 1ffff92000642e82 R15: 1ffff92000642e7c __alloc_pages+0x272/0x700 mm/page_alloc.c:5423 alloc_pages_vma+0x39a/0x800 mm/mempolicy.c:2146 shmem_alloc_page mm/shmem.c:1586 [inline] shmem_alloc_and_acct_page+0x4d1/0xd10 mm/shmem.c:1611 shmem_getpage_gfp+0x17b1/0x3190 mm/shmem.c:1906 shmem_getpage mm/shmem.c:151 [inline] shmem_write_begin+0xce/0x1a0 mm/shmem.c:2477 generic_perform_write+0x2bf/0x5b0 mm/filemap.c:3785 __generic_file_write_iter+0x243/0x4f0 mm/filemap.c:3912 generic_file_write_iter+0xa7/0x1b0 mm/filemap.c:3944 call_write_iter include/linux/fs.h:2172 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0xacd/0xe50 fs/read_write.c:594 ksys_write+0x1a2/0x2c0 fs/read_write.c:647 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fed1843d4df Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 c9 8c 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 1c 8d 02 00 48 RSP: 002b:00007fed168bad40 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000400000 RCX: 00007fed1843d4df RDX: 0000000000400000 RSI: 00007fed0e49b000 RDI: 0000000000000004 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000001060 R10: 000000000000006c R11: 0000000000000293 R12: 0000000000000004 R13: 00007fed168badec R14: 00007fed168badf0 R15: 00007fed0e49b000