rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (0 ticks this GP) idle=45e4/1/0x4000000000000000 softirq=77130/77130 fqs=1 rcu: (detected by 1, t=10502 jiffies, g=84277, q=373 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 22669 Comm: syz.2.4211 Not tainted 6.12.0-rc3-syzkaller-00183-g6efbea77b390 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:mark_usage kernel/locking/lockdep.c:4599 [inline] RIP: 0010:__lock_acquire+0x79f/0x3ce0 kernel/locking/lockdep.c:5156 Code: ff ff 4c 8b 6c 24 58 0f b6 5c 24 60 8b 6c 24 68 41 38 de 73 0d e8 51 69 22 03 85 c0 0f 85 c7 0a 00 00 85 ed 0f 84 57 01 00 00 <49> 8d 7d 21 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f RSP: 0018:ffffc90000007b38 EFLAGS: 00000002 RAX: 0000000000000002 RBX: 0000000000000002 RCX: 0000000000000001 RDX: 0000000000000002 RSI: 0000000000000040 RDI: 0000000000000001 RBP: 0000000000000001 R08: ffff888078650b08 R09: fffffbfff2dc53bc R10: ffffffff96e29de7 R11: 0000000000000000 R12: ffff888078650b29 R13: ffff888078650b30 R14: 0000000000000002 R15: ffff888078650000 FS: 00007ff152f1e6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005645a5a50300 CR3: 000000005eb86000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5825 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] advance_sched+0xd8/0xc60 net/sched/sch_taprio.c:924 __run_hrtimer kernel/time/hrtimer.c:1691 [inline] __hrtimer_run_queues+0x20a/0xae0 kernel/time/hrtimer.c:1755 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1817 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1026 [inline] __sysvec_apic_timer_interrupt+0x10f/0x450 arch/x86/kernel/apic/apic.c:1043 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1037 [inline] sysvec_apic_timer_interrupt+0x9f/0xc0 arch/x86/kernel/apic/apic.c:1037 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:89 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:104 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:129 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:161 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x105/0x1a0 mm/kasan/generic.c:189 Code: 75 0a 45 3a 11 b8 01 00 00 00 7c 0b 44 89 c2 e8 b1 ea ff ff 83 f0 01 5b 5d 41 5c c3 cc cc cc cc 48 85 d2 74 4f 48 01 ea eb 09 <48> 83 c0 01 48 39 d0 74 41 80 38 00 74 f2 eb b2 41 bc 08 00 00 00 RSP: 0018:ffffc90003a76e68 EFLAGS: 00000246 RAX: fffffbfff20be951 RBX: fffffbfff20be952 RCX: ffffffff816aa589 RDX: fffffbfff20be952 RSI: 0000000000000008 RDI: ffffffff905f4a88 RBP: fffffbfff20be951 R08: 0000000000000000 R09: fffffbfff20be951 R10: ffffffff905f4a8f R11: 0000000000000000 R12: ffffffff8e1b8340 R13: 1ffff9200074edf4 R14: 000000000003dbcc R15: 0000000000000000 instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] cpumask_test_cpu include/linux/cpumask.h:570 [inline] cpu_online include/linux/cpumask.h:1117 [inline] trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0xa9/0x6f0 kernel/locking/lockdep.c:5836 rcu_lock_release include/linux/rcupdate.h:347 [inline] rcu_read_unlock include/linux/rcupdate.h:880 [inline] page_ext_put+0x43/0xd0 mm/page_ext.c:550 __set_page_owner+0x147/0x560 mm/page_owner.c:328 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x2d1/0x350 mm/page_alloc.c:1537 prep_new_page mm/page_alloc.c:1545 [inline] get_page_from_freelist+0x101e/0x3070 mm/page_alloc.c:3457 __alloc_pages_noprof+0x223/0x25a0 mm/page_alloc.c:4733 alloc_pages_mpol_noprof+0x2c9/0x610 mm/mempolicy.c:2265 folio_alloc_mpol_noprof+0x36/0xd0 mm/mempolicy.c:2283 shmem_alloc_folio+0x135/0x160 mm/shmem.c:1774 shmem_alloc_and_add_folio+0x48b/0xc00 mm/shmem.c:1813 shmem_get_folio_gfp+0x689/0x1530 mm/shmem.c:2335 shmem_fault+0x200/0xae0 mm/shmem.c:2536 __do_fault+0x10a/0x490 mm/memory.c:4876 do_read_fault mm/memory.c:5282 [inline] do_fault mm/memory.c:5416 [inline] do_pte_missing+0xea8/0x3e50 mm/memory.c:3965 handle_pte_fault mm/memory.c:5751 [inline] __handle_mm_fault+0x100a/0x2a10 mm/memory.c:5894 handle_mm_fault+0x3fa/0xaa0 mm/memory.c:6062 faultin_page mm/gup.c:1187 [inline] __get_user_pages+0x90f/0x3b90 mm/gup.c:1485 populate_vma_page_range+0x27f/0x3a0 mm/gup.c:1923 __mm_populate+0x1d6/0x380 mm/gup.c:2026 mm_populate include/linux/mm.h:3371 [inline] vm_mmap_pgoff+0x293/0x360 mm/util.c:593 ksys_mmap_pgoff+0x7d/0x5c0 mm/mmap.c:542 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:86 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:79 [inline] __x64_sys_mmap+0x125/0x190 arch/x86/kernel/sys_x86_64.c:79 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:0x7ff15217dff9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007ff152f1e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007ff152336058 RCX: 00007ff15217dff9 RDX: 0000000000000003 RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007ff1521f0296 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007ff152336058 R15: 00007ffd93796c98 rcu: rcu_preempt kthread starved for 10495 jiffies! g84277 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:28352 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5322 [inline] __schedule+0xef5/0x5750 kernel/sched/core.c:6682 __schedule_loop kernel/sched/core.c:6759 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6774 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2615 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2045 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2247 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 UID: 0 PID: 22728 Comm: syz.3.4216 Not tainted 6.12.0-rc3-syzkaller-00183-g6efbea77b390 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x458/0x1300 kernel/smp.c:884 Code: 0c 00 85 ed 74 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 f4 4c 89 f5 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 6a 1b 0c 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 a4 0c 00 00 8b 43 08 31 RSP: 0018:ffffc90003f475b0 EFLAGS: 00000246 RAX: 0000000000040000 RBX: ffff8880b8646b80 RCX: ffffc900094db000 RDX: 0000000000040000 RSI: ffffffff818167f6 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffed10170c8d71 R13: 0000000000000001 R14: ffff8880b8646b88 R15: ffff8880b8740100 FS: 00007fdd8d14b6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3241fffc CR3: 000000006bbaa000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1051 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2085 [inline] text_poke_bp_batch+0x22b/0x760 arch/x86/kernel/alternative.c:2295 text_poke_bp+0xa3/0xd0 arch/x86/kernel/alternative.c:2522 __static_call_transform+0x34d/0x770 arch/x86/kernel/static_call.c:111 arch_static_call_transform+0x5d/0xb0 arch/x86/kernel/static_call.c:163 __static_call_update+0xee/0x660 kernel/static_call_inline.c:147 tracepoint_update_call kernel/tracepoint.c:317 [inline] tracepoint_add_func+0xa14/0xe50 kernel/tracepoint.c:358 tracepoint_probe_register_prio_may_exist+0xbd/0x110 kernel/tracepoint.c:482 tracepoint_probe_register_may_exist include/linux/tracepoint.h:51 [inline] bpf_probe_register+0x189/0x200 kernel/trace/bpf_trace.c:2386 bpf_raw_tp_link_attach+0x245/0x540 kernel/bpf/syscall.c:3830 bpf_raw_tracepoint_open kernel/bpf/syscall.c:3861 [inline] __sys_bpf+0x3a4/0x49a0 kernel/bpf/syscall.c:5676 __do_sys_bpf kernel/bpf/syscall.c:5741 [inline] __se_sys_bpf kernel/bpf/syscall.c:5739 [inline] __x64_sys_bpf+0x78/0xc0 kernel/bpf/syscall.c:5739 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:0x7fdd8c37dff9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007fdd8d14b038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fdd8c535f80 RCX: 00007fdd8c37dff9 RDX: 0000000000000010 RSI: 0000000020000100 RDI: 0000000000000011 RBP: 00007fdd8c3f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fdd8c535f80 R15: 00007ffe35db9db8