rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=841c/1/0x4000000000000000 softirq=50949/50949 fqs=1 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P16407/3:b..l rcu: (detected by 0, t=10503 jiffies, g=88321, q=182 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 16413 Comm: syz-executor.0 Not tainted 6.7.0-rc4-next-20231206-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:129 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:160 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:179 [inline] RIP: 0010:kasan_check_range+0x5a/0x190 mm/kasan/generic.c:188 Code: b3 00 00 00 4c 8d 54 37 ff 48 89 fd 48 b8 00 00 00 00 00 fc ff df 4d 89 d1 48 c1 ed 03 49 c1 e9 03 48 01 c5 49 01 c1 48 89 e8 <49> 8d 59 01 48 89 da 48 29 ea 48 83 fa 10 0f 8e 89 00 00 00 41 89 RSP: 0018:ffffc900001f0b10 EFLAGS: 00000086 RAX: fffffbfff24255e8 RBX: 0000000000000018 RCX: ffffffff816792ee RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff9212af40 RBP: fffffbfff24255e8 R08: 0000000000000000 R09: fffffbfff24255e8 R10: ffffffff9212af47 R11: 0000000000000001 R12: 0000000000000002 R13: 0000000000000000 R14: ffff88801b388ae8 R15: 0000000000000018 FS: 00007f5a53d0b6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5a53d0bd58 CR3: 00000000411fb000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class+0x4e/0x130 kernel/locking/lockdep.c:228 check_wait_context kernel/locking/lockdep.c:4773 [inline] __lock_acquire+0x3f2/0x3b30 kernel/locking/lockdep.c:5087 lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1b1/0x530 kernel/locking/lockdep.c:5719 rcu_lock_acquire include/linux/rcupdate.h:301 [inline] rcu_read_lock include/linux/rcupdate.h:747 [inline] advance_sched+0x67c/0xc60 net/sched/sch_taprio.c:996 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x20c/0xc20 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline] __sysvec_apic_timer_interrupt+0x10c/0x410 arch/x86/kernel/apic/apic.c:1082 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1076 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+0x31/0x70 kernel/locking/spinlock.c:194 Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 f6 4f dd f6 48 89 df e8 be c7 dd f6 f7 c5 00 02 00 00 75 1f 9c 58 f6 c4 02 75 2f 01 00 00 00 e8 45 70 cf f6 65 8b 05 06 99 78 75 85 c0 74 12 5b RSP: 0018:ffffc9000366fa40 EFLAGS: 00000246 RAX: 0000000000000002 RBX: ffff88801c7b0c88 RCX: 1ffffffff1e72521 RDX: 0000000000000000 RSI: ffffffff8accbc20 RDI: ffffffff8b2f1ec0 RBP: 0000000000000287 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8f395b97 R11: 0000000000000000 R12: dffffc0000000000 R13: 197b096b5cb7b517 R14: 179e331b5cb7b517 R15: ffff88801c7b0c88 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] timerfd_clock_was_set+0x164/0x310 fs/timerfd.c:113 clock_was_set+0x67c/0x850 kernel/time/hrtimer.c:982 timekeeping_inject_offset+0x4d1/0x640 kernel/time/timekeeping.c:1395 do_adjtimex+0x373/0xaa0 kernel/time/timekeeping.c:2444 do_clock_adjtime kernel/time/posix-timers.c:1159 [inline] __do_sys_clock_adjtime+0x173/0x280 kernel/time/posix-timers.c:1171 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x62/0x6a RIP: 0033:0x7f5a5307cae9 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:00007f5a53d0b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007f5a5319c050 RCX: 00007f5a5307cae9 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007f5a530c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f5a5319c050 R15: 00007fffce116f08 task:syz-executor.4 state:R running task stack:26336 pid:16407 tgid:16405 ppid:5108 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5399 [inline] __schedule+0xf15/0x5c80 kernel/sched/core.c:6726 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7046 irqentry_exit+0x36/0x80 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__rcu_read_unlock+0x0/0x570 kernel/rcu/tree_plugin.h:419 Code: fb 5b 5d 41 5c c3 90 0f 0b 90 e9 9d fe ff ff 5b 5d 41 5c e9 02 b9 16 09 e8 fd b8 16 09 eb e1 e8 a6 bf 6e 00 e9 56 ff ff ff 90 0f 1e fa 41 56 41 55 41 54 55 65 48 8b 2d 3d ed 92 7e 53 48 8d RSP: 0018:ffffc900035ef868 EFLAGS: 00000246 RAX: 0000000000040000 RBX: 0000000000000001 RCX: ffffc9000adfc000 RDX: 0000000000040000 RSI: ffffffff81f45f7c RDI: 0000000000000001 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000005 R12: dffffc0000000000 R13: 000000000000001d R14: ffffc900035efdf4 R15: 0000000000000246 rcu_read_unlock include/linux/rcupdate.h:779 [inline] kill_fasync fs/fcntl.c:1020 [inline] kill_fasync+0x2f1/0x4f0 fs/fcntl.c:1012 sock_wake_async+0x12e/0x160 net/socket.c:1473 sk_wake_async include/net/sock.h:2553 [inline] sk_wake_async include/net/sock.h:2549 [inline] af_alg_wmem_wakeup crypto/af_alg.c:850 [inline] af_alg_wmem_wakeup+0x34a/0x660 crypto/af_alg.c:837 skcipher_recvmsg+0xa96/0xe00 crypto/algif_skcipher.c:177 sock_recvmsg_nosec net/socket.c:1044 [inline] ____sys_recvmsg+0x4ab/0x5c0 net/socket.c:2801 ___sys_recvmsg+0x115/0x1a0 net/socket.c:2845 do_recvmmsg+0x2af/0x740 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+0x235/0x290 net/socket.c:3034 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x62/0x6a RIP: 0033:0x7f7bb907cae9 RSP: 002b:00007f7bb9e220c8 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f7bb919bf80 RCX: 00007f7bb907cae9 RDX: 03ffffffffffff62 RSI: 00000000200005c0 RDI: 0000000000000005 RBP: 00007f7bb90c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f7bb919bf80 R15: 00007ffc20371458 rcu: rcu_preempt kthread starved for 10495 jiffies! g88321 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:27504 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5399 [inline] __schedule+0xf15/0x5c80 kernel/sched/core.c:6726 __schedule_loop kernel/sched/core.c:6801 [inline] schedule+0xe7/0x270 kernel/sched/core.c:6816 schedule_timeout+0x136/0x290 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:1631 rcu_gp_kthread+0x245/0x380 kernel/rcu/tree.c:1830 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 49 Comm: kworker/u4:3 Not tainted 6.7.0-rc4-next-20231206-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x4e4/0x1570 kernel/smp.c:855 Code: 0b 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 3e c5 0b 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 44 0e 00 00 8b 43 08 31 RSP: 0018:ffffc90000b9f920 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b9941a60 RCX: ffffffff817c5038 RDX: ffff88801aaabb80 RSI: ffffffff817c5012 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000006 R12: ffffed101732834d R13: 0000000000000001 R14: ffff8880b9941a68 R15: ffff8880b983d8c0 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020009030 CR3: 000000000cf78000 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:2007 [inline] text_poke_bp_batch+0x22b/0x750 arch/x86/kernel/alternative.c:2217 text_poke_flush arch/x86/kernel/alternative.c:2408 [inline] text_poke_flush arch/x86/kernel/alternative.c:2405 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2415 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+0xf4/0x250 mm/kfence/core.c:818 process_one_work+0x8a4/0x15f0 kernel/workqueue.c:2633 process_scheduled_works kernel/workqueue.c:2706 [inline] worker_thread+0x8b6/0x1290 kernel/workqueue.c:2787 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242