rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P19431/1:b..l P20180/1:b..l P24316/1:b..l P24349/1:b..l rcu: (detected by 0, t=10502 jiffies, g=116137, q=293 ncpus=2) task:syz.4.4114 state:R running task stack:28248 pid:24349 tgid:24336 ppid:20475 task_flags:0x400140 flags:0x00080000 Call Trace: context_switch kernel/sched/core.c:5325 [inline] __schedule+0x1190/0x5de0 kernel/sched/core.c:6929 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7256 irqentry_exit+0x36/0x90 kernel/entry/common.c:211 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_acquire+0x62/0x350 kernel/locking/lockdep.c:5872 Code: a6 08 12 83 f8 07 0f 87 bc 02 00 00 89 c0 48 0f a3 05 22 33 e9 0e 0f 82 74 02 00 00 8b 35 9a 63 e9 0e 85 f6 0f 85 8d 00 00 00 <48> 8b 44 24 30 65 48 2b 05 39 a6 08 12 0f 85 c7 02 00 00 48 83 c4 RSP: 0018:ffffc90003cef628 EFLAGS: 00000206 RAX: 0000000000000046 RBX: ffffffff8e3c4720 RCX: 00000000dd23809f RDX: 0000000000000000 RSI: ffffffff8da05cdf RDI: ffffffff8bf070c0 RBP: 0000000000000002 R08: 2f7121b6a06eccce R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:331 [inline] rcu_read_lock include/linux/rcupdate.h:867 [inline] is_bpf_text_address+0x36/0x1a0 kernel/bpf/core.c:744 kernel_text_address kernel/extable.c:125 [inline] kernel_text_address+0x8d/0x100 kernel/extable.c:94 __kernel_text_address+0xd/0x40 kernel/extable.c:79 unwind_get_return_address+0x59/0xa0 arch/x86/kernel/unwind_orc.c:369 arch_stack_walk+0xa6/0x100 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x60 mm/kasan/common.c:56 kasan_save_track+0x14/0x30 mm/kasan/common.c:77 poison_kmalloc_redzone mm/kasan/common.c:400 [inline] __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:417 kasan_kmalloc include/linux/kasan.h:262 [inline] __do_kmalloc_node mm/slub.c:5646 [inline] __kmalloc_noprof+0x32f/0x880 mm/slub.c:5658 kmalloc_noprof include/linux/slab.h:961 [inline] kzalloc_noprof include/linux/slab.h:1094 [inline] __netlink_kernel_create+0x17f/0x750 net/netlink/af_netlink.c:2030 netlink_kernel_create include/linux/netlink.h:62 [inline] audit_net_init+0x1ae/0x440 kernel/audit.c:1694 ops_init+0x1e2/0x5f0 net/core/net_namespace.c:137 setup_net+0x100/0x390 net/core/net_namespace.c:445 copy_net_ns+0x2f8/0x690 net/core/net_namespace.c:580 create_new_namespaces+0x3ea/0xa90 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0xc0/0x1f0 kernel/nsproxy.c:218 ksys_unshare+0x45b/0xa40 kernel/fork.c:3129 __do_sys_unshare kernel/fork.c:3200 [inline] __se_sys_unshare kernel/fork.c:3198 [inline] __x64_sys_unshare+0x31/0x40 kernel/fork.c:3198 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff728b8f6c9 RSP: 002b:00007ff72996b038 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007ff728de6090 RCX: 00007ff728b8f6c9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040020000 RBP: 00007ff728c11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ff728de6128 R14: 00007ff728de6090 R15: 00007ffdae13f8a8 task:syz.0.4107 state:R running task stack:23496 pid:24316 tgid:24316 ppid:20180 task_flags:0x400640 flags:0x00080001 Call Trace: context_switch kernel/sched/core.c:5325 [inline] __schedule+0x1190/0x5de0 kernel/sched/core.c:6929 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7256 irqentry_exit+0x36/0x90 kernel/entry/common.c:211 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:get_current arch/x86/include/asm/current.h:25 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x8/0x70 kernel/kcov.c:216 Code: e9 5d 1c 5d 00 be 03 00 00 00 5b e9 02 ab e7 02 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 34 24 <65> 48 8b 15 38 87 e4 11 65 8b 05 49 87 e4 11 a9 00 01 ff 00 74 1d RSP: 0018:ffffc90003efe620 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff822fa13f RDX: ffff888053f9a480 RSI: ffffffff822fa36a RDI: 0000000000000006 RBP: 0000000000006bbf R08: 0000000000000006 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000001 R12: ffff88801ce1abb0 R13: dffffc0000000000 R14: 0000000000000001 R15: 0000000000000000 rcu_read_unlock include/linux/rcupdate.h:895 [inline] __update_page_owner_handle+0x36a/0x550 mm/page_owner.c:261 __set_page_owner+0x126/0x560 mm/page_owner.c:333 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1c0/0x230 mm/page_alloc.c:1850 prep_new_page mm/page_alloc.c:1858 [inline] get_page_from_freelist+0x10a3/0x3a30 mm/page_alloc.c:3884 __alloc_frozen_pages_noprof+0x25f/0x2470 mm/page_alloc.c:5183 alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2416 folio_alloc_mpol_noprof+0x36/0x2f0 mm/mempolicy.c:2435 shmem_alloc_folio+0x135/0x160 mm/shmem.c:1871 shmem_alloc_and_add_folio+0x499/0xc20 mm/shmem.c:1910 shmem_get_folio_gfp+0x67f/0x1610 mm/shmem.c:2533 shmem_get_folio mm/shmem.c:2639 [inline] shmem_write_begin+0x160/0x300 mm/shmem.c:3289 generic_perform_write+0x3c4/0x900 mm/filemap.c:4242 shmem_file_write_iter+0x10e/0x140 mm/shmem.c:3464 __kernel_write_iter+0x31a/0xb10 fs/read_write.c:619 dump_emit_page fs/coredump.c:1298 [inline] dump_user_range+0x413/0xb70 fs/coredump.c:1372 elf_core_dump+0x29c3/0x3c00 fs/binfmt_elf.c:2111 coredump_write fs/coredump.c:1049 [inline] vfs_coredump+0x2b9f/0x5670 fs/coredump.c:1170 get_signal+0x22e1/0x26d0 kernel/signal.c:3019 arch_do_signal_or_restart+0x8f/0x7c0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:40 [inline] exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] irqentry_exit_to_user_mode+0x176/0x310 kernel/entry/common.c:73 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:618 RIP: 0033:0xc6d69271a9 RSP: 002b:0000200000000528 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007f0d40be6090 RCX: 00007f0d4098f6c9 RDX: 0000200000000180 RSI: 0000200000000520 RDI: 0000000001000000 RBP: 00007f0d40a11f91 R08: 0000200000000580 R09: 0000200000000580 R10: 00002000000003c0 R11: 0000000000000206 R12: 0000000000000000 R13: 00007f0d40be6128 R14: 00007f0d40be6090 R15: 00007fff081230e8 task:syz-executor state:R running task stack:23160 pid:20180 tgid:20180 ppid:20168 task_flags:0x400140 flags:0x00080000 Call Trace: context_switch kernel/sched/core.c:5325 [inline] __schedule+0x1190/0x5de0 kernel/sched/core.c:6929 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7256 irqentry_exit+0x36/0x90 kernel/entry/common.c:211 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 RIP: 0010:lock_acquire+0x62/0x350 kernel/locking/lockdep.c:5872 Code: a6 08 12 83 f8 07 0f 87 bc 02 00 00 89 c0 48 0f a3 05 22 33 e9 0e 0f 82 74 02 00 00 8b 35 9a 63 e9 0e 85 f6 0f 85 8d 00 00 00 <48> 8b 44 24 30 65 48 2b 05 39 a6 08 12 0f 85 c7 02 00 00 48 83 c4 RSP: 0018:ffffc900047b7be0 EFLAGS: 00000206 RAX: 0000000000000046 RBX: ffffffff8e3c4720 RCX: 00000000ef9d33e4 RDX: 0000000000000000 RSI: ffffffff8da05cdf RDI: ffffffff8bf070c0 RBP: 0000000000000002 R08: 0ac0d5affe09d4ff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:331 [inline] rcu_read_lock include/linux/rcupdate.h:867 [inline] percpu_ref_get_many include/linux/percpu-refcount.h:202 [inline] percpu_ref_get include/linux/percpu-refcount.h:222 [inline] obj_cgroup_get include/linux/memcontrol.h:780 [inline] __memcg_slab_post_alloc_hook+0x449/0x940 mm/memcontrol.c:3193 memcg_slab_post_alloc_hook mm/slub.c:2338 [inline] slab_post_alloc_hook mm/slub.c:4985 [inline] slab_alloc_node mm/slub.c:5284 [inline] kmem_cache_alloc_noprof+0x550/0x6e0 mm/slub.c:5291 alloc_empty_file+0x55/0x1e0 fs/file_table.c:237 alloc_file fs/file_table.c:354 [inline] alloc_file_pseudo+0x13a/0x230 fs/file_table.c:383 sock_alloc_file+0x50/0x210 net/socket.c:483 sock_map_fd net/socket.c:513 [inline] __sys_socket+0x1c0/0x260 net/socket.c:1756 __do_sys_socket net/socket.c:1761 [inline] __se_sys_socket net/socket.c:1759 [inline] __x64_sys_socket+0x72/0xb0 net/socket.c:1759 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0d409915e7 RSP: 002b:00007fff08122db8 EFLAGS: 00000206 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 00000000ffffffff RCX: 00007f0d409915e7 RDX: 0000000000000006 RSI: 0000000000000001 RDI: 0000000000000002 RBP: 00007fff081234ac R08: 00007fff08122dac R09: 00007fff081231b7 R10: 00007fff08122e30 R11: 0000000000000206 R12: 00000000000000bb R13: 00000000000927c0 R14: 000000000014bfda R15: 00007fff08123500 task:syz-executor state:R running task stack:23976 pid:19431 tgid:19431 ppid:19417 task_flags:0x400140 flags:0x00080000 Call Trace: context_switch kernel/sched/core.c:5325 [inline] __schedule+0x1190/0x5de0 kernel/sched/core.c:6929 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7256 irqentry_exit+0x36/0x90 kernel/entry/common.c:211 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 RIP: 0010:check_kcov_mode kernel/kcov.c:185 [inline] RIP: 0010:write_comp_data+0x3c/0x90 kernel/kcov.c:246 Code: 8b 05 c8 8d e4 11 a9 00 01 ff 00 74 1d f6 c4 01 74 67 a9 00 00 0f 00 75 60 a9 00 00 f0 00 75 59 8b 82 7c 16 00 00 85 c0 74 4f <8b> 82 58 16 00 00 83 f8 03 75 44 48 8b 82 60 16 00 00 8b 92 5c 16 RSP: 0018:ffffc9001bb17530 EFLAGS: 00000246 RAX: 0000000080000000 RBX: 000000000000002e RCX: ffffffff845dcd4f RDX: ffff888052ce0000 RSI: 000000000000017f RDI: 0000000000000005 RBP: ffff8880320f01e0 R08: 0000000000000005 R09: 000000000000017f R10: 000000000000002e R11: 0000000000000001 R12: ffff8880320f01e8 R13: 0000000000000600 R14: ffffc9001bb178e8 R15: dffffc0000000000 ebitmap_next_positive security/selinux/ss/ebitmap.h:73 [inline] context_struct_compute_av+0x85f/0x1270 security/selinux/ss/services.c:661 security_compute_av+0x5ec/0x11d0 security/selinux/ss/services.c:1177 avc_compute_av+0x83/0x7f0 security/selinux/avc.c:991 avc_perm_nonode+0xab/0x180 security/selinux/avc.c:1116 avc_has_perm_noaudit+0x2de/0x3b0 security/selinux/avc.c:1159 cred_has_capability security/selinux/hooks.c:1659 [inline] selinux_vm_enough_memory+0x12a/0x190 security/selinux/hooks.c:2233 security_vm_enough_memory_mm+0x96/0x110 security/security.c:1269 dup_mmap+0x1329/0x2280 mm/mmap.c:1775 dup_mm kernel/fork.c:1489 [inline] copy_mm kernel/fork.c:1541 [inline] copy_process+0x3f0c/0x76a0 kernel/fork.c:2181 kernel_clone+0xfc/0x930 kernel/fork.c:2609 __do_sys_clone+0xce/0x120 kernel/fork.c:2750 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4a16385e13 RSP: 002b:00007ffe76bd7f38 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f4a16385e13 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001 R10: 000055558c7e17d0 R11: 0000000000000246 R12: 0000000000000000 R13: 00000000000927c0 R14: 000000000014c476 R15: 00007ffe76bd80d0 rcu: rcu_preempt kthread starved for 10339 jiffies! g116137 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:27976 pid:16 tgid:16 ppid:2 task_flags:0x208040 flags:0x00080000 Call Trace: context_switch kernel/sched/core.c:5325 [inline] __schedule+0x1190/0x5de0 kernel/sched/core.c:6929 __schedule_loop kernel/sched/core.c:7011 [inline] schedule+0xe7/0x3a0 kernel/sched/core.c:7026 schedule_timeout+0x123/0x290 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x1ea/0xaf0 kernel/rcu/tree.c:2083 rcu_gp_kthread+0x26d/0x380 kernel/rcu/tree.c:2285 kthread+0x3c5/0x780 kernel/kthread.c:463 ret_from_fork+0x675/0x7d0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:pv_native_safe_halt+0xf/0x20 arch/x86/kernel/paravirt.c:82 Code: d7 6c 02 c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d 23 86 29 00 fb f4 3c 0a 03 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 RSP: 0018:ffffffff8e007df8 EFLAGS: 000002c6 RAX: 0000000005f95a35 RBX: 0000000000000000 RCX: ffffffff8b60a2a9 RDX: 0000000000000000 RSI: ffffffff8da2b6a1 RDI: ffffffff8bf070c0 RBP: fffffbfff1c12f40 R08: 0000000000000001 R09: ffffed1017086655 R10: ffff8880b84332ab R11: 0000000000000001 R12: 0000000000000000 R13: ffffffff8e097a00 R14: ffffffff90820cd0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff888124a08000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000339000 CR3: 000000007e450000 CR4: 00000000003526f0 Call Trace: arch_safe_halt arch/x86/include/asm/paravirt.h:107 [inline] default_idle+0x13/0x20 arch/x86/kernel/process.c:767 default_idle_call+0x6c/0xb0 kernel/sched/idle.c:122 cpuidle_idle_call kernel/sched/idle.c:190 [inline] do_idle+0x38d/0x500 kernel/sched/idle.c:330 cpu_startup_entry+0x4f/0x60 kernel/sched/idle.c:428 rest_init+0x16b/0x2b0 init/main.c:757 start_kernel+0x3f6/0x4e0 init/main.c:1111 x86_64_start_reservations+0x18/0x30 arch/x86/kernel/head64.c:310 x86_64_start_kernel+0x130/0x190 arch/x86/kernel/head64.c:291 common_startup_64+0x13e/0x148