rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=dd8c/1/0x4000000000000000 softirq=37750/37753 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P12853/1:b..l rcu: (detected by 1, t=10502 jiffies, g=43373, q=26 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 12870 Comm: syz-executor.4 Not tainted 6.4.0-rc1-syzkaller-00133-g9a48d6046722 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 RIP: 0010:check_preemption_disabled+0x4/0x170 lib/smp_processor_id.c:13 Code: 00 85 db 74 07 0f 1f 44 00 00 0f 0b 0f 1f 44 00 00 5b e9 6f fb ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 41 56 41 55 <49> 89 f5 41 54 55 48 89 fd 53 0f 1f 44 00 00 65 44 8b 25 01 5b f4 RSP: 0018:ffffc90000007c88 EFLAGS: 00000046 RAX: 0000000000000007 RBX: 1ffff92000000f96 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8a4c6c40 RDI: ffffffff8aa70fa0 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8e7a7397 R10: fffffbfff1cf4e72 R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000000 R14: ffffffff8c799040 R15: 0000000000000000 FS: 00007fbee325d700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31a22000 CR3: 000000002925b000 CR4: 0000000000350ef0 Call Trace: lockdep_recursion_inc kernel/locking/lockdep.c:462 [inline] lock_acquire kernel/locking/lockdep.c:5690 [inline] lock_acquire+0x174/0x520 kernel/locking/lockdep.c:5656 rcu_lock_acquire include/linux/rcupdate.h:327 [inline] rcu_read_lock include/linux/rcupdate.h:773 [inline] advance_sched+0x6e4/0xd20 net/sched/sch_taprio.c:990 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x5fa/0xbe0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x320/0x7b0 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x3c/0x70 kernel/locking/spinlock.c:194 Code: 74 24 10 e8 96 24 53 f7 48 89 ef e8 be 92 53 f7 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 0f 67 45 f7 65 8b 05 30 f9 f0 75 85 c0 74 0a 5b 5d c3 e8 ac 1e RSP: 0018:ffffc9000f847d98 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff1cf4869 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffffff8c7c4340 R08: 0000000000000001 R09: 0000000000000001 R10: fffffbfff1cf4e72 R11: ffffffffffffffff R12: ffffc9000f847ec8 R13: 0000000000000000 R14: ffffffff9ba0d9fe R15: 0000000012d66b6b do_settimeofday64 kernel/time/timekeeping.c:1342 [inline] do_settimeofday64+0x3ba/0x5d0 kernel/time/timekeeping.c:1312 do_sys_settimeofday64 kernel/time/time.c:195 [inline] do_sys_settimeofday64+0x1e2/0x270 kernel/time/time.c:169 __do_sys_clock_settime kernel/time/posix-timers.c:1092 [inline] __se_sys_clock_settime kernel/time/posix-timers.c:1080 [inline] __x64_sys_clock_settime+0x1a5/0x280 kernel/time/posix-timers.c:1080 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fbee248c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fbee325d168 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3 RAX: ffffffffffffffda RBX: 00007fbee25abf80 RCX: 00007fbee248c169 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000000 RBP: 00007fbee24e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe762d689f R14: 00007fbee325d300 R15: 0000000000022000 task:syz-executor.5 state:R running task stack:26672 pid:12853 ppid:5042 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6669 preempt_schedule_irq+0x52/0x90 kernel/sched/core.c:6981 irqentry_exit+0x35/0x80 kernel/entry/common.c:433 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:650 RIP: 0010:strscpy+0x4/0x2a0 lib/string.c:128 Code: 84 00 00 00 00 00 53 be 01 00 00 00 48 89 fb e8 32 73 d5 f7 48 8b 03 5b c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa <48> 85 d2 0f 84 58 02 00 00 41 57 41 56 41 55 41 54 49 89 d4 55 53 RSP: 0018:ffffc9000f6ff178 EFLAGS: 00000246 RAX: 0000000000040000 RBX: ffff888015190e78 RCX: ffffc9000c5f0000 RDX: 000000000000000f RSI: ffff88807ce34418 RDI: ffff888015190ea0 RBP: ffff888015190ea0 R08: 0000000000000007 R09: 000000000000000f R10: 000000000000000e R11: 0000000000094001 R12: 000000000000000f R13: ffff88807ce34418 R14: 0000000000000000 R15: 0000000000000000 strscpy include/linux/fortify-string.h:371 [inline] __set_page_owner_handle+0x90/0x3c0 mm/page_owner.c:177 __set_page_owner+0x48/0x60 mm/page_owner.c:197 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x2db/0x350 mm/page_alloc.c:1731 prep_new_page mm/page_alloc.c:1738 [inline] get_page_from_freelist+0xf41/0x2c00 mm/page_alloc.c:3502 __alloc_pages+0x1cb/0x4a0 mm/page_alloc.c:4768 __folio_alloc+0x16/0x40 mm/page_alloc.c:4800 vma_alloc_folio+0x155/0x890 mm/mempolicy.c:2240 wp_page_copy mm/memory.c:3070 [inline] do_wp_page+0x173d/0x33c0 mm/memory.c:3432 handle_pte_fault mm/memory.c:4964 [inline] __handle_mm_fault+0x1635/0x41c0 mm/memory.c:5089 handle_mm_fault+0x2af/0x9f0 mm/memory.c:5243 do_user_addr_fault+0x51a/0x1210 arch/x86/mm/fault.c:1440 handle_page_fault arch/x86/mm/fault.c:1534 [inline] exc_page_fault+0x98/0x170 arch/x86/mm/fault.c:1590 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0010:__put_user_nocheck_4+0xb/0x20 arch/x86/lib/putuser.S:101 Code: 0f 1e fa 48 89 cb 48 c1 fb 3f 48 09 d9 0f 01 cb 89 01 31 c9 0f 01 ca c3 0f 1f 80 00 00 00 00 f3 0f 1e fa f3 0f 1e fa 0f 01 cb <89> 01 31 c9 0f 01 ca c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 RSP: 0018:ffffc9000f6ffa00 EFLAGS: 00050246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000002038d030 RDX: 0000000000040000 RSI: ffffffff88044d9c RDI: 0000000000000005 RBP: ffffc9000f6ffdb0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000000 R12: 0000000000000000 R13: 000000002038d030 R14: 0000000000000002 R15: 0000000000000000 ____sys_recvmsg+0x2f7/0x5a0 net/socket.c:2735 ___sys_recvmsg+0xf2/0x180 net/socket.c:2764 do_recvmmsg+0x25e/0x6f0 net/socket.c:2858 __sys_recvmmsg net/socket.c:2937 [inline] __do_sys_recvmmsg net/socket.c:2960 [inline] __se_sys_recvmmsg net/socket.c:2953 [inline] __x64_sys_recvmmsg+0x20f/0x260 net/socket.c:2953 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fb0e608c169 RSP: 002b:00007fb0e6d75168 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007fb0e61ac050 RCX: 00007fb0e608c169 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000005 RBP: 00007fb0e60e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcf685a7df R14: 00007fb0e6d75300 R15: 0000000000022000 rcu: rcu_preempt kthread starved for 10502 jiffies! g43373 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:28168 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 schedule_timeout+0x14e/0x2b0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1609 rcu_gp_kthread+0x23a/0x360 kernel/rcu/tree.c:1808 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 8674 Comm: kworker/u4:21 Not tainted 6.4.0-rc1-syzkaller-00133-g9a48d6046722 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x8/0x20 kernel/kcov.c:304 Code: 00 00 f3 0f 1e fa 48 8b 0c 24 0f b7 d6 0f b7 f7 bf 03 00 00 00 e9 b8 fe ff ff 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 8b 0c 24 <89> f2 89 fe bf 05 00 00 00 e9 9a fe ff ff 66 2e 0f 1f 84 00 00 00 RSP: 0018:ffffc90005a8f940 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffff8880b98451e0 RCX: ffffffff81790453 RDX: ffff888025859dc0 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffed1017308a3d R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555557479848 CR3: 000000000c571000 CR4: 0000000000350ee0 Call Trace: csd_lock_wait kernel/smp.c:285 [inline] smp_call_function_many_cond+0x6a3/0x15a0 kernel/smp.c:828 on_each_cpu_cond_mask+0x5a/0xa0 kernel/smp.c:996 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1770 [inline] text_poke_bp_batch+0x237/0x770 arch/x86/kernel/alternative.c:1970 text_poke_flush arch/x86/kernel/alternative.c:2161 [inline] text_poke_flush arch/x86/kernel/alternative.c:2158 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2168 arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x32f/0x410 kernel/jump_label.c:829 static_key_enable_cpuslocked+0x1b5/0x270 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate mm/kfence/core.c:831 [inline] toggle_allocation_gate+0xf8/0x230 mm/kfence/core.c:823 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308