rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=aeb4/1/0x4000000000000000 softirq=54938/54939 fqs=4 rcu: (detected by 0, t=10502 jiffies, g=74661, q=465 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 12233 Comm: syz-executor.4 Not tainted 6.10.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:task_irq_context kernel/locking/lockdep.c:4608 [inline] RIP: 0010:__lock_acquire+0x3e8/0x1fd0 kernel/locking/lockdep.c:5074 Code: 29 90 7e 31 db 85 c0 0f 95 c3 01 db 48 8b 44 24 50 48 8d b8 c4 0a 00 00 48 89 f8 48 c1 e8 03 48 89 44 24 60 0f b6 04 30 84 c0 <44> 8b 74 24 38 48 89 7c 24 18 0f 85 59 13 00 00 31 c0 83 bc 24 e8 RSP: 0018:ffffc90000a18a70 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000002 RCX: ffffffff9476a603 RDX: 0000000000000002 RSI: dffffc0000000000 RDI: ffff88802c5ce4c4 RBP: 000000000000000a R08: ffff88802c5ce4e0 R09: 0000000000000001 R10: dffffc0000000000 R11: fffffbfff1f5833e R12: ffff8880b952c898 R13: 0000000000000067 R14: 000000000000000a R15: 0000000000000000 FS: 000055556e832480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fde147ded58 CR3: 000000005120c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0xd3/0x120 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1691 [inline] __hrtimer_run_queues+0x670/0xd50 kernel/time/hrtimer.c:1751 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1813 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:218 [inline] RIP: 0010:unwind_next_frame+0x29a/0x2a00 arch/x86/kernel/unwind_orc.c:494 Code: b0 20 00 00 44 8b 3b 89 e8 ff c0 48 8d 1c 85 50 64 d2 90 48 89 d8 48 c1 e8 03 42 0f b6 04 30 84 c0 0f 85 aa 20 00 00 44 8b 23 <41> ff c4 4b 8d 04 7f 48 8d 8c 00 e4 77 29 90 48 c7 c0 4e 64 d2 90 RSP: 0018:ffffc900030b67a8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffffff90fc58e8 RCX: 00000000000ac001 RDX: ffff88802c5cda00 RSI: 00000000000a7d25 RDI: 00000000000ac000 RBP: 00000000000a7d25 R08: ffffffff8140e1a4 R09: ffffc900030b6970 R10: 0000000000000003 R11: ffffffff8181cee0 R12: 00000000001afb06 R13: 00000000000ac001 R14: dffffc0000000000 R15: 00000000001afb04 arch_stack_walk+0x151/0x1b0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:370 [inline] __kasan_kmalloc+0x98/0xb0 mm/kasan/common.c:387 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slub.c:4121 [inline] __kmalloc_noprof+0x1f9/0x400 mm/slub.c:4134 kmalloc_noprof include/linux/slab.h:664 [inline] kzalloc_noprof include/linux/slab.h:778 [inline] fib_create_info+0xa3f/0x2510 net/ipv4/fib_semantics.c:1459 fib_table_insert+0x1f6/0x1f30 net/ipv4/fib_trie.c:1237 fib_magic+0x3d8/0x620 net/ipv4/fib_frontend.c:1109 fib_add_ifaddr+0x14c/0x5e0 net/ipv4/fib_frontend.c:1131 fib_inetaddr_event+0x167/0x1f0 net/ipv4/fib_frontend.c:1445 notifier_call_chain+0x19f/0x3e0 kernel/notifier.c:93 blocking_notifier_call_chain+0x69/0x90 kernel/notifier.c:388 __inet_insert_ifa+0x9d4/0xc30 net/ipv4/devinet.c:561 inet_rtm_newaddr+0xbda/0x1af0 net/ipv4/devinet.c:986 rtnetlink_rcv_msg+0x89b/0x10d0 net/core/rtnetlink.c:6595 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2564 netlink_unicast_kernel net/netlink/af_netlink.c:1335 [inline] netlink_unicast+0x7ea/0x980 net/netlink/af_netlink.c:1361 netlink_sendmsg+0x8db/0xcb0 net/netlink/af_netlink.c:1905 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 __sys_sendto+0x3a4/0x4f0 net/socket.c:2192 __do_sys_sendto net/socket.c:2204 [inline] __se_sys_sendto net/socket.c:2200 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2200 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc9b9c7ebdc Code: 1a 51 02 00 44 8b 4c 24 2c 4c 8b 44 24 20 89 c5 44 8b 54 24 28 48 8b 54 24 18 b8 2c 00 00 00 48 8b 74 24 10 8b 7c 24 08 0f 05 <48> 3d 00 f0 ff ff 77 34 89 ef 48 89 44 24 08 e8 60 51 02 00 48 8b RSP: 002b:00007ffd718009e0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fc9ba8e4620 RCX: 00007fc9b9c7ebdc RDX: 0000000000000028 RSI: 00007fc9ba8e4670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffd71800a34 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007fc9ba8e4670 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10494 jiffies! g74661 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:26576 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x1796/0x49d0 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2000 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2202 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/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: 0 PID: 11 Comm: kworker/u8:0 Not tainted 6.10.0-rc2-syzkaller #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+0x1865/0x29d0 kernel/smp.c:855 Code: 89 e6 83 e6 01 31 ff e8 99 09 0c 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 44 05 0c 00 eb 38 f3 90 42 0f b6 04 23 <84> c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 28 05 0c 00 eb e4 44 RSP: 0018:ffffc90000107700 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 1ffff110172a88a1 RCX: ffff888016ef3c00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900001078e0 R08: ffffffff818a1037 R09: 1ffffffff25ee4b0 R10: dffffc0000000000 R11: fffffbfff25ee4b1 R12: dffffc0000000000 R13: ffff8880b9544508 R14: ffff8880b943f8c0 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3192a000 CR3: 000000000e132000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2069 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2279 text_poke_flush arch/x86/kernel/alternative.c:2470 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2477 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:826 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd70 kernel/workqueue.c:3393 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244