rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (4 ticks this GP) idle=19e4/1/0x4000000000000000 softirq=85039/85041 fqs=1 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P19170/1:b..l rcu: (detected by 1, t=10506 jiffies, g=152501, q=148 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 19172 Comm: syz-executor.2 Not tainted 6.9.0-syzkaller-00967-gcd97950cbcab #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:mark_usage kernel/locking/lockdep.c:4552 [inline] RIP: 0010:__lock_acquire+0x834/0x3b30 kernel/locking/lockdep.c:5091 Code: 02 00 e8 3f ef 59 09 44 8b 4c 24 08 45 85 c9 0f 84 62 01 00 00 49 8d 7e 21 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 91 2e 00 00 RSP: 0018:ffffc90000007ae8 EFLAGS: 00000806 RAX: dffffc0000000000 RBX: ffff88806a968000 RCX: 0000000000000002 RDX: 1ffff1100d52d169 RSI: 0000000000000008 RDI: ffff88806a968b49 RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff93fe518f R11: ffffffff8b2f38c0 R12: ffffed100d52d15a R13: ffff88806a968ad8 R14: ffff88806a968b28 R15: 0000000000000002 FS: 00007fce23e996c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f07415ad988 CR3: 0000000046a54000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5719 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162 debug_object_deactivate+0x13c/0x370 lib/debugobjects.c:763 debug_hrtimer_deactivate kernel/time/hrtimer.c:428 [inline] debug_deactivate kernel/time/hrtimer.c:484 [inline] __run_hrtimer kernel/time/hrtimer.c:1660 [inline] __hrtimer_run_queues+0x47d/0xcc0 kernel/time/hrtimer.c:1756 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1818 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x10f/0x450 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_acquire+0x1f2/0x560 kernel/locking/lockdep.c:5722 Code: c1 05 0a 93 96 7e 83 f8 01 0f 85 ea 02 00 00 9c 58 f6 c4 02 0f 85 d5 02 00 00 48 85 ed 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc9000351f920 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff920006a3f26 RCX: ffffffff816b01de RDX: 0000000000000001 RSI: ffffffff8b2cb100 RDI: ffffffff8b8f5b20 RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff27fca36 R10: ffffffff93fe51b7 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: ffff88801f1fc420 R15: 0000000000000000 __might_fault mm/memory.c:6220 [inline] __might_fault+0x11b/0x190 mm/memory.c:6213 _copy_from_user+0x2b/0xf0 lib/usercopy.c:14 copy_from_user include/linux/uaccess.h:183 [inline] copy_msghdr_from_user+0x99/0x160 net/socket.c:2514 recvmsg_copy_msghdr net/socket.c:2769 [inline] ___sys_recvmsg+0xdc/0x1a0 net/socket.c:2841 do_recvmmsg+0x2ba/0x750 net/socket.c:2939 __sys_recvmmsg net/socket.c:3018 [inline] __do_sys_recvmmsg net/socket.c:3041 [inline] __se_sys_recvmmsg net/socket.c:3034 [inline] __x64_sys_recvmmsg+0x239/0x290 net/socket.c:3034 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fce2307dd69 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fce23e990c8 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007fce231ac050 RCX: 00007fce2307dd69 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000005 RBP: 00007fce230ca49e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fce231ac050 R15: 00007ffe8d53e4b8 task:syz-executor.1 state:X running task stack:27232 pid:19170 tgid:19166 ppid:0 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6746 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7068 irqentry_exit+0x36/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_release+0x3ba/0x6c0 kernel/locking/lockdep.c:5762 Code: 7e 83 f8 01 0f 85 f5 01 00 00 9c 58 f6 c4 02 0f 85 e0 01 00 00 48 f7 04 24 00 02 00 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c5 48 c7 45 00 00 00 00 00 c7 45 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc900032bfa90 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: ffffffffffffffff RCX: ffffc900032bfae0 RDX: 1ffff1100526a519 RSI: ffffffff8b2cb100 RDI: ffffffff8b8f5b20 RBP: 1ffff92000657f54 R08: 0000000000000000 R09: fffffbfff1f7eb62 R10: ffffffff8fbf5b17 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000001 R14: ffff8880293528d0 R15: ffff888029351e00 rcu_lock_release include/linux/rcupdate.h:339 [inline] rcu_read_unlock include/linux/rcupdate.h:812 [inline] get_mem_cgroup_from_objcg+0xb5/0x2a0 include/linux/memcontrol.h:538 obj_cgroup_uncharge_pages mm/memcontrol.c:3278 [inline] __memcg_kmem_uncharge_page+0xc8/0x1c0 mm/memcontrol.c:3354 memcg_kmem_uncharge_page include/linux/memcontrol.h:1853 [inline] exit_task_stack_account+0x98/0xf0 kernel/fork.c:562 do_exit+0x1c28/0x2c10 kernel/exit.c:919 do_group_exit+0xd3/0x2a0 kernel/exit.c:1027 get_signal+0x2616/0x2710 kernel/signal.c:2911 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x14a/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xdc/0x260 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f90d507dd69 RSP: 002b:00007f90d4bde0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000084 RAX: ffffffffffffff95 RBX: 00007f90d51ac050 RCX: 00007f90d507dd69 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080 RBP: 00007f90d50ca49e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f90d51ac050 R15: 00007ffcc0910918 rcu: rcu_preempt kthread starved for 10500 jiffies! g152501 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:27856 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2582 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2000 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2202 kthread+0x2c1/0x3a0 kernel/kthread.c:388 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 PID: 17161 Comm: kworker/u8:18 Not tainted 6.9.0-syzkaller-00967-gcd97950cbcab #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x4e7/0x1420 kernel/smp.c:855 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 5b 07 0c 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 f7 0c 00 00 8b 43 08 31 RSP: 0018:ffffc9000355f910 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b9446860 RCX: ffffffff8181cd4b RDX: ffff8880691c0000 RSI: ffffffff8181cd25 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000006 R12: ffffed1017288d0d R13: 0000000000000001 R14: ffff8880b9446868 R15: ffff8880b953fc00 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000000000a CR3: 000000000d77a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2086 [inline] text_poke_bp_batch+0x22b/0x760 arch/x86/kernel/alternative.c:2296 text_poke_flush arch/x86/kernel/alternative.c:2487 [inline] text_poke_flush arch/x86/kernel/alternative.c:2484 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2494 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x1d7/0x400 kernel/jump_label.c:829 static_key_enable_cpuslocked+0x1b7/0x270 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate mm/kfence/core.c:826 [inline] toggle_allocation_gate+0xf8/0x250 mm/kfence/core.c:818 process_one_work+0x9a9/0x1ac0 kernel/workqueue.c:3267 process_scheduled_works kernel/workqueue.c:3348 [inline] worker_thread+0x6c8/0xf70 kernel/workqueue.c:3429 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244