rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5754/1:b..l P5752/1:b..l P5225/1:b..l rcu: (detected by 1, t=10503 jiffies, g=16289, q=668 ncpus=2) task:syz-executor state:R running task stack:20528 pid:5225 tgid:5225 ppid:5223 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5322 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6682 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7004 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:core_kernel_text kernel/extable.c:71 [inline] RIP: 0010:kernel_text_address+0x58/0xe0 kernel/extable.c:99 Code: a0 ff 85 c0 74 0b 89 e8 5b 41 5e 5d c3 cc cc cc cc 48 c7 c0 00 d0 1c 90 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 0f b6 04 08 <84> c0 75 5d 83 3d 9d fe bc 0e 01 77 18 48 c7 c0 00 d0 7b 91 48 39 RSP: 0018:ffffc900022ef710 EFLAGS: 00000a06 RAX: 0000000000000000 RBX: 00007f95ced7cd49 RCX: dffffc0000000000 RDX: ffff88802c93bc00 RSI: 00007f95ced7c000 RDI: ffffffffff600000 RBP: 0000000000000001 R08: ffffffff8100b52d R09: ffffc900022ef850 R10: ffffc900022ef7b0 R11: ffffffff8180a0e0 R12: ffff88802c93bc00 R13: ffffffff8180a0e0 R14: dffffc0000000000 R15: 1ffff9200045def5 __kernel_text_address+0xd/0x40 kernel/extable.c:79 unwind_get_return_address+0x4d/0x90 arch/x86/kernel/unwind_orc.c:369 arch_stack_walk+0xfd/0x150 arch/x86/kernel/stacktrace.c:26 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:1108 [inline] free_unref_page+0xcfb/0xf20 mm/page_alloc.c:2638 discard_slab mm/slub.c:2677 [inline] __put_partials+0xeb/0x130 mm/slub.c:3145 put_cpu_partial+0x17c/0x250 mm/slub.c:3220 __slab_free+0x2ea/0x3d0 mm/slub.c:4449 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286 __kasan_kmalloc+0x23/0xb0 mm/kasan/common.c:385 kasan_kmalloc include/linux/kasan.h:257 [inline] __kmalloc_cache_noprof+0x19c/0x2c0 mm/slub.c:4295 kmalloc_noprof include/linux/slab.h:878 [inline] kzalloc_noprof include/linux/slab.h:1014 [inline] alloc_pipe_info+0xeb/0x4d0 fs/pipe.c:798 get_pipe_inode fs/pipe.c:890 [inline] create_pipe_files+0x87/0x700 fs/pipe.c:922 __do_pipe_flags+0x48/0x2d0 fs/pipe.c:973 do_pipe2+0xd4/0x310 fs/pipe.c:1024 __do_sys_pipe2 fs/pipe.c:1042 [inline] __se_sys_pipe2 fs/pipe.c:1040 [inline] __x64_sys_pipe2+0x5a/0x70 fs/pipe.c:1040 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:0x7f95ced7cd49 RSP: 002b:00007fff2d05ca18 EFLAGS: 00000246 ORIG_RAX: 0000000000000125 RAX: ffffffffffffffda RBX: 000055557aebac90 RCX: 00007f95ced7cd49 RDX: 000000055557aec3 RSI: 0000000000000000 RDI: 00007fff2d05ca28 RBP: 00007fff2d05cfd0 R08: 0000000000000007 R09: 000055557aec3520 R10: cb5200090a92e75a R11: 0000000000000246 R12: 00007fff2d05ce20 R13: 000055557aebaa90 R14: 00007fff2d05cb60 R15: 000055557aeb65b0 task:syz-executor state:R running task stack:20992 pid:5752 tgid:5752 ppid:1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5322 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6682 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6861 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6885 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] zap_pte_range mm/memory.c:1691 [inline] zap_pmd_range mm/memory.c:1739 [inline] zap_pud_range mm/memory.c:1768 [inline] zap_p4d_range mm/memory.c:1789 [inline] unmap_page_range+0x36b1/0x40e0 mm/memory.c:1810 unmap_vmas+0x3cc/0x5f0 mm/memory.c:1900 exit_mmap+0x275/0xc40 mm/mmap.c:1864 __mmput+0x115/0x390 kernel/fork.c:1347 exit_mm+0x220/0x310 kernel/exit.c:571 do_exit+0x9b2/0x28e0 kernel/exit.c:926 do_group_exit+0x207/0x2c0 kernel/exit.c:1088 get_signal+0x16a3/0x1740 kernel/signal.c:2917 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 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:0x7fe0985b00e5 RSP: 002b:00007ffda20b8230 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: 0000000000000000 RBX: 000000000000003d RCX: 00007fe0985b00e5 RDX: 00007ffda20b8270 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007ffda20b82cc R08: 0000000000000000 R09: 7fffffffffffffff R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000060 R13: 000000000002a18e R14: 000000000002a18e R15: 00007ffda20b8320 task:syz-executor state:R running task stack:20992 pid:5754 tgid:5754 ppid:5746 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5322 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6682 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6861 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6885 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:1108 [inline] free_unref_page+0xcfb/0xf20 mm/page_alloc.c:2638 discard_slab mm/slub.c:2677 [inline] __put_partials+0xeb/0x130 mm/slub.c:3145 put_cpu_partial+0x17c/0x250 mm/slub.c:3220 __slab_free+0x2ea/0x3d0 mm/slub.c:4449 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/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:247 [inline] slab_post_alloc_hook mm/slub.c:4085 [inline] slab_alloc_node mm/slub.c:4134 [inline] kmem_cache_alloc_noprof+0x135/0x2a0 mm/slub.c:4141 vma_lock_alloc kernel/fork.c:446 [inline] vm_area_dup+0x61/0x290 kernel/fork.c:499 dup_mmap kernel/fork.c:696 [inline] dup_mm kernel/fork.c:1674 [inline] copy_mm+0xc94/0x1f40 kernel/fork.c:1723 copy_process+0x1845/0x3d50 kernel/fork.c:2372 kernel_clone+0x226/0x8f0 kernel/fork.c:2784 __do_sys_clone kernel/fork.c:2927 [inline] __se_sys_clone kernel/fork.c:2911 [inline] __x64_sys_clone+0x258/0x2a0 kernel/fork.c:2911 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:0x7f7000574853 RSP: 002b:00007fffa67c89b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7000574853 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 000055557c5ab7d0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000027b71 R14: 0000000000027b20 R15: 00007fffa67c8b40 rcu: rcu_preempt kthread starved for 9316 jiffies! g16289 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:25656 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5322 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6682 __schedule_loop kernel/sched/core.c:6759 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6774 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2615 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: CPU: 1 UID: 0 PID: 24 Comm: ksoftirqd/1 Not tainted 6.12.0-rc2-syzkaller-00550-g76d37e4fd638 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:timekeeping_debug_get_ns kernel/time/timekeeping.c:273 [inline] RIP: 0010:timekeeping_get_ns+0x1c1/0x420 kernel/time/timekeeping.c:401 Code: 59 12 00 49 39 dc 0f 82 38 01 00 00 e8 a8 56 12 00 48 8b 5c 24 08 4c 89 ef 48 89 ee e8 f8 58 12 00 49 39 ed 0f 87 2e 01 00 00 8a 56 12 00 4c 89 f0 48 8b 4c 24 20 42 80 3c 31 00 74 08 48 89 RSP: 0018:ffffc900001e7618 EFLAGS: 00000297 RAX: 0000000000000100 RBX: ffffffff8e958640 RCX: ffff88801d2f0000 RDX: 0000000000000100 RSI: 000001fb63109b96 RDI: 0000000001d30db1 RBP: 000001fb63109b96 R08: ffffffff818290b8 R09: 1ffffffff203a215 R10: dffffc0000000000 R11: ffffffff8135d400 R12: fffffffffe2cf24e R13: 0000000001d30db1 R14: dffffc0000000000 R15: 00000094e45f1684 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d991138f18 CR3: 000000002d022000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ktime_get_with_offset+0xed/0x150 kernel/time/timekeeping.c:893 ktime_get_real include/linux/timekeeping.h:82 [inline] netif_rx_internal+0x459/0x630 net/core/dev.c:5174 netif_rx+0x59/0x90 net/core/dev.c:5250 can_send+0x92c/0xcd0 net/can/af_can.c:286 bcm_can_tx+0x5dd/0x9a0 net/can/bcm.c:314 bcm_tx_timeout_handler+0x182/0x520 __run_hrtimer kernel/time/hrtimer.c:1691 [inline] __hrtimer_run_queues+0x59b/0xd50 kernel/time/hrtimer.c:1755 hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1772 handle_softirqs+0x2c5/0x980 kernel/softirq.c:554 run_ksoftirqd+0xca/0x130 kernel/softirq.c:927 smpboot_thread_fn+0x544/0xa30 kernel/smpboot.c:164 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