rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5317/1:b..l rcu: (detected by 0, t=10502 jiffies, g=7593, q=956 ncpus=2) task:kworker/0:6 state:R running task stack:24800 pid:5317 tgid:5317 ppid:2 flags:0x00004000 Workqueue: events nsim_fib_event_work Call Trace: context_switch kernel/sched/core.c:5270 [inline] __schedule+0x17ff/0x4ad0 kernel/sched/core.c:6639 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6818 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6842 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 unwind_next_frame+0x18f8/0x22d0 arch/x86/kernel/unwind_orc.c:672 arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 save_stack+0xfb/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x76/0x430 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1099 [inline] free_unref_page+0xc07/0xd90 mm/page_alloc.c:2652 __slab_free+0x31b/0x3d0 mm/slub.c:4428 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9e/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4032 [inline] slab_alloc_node mm/slub.c:4081 [inline] __kmalloc_cache_noprof+0x132/0x2c0 mm/slub.c:4228 kmalloc_noprof include/linux/slab.h:681 [inline] kzalloc_noprof include/linux/slab.h:807 [inline] nsim_fib6_rt_create drivers/net/netdevsim/fib.c:547 [inline] nsim_fib6_rt_insert drivers/net/netdevsim/fib.c:752 [inline] nsim_fib6_event drivers/net/netdevsim/fib.c:856 [inline] nsim_fib_event drivers/net/netdevsim/fib.c:889 [inline] nsim_fib_event_work+0x19c5/0x4130 drivers/net/netdevsim/fib.c:1492 process_one_work kernel/workqueue.c:3232 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3313 worker_thread+0x86d/0xd10 kernel/workqueue.c:3390 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: rcu_preempt kthread starved for 1303 jiffies! g7593 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:25816 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5270 [inline] __schedule+0x17ff/0x4ad0 kernel/sched/core.c:6639 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6961 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:destroy_timer_on_stack kernel/time/timer.c:866 [inline] RIP: 0010:schedule_timeout+0x1cb/0x310 kernel/time/timer.c:2585 Code: bb 68 aa f5 48 83 c4 08 4c 89 f7 4c 89 fe ba 04 00 00 00 e8 67 b0 ba f5 e8 32 84 fe ff 4c 89 f7 31 f6 e8 68 d1 ba f5 4c 89 f7 <48> c7 c6 e0 bd 0c 8c e8 d9 ba f4 f8 48 c7 c0 00 f2 60 8e 48 c1 e8 RSP: 0018:ffffc90000167ba0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff888017ea8000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc90000167bc0 RBP: ffffc90000167c90 R08: ffffffff818026f0 R09: 1ffffffff20318b5 R10: dffffc0000000000 R11: fffffbfff20318b6 R12: dffffc0000000000 R13: 1ffff9200002cf74 R14: ffffc90000167bc0 R15: 00000000ffffcf96 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 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: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 5371 Comm: syz.0.12 Not tainted 6.11.0-rc3-next-20240816-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:should_resched arch/x86/include/asm/preempt.h:103 [inline] RIP: 0010:__local_bh_enable_ip+0x170/0x200 kernel/softirq.c:389 Code: 8c e8 44 85 64 0a 65 66 8b 05 94 7e ac 7e 66 85 c0 75 5d bf 01 00 00 00 e8 9d ab 0b 00 e8 d8 ed 43 00 fb 65 8b 05 58 7e ac 7e <85> c0 75 05 e8 a7 5d a9 ff 48 c7 44 24 20 0e 36 e0 45 49 c7 04 1c RSP: 0018:ffffc90004157d00 EFLAGS: 00000286 RAX: 0000000080000000 RBX: 1ffff9200082afa4 RCX: ffffffff94f43903 RDX: dffffc0000000000 RSI: ffffffff8c0ace40 RDI: ffffffff8c60a8c0 RBP: ffffc90004157db0 R08: ffffffff9018c5af R09: 1ffffffff20318b5 R10: dffffc0000000000 R11: fffffbfff20318b6 R12: dffffc0000000000 R13: 1ffff9200082afa8 R14: ffffc90004157d40 R15: 0000000000000200 FS: 00007f9e4dbfd6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32b16ff8 CR3: 000000001872c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: handle_signal arch/x86/kernel/signal.c:310 [inline] arch_do_signal_or_restart+0x4fb/0x860 arch/x86/kernel/signal.c:339 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+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9e4cc3a7c0 Code: 44 24 20 0f 29 44 24 30 0f 29 44 24 40 48 8b 44 24 08 ff d0 48 83 c4 50 31 c0 5b 5d 41 5c 41 5d 41 5e c3 0f 1f 80 00 00 00 00 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 c3 66 66 2e 0f 1f RSP: 002b:00007f9e4dbfcb38 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 00007f9e4cf16060 RCX: 00007f9e4cd799b9 RDX: 00007f9e4dbfcb40 RSI: 00007f9e4dbfcc70 RDI: 0000000000000011 RBP: 00007f9e4cf16058 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9e4cf16064 R13: 0000000000000000 R14: 00007ffcc74ae490 R15: 00007ffcc74ae578 sched: DL replenish lagged too much