rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P12543/1:b..l P12617/1:b..l P12616/1:b..l rcu: (detected by 0, t=10502 jiffies, g=150689, q=312 ncpus=2) task:syz-executor state:R running task stack:23072 pid:12616 tgid:12616 ppid:5214 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6675 preempt_schedule_notrace+0x100/0x140 kernel/sched/core.c:6947 preempt_schedule_notrace_thunk+0x1a/0x30 arch/x86/entry/thunk.S:13 rcu_is_watching+0x7e/0xb0 kernel/rcu/tree.c:738 rcu_read_unlock include/linux/rcupdate.h:878 [inline] page_ext_put+0x2f/0xc0 mm/page_ext.c:550 page_table_check_alloc include/linux/page_table_check.h:33 [inline] post_alloc_hook+0x206/0x230 mm/page_alloc.c:1538 prep_new_page mm/page_alloc.c:1545 [inline] get_page_from_freelist+0x3045/0x3190 mm/page_alloc.c:3457 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4733 alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2265 vm_area_alloc_pages mm/vmalloc.c:3568 [inline] __vmalloc_area_node mm/vmalloc.c:3646 [inline] __vmalloc_node_range_noprof+0xa2b/0x13f0 mm/vmalloc.c:3828 vmalloc_user_noprof+0x74/0x80 mm/vmalloc.c:3982 kcov_ioctl+0x56/0x640 kernel/kcov.c:716 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:893 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:0x7fdae397dbfb RSP: 002b:00007ffc12193d90 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000040000 RCX: 00007fdae397dbfb RDX: 0000000000040000 RSI: ffffffff80086301 RDI: 00000000000000e3 RBP: 00007fdae3b36960 R08: 00000000000000da R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000000 task:syz-executor state:R running task stack:23072 pid:12617 tgid:12617 ppid:5214 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6675 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6997 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:instrument_write include/linux/instrumented.h:40 [inline] RIP: 0010:___set_bit include/asm-generic/bitops/instrumented-non-atomic.h:28 [inline] RIP: 0010:__update_page_owner_handle mm/page_owner.c:254 [inline] RIP: 0010:__set_page_owner+0x297/0x800 mm/page_owner.c:325 Code: 46 10 49 83 c6 20 ba 10 00 00 00 4c 89 f7 48 8b 74 24 50 e8 1b f3 b4 09 4c 89 ff be 08 00 00 00 e8 be 63 f5 ff 49 0f ba 2f 00 <4c> 89 ff be 08 00 00 00 e8 ac 63 f5 ff 49 0f ba 2f 01 48 b8 00 00 RSP: 0018:ffffc9000371f740 EFLAGS: 00000257 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff82092bd2 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff88801bd28450 RBP: ffffc9000371f828 R08: ffff88801bd28457 R09: 1ffff110037a508a R10: dffffc0000000000 R11: ffffed10037a508b R12: 0000000000000000 R13: 0000000000000001 R14: ffff88801bd28478 R15: ffff88801bd28450 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1537 prep_new_page mm/page_alloc.c:1545 [inline] get_page_from_freelist+0x3045/0x3190 mm/page_alloc.c:3457 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4733 alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2265 vm_area_alloc_pages mm/vmalloc.c:3568 [inline] __vmalloc_area_node mm/vmalloc.c:3646 [inline] __vmalloc_node_range_noprof+0xa2b/0x13f0 mm/vmalloc.c:3828 vmalloc_user_noprof+0x74/0x80 mm/vmalloc.c:3982 kcov_ioctl+0x56/0x640 kernel/kcov.c:716 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:893 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:0x7fcbafd7dbfb RSP: 002b:00007ffe5b808f20 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000040000 RCX: 00007fcbafd7dbfb RDX: 0000000000040000 RSI: ffffffff80086301 RDI: 00000000000000e3 RBP: 00007fcbaff36960 R08: 00000000000000da R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000000 task:syz-executor state:R running task stack:21728 pid:12543 tgid:12543 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6675 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6997 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:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5829 Code: 2b 00 74 08 4c 89 f7 e8 aa 46 8e 00 f6 44 24 61 02 0f 85 85 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc90003baf660 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000775ed8 RCX: 215514c27f7efc00 RDX: dffffc0000000000 RSI: ffffffff8c0adc40 RDI: ffffffff8c60f860 RBP: ffffc90003baf7b0 R08: ffffffff942c5807 R09: 1ffffffff2858b00 R10: dffffc0000000000 R11: fffffbfff2858b01 R12: 1ffff92000775ed4 R13: dffffc0000000000 R14: ffffc90003baf6c0 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] page_ext_get+0x3d/0x2a0 mm/page_ext.c:525 __reset_page_owner+0x30/0x430 mm/page_owner.c:290 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 vfree+0x186/0x2e0 mm/vmalloc.c:3361 kcov_put kernel/kcov.c:439 [inline] kcov_close+0x28/0x50 kernel/kcov.c:535 __fput+0x241/0x880 fs/file_table.c:431 task_work_run+0x251/0x310 kernel/task_work.c:228 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0xa2f/0x28e0 kernel/exit.c:939 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:0x7f6a46f7fe8c RSP: 002b:00007ffcd0fed7e0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: 000000000000003c RBX: 00007f6a47c64620 RCX: 00007f6a46f7fe8c RDX: 000000000000003c RSI: 00007f6a47c64670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffcd0fed834 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f6a47c64670 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10603 jiffies! g150689 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:24848 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6675 __schedule_loop kernel/sched/core.c:6752 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6767 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+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/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: 12591 Comm: syz.2.794 Not tainted 6.12.0-rc1-syzkaller-00031-ge32cde8d2bd7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__preempt_count_add kernel/rcu/tree.c:733 [inline] RIP: 0010:rcu_is_watching+0x8/0xb0 kernel/rcu/tree.c:736 Code: 79 03 eb cd 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 41 57 41 56 <53> 65 ff 05 a8 13 89 7e e8 eb 9f 4a 0a 89 c3 83 f8 08 73 7a 49 bf RSP: 0018:ffffc9000342f828 EFLAGS: 00000057 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff81706bc0 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff901ce668 RBP: ffffc9000342f970 R08: ffffffff901ce66f R09: 1ffffffff2039ccd R10: dffffc0000000000 R11: fffffbfff2039cce R12: 1ffff92000685f14 R13: ffffffff816d791c R14: ffffc9000342f9a0 R15: dffffc0000000000 FS: 00007fbb77dff6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fca9a3a9ff8 CR3: 000000004dab0000 CR4: 0000000000350ef0 Call Trace: trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0xbf/0xa30 kernel/locking/lockdep.c:5836 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline] _raw_spin_unlock_irqrestore+0x79/0x140 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] __wake_up_common_lock+0x18c/0x1e0 kernel/sched/wait.c:108 io_cqring_wake io_uring/io_uring.h:279 [inline] io_cq_unlock_post io_uring/io_uring.c:606 [inline] __io_cqring_overflow_flush+0x708/0x8a0 io_uring/io_uring.c:659 io_cqring_do_overflow_flush io_uring/io_uring.c:671 [inline] io_cqring_wait io_uring/io_uring.c:2617 [inline] __do_sys_io_uring_enter io_uring/io_uring.c:3384 [inline] __se_sys_io_uring_enter+0x1fe7/0x2bb0 io_uring/io_uring.c:3276 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:0x7fbb7837dff9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fbb77dff038 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007fbb78535f80 RCX: 00007fbb7837dff9 RDX: 0000000000400000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007fbb783f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fbb78535f80 R15: 00007ffd74373ce8