rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P10167/1:b..l P4887/1:b..l P4673/1:b..l rcu: (detected by 1, t=10502 jiffies, g=48025, q=322 ncpus=2) task:udevd state:R running task stack:24176 pid:4673 tgid:4673 ppid:1 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xe37/0x5490 kernel/sched/core.c:6529 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:6851 irqentry_exit+0x36/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__sanitizer_cov_trace_pc+0x41/0x70 kernel/kcov.c:216 Code: 00 48 8b 34 24 74 1d f6 c4 01 74 43 a9 00 00 0f 00 75 3c a9 00 00 f0 00 75 35 8b 82 1c 16 00 00 85 c0 74 2b 8b 82 f8 15 00 00 <83> f8 02 75 20 48 8b 8a 00 16 00 00 8b 92 fc 15 00 00 48 8b 01 48 RSP: 0018:ffffc900041cf9e0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff888033f310d0 RCX: ffffffff843f0dc7 RDX: ffff88807b9d5a00 RSI: ffffffff843f0d64 RDI: 0000000000000004 RBP: 0000000000000092 R08: 0000000000000004 R09: 0000000000000046 R10: 0000000000000092 R11: 0000000000000000 R12: dffffc0000000000 R13: 0000000000000046 R14: 0000000000000008 R15: 000000000000002d avc_search_node security/selinux/avc.c:523 [inline] avc_lookup+0x84/0x1d0 security/selinux/avc.c:552 avc_has_perm_noaudit+0x97/0x3a0 security/selinux/avc.c:1150 selinux_inode_permission+0x361/0x590 security/selinux/hooks.c:3118 security_inode_permission+0xda/0x260 security/security.c:2318 inode_permission fs/namei.c:543 [inline] inode_permission+0x17a/0x5f0 fs/namei.c:510 may_lookup fs/namei.c:1760 [inline] link_path_walk.part.0.constprop.0+0x1d7/0xd40 fs/namei.c:2366 link_path_walk fs/namei.c:2349 [inline] path_lookupat+0x93/0x770 fs/namei.c:2579 filename_lookup+0x1e5/0x5b0 fs/namei.c:2609 do_readlinkat+0xcf/0x390 fs/stat.c:537 __do_sys_readlink fs/stat.c:574 [inline] __se_sys_readlink fs/stat.c:571 [inline] __x64_sys_readlink+0x78/0xc0 fs/stat.c:571 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8940717d47 RSP: 002b:00007ffc5916cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000059 RAX: ffffffffffffffda RBX: 00007ffc5916cc88 RCX: 00007f8940717d47 RDX: 0000000000000400 RSI: 00007ffc5916cc88 RDI: 00007ffc5916d168 RBP: 0000000000000400 R08: 000055a050491ff4 R09: 0000000000000000 R10: 0000000000000812 R11: 0000000000000246 R12: 00007ffc5916d168 R13: 00007ffc5916d0d8 R14: 000055a0504682c0 R15: 0000000000000000 task:dhcpcd state:R running task stack:22688 pid:4887 tgid:4887 ppid:4886 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xe37/0x5490 kernel/sched/core.c:6529 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:6851 irqentry_exit+0x36/0x90 kernel/entry/common.c:354 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 RIP: 0010:__update_page_owner_handle+0xcc/0x320 mm/page_owner.c:244 Code: 98 ff 44 39 f3 0f 8e e9 01 00 00 e8 9e 13 98 ff 48 8b 1d f7 4e 05 0c 4c 01 e3 48 8d 7b 08 48 89 f8 48 c1 e8 03 42 0f b6 04 28 <84> c0 74 08 3c 03 0f 8e d1 01 00 00 8b 44 24 0c 89 43 08 48 89 d8 RSP: 0018:ffffc900031172b0 EFLAGS: 00000a02 RAX: 0000000000000000 RBX: ffff88801ecbdce8 RCX: ffffffff81f3c534 RDX: ffff88802a8eda00 RSI: ffffffff81f3c542 RDI: ffff88801ecbdcf0 RBP: ffff88801ecbdce0 R08: 0000000000000004 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88801ecbdce0 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 __set_page_owner+0x13f/0x560 mm/page_owner.c:325 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x2d1/0x350 mm/page_alloc.c:1500 prep_new_page mm/page_alloc.c:1508 [inline] get_page_from_freelist+0x1351/0x2e50 mm/page_alloc.c:3446 __alloc_pages_noprof+0x22b/0x2460 mm/page_alloc.c:4702 alloc_pages_mpol_noprof+0x275/0x610 mm/mempolicy.c:2263 vm_area_alloc_pages mm/vmalloc.c:3587 [inline] __vmalloc_area_node mm/vmalloc.c:3656 [inline] __vmalloc_node_range_noprof+0x6da/0x14e0 mm/vmalloc.c:3837 alloc_thread_stack_node kernel/fork.c:313 [inline] dup_task_struct kernel/fork.c:1113 [inline] copy_process+0x2f3b/0x8dd0 kernel/fork.c:2204 kernel_clone+0xfd/0x960 kernel/fork.c:2781 __do_sys_clone3+0x1f5/0x270 kernel/fork.c:3085 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f736e8bdba9 RSP: 002b:00007ffc7d40b788 EFLAGS: 00000206 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 00007ffc7d40b7e8 RCX: 00007f736e8bdba9 RDX: 00007f736e8afe12 RSI: 0000000000000058 RDI: 00007ffc7d40b7e8 RBP: 00007f736e8afe12 R08: 00007ffc7d40b840 R09: 0000000000000000 R10: 0000000000000008 R11: 0000000000000206 R12: 00007ffc7d40b840 R13: ffffffffffffff80 R14: 0000000000000000 R15: 00007ffc7d40b840 task:syz.2.971 state:R running task stack:28784 pid:10167 tgid:10166 ppid:8866 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xe37/0x5490 kernel/sched/core.c:6529 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:6851 irqentry_exit+0x36/0x90 kernel/entry/common.c:354 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 RIP: 0010:lock_is_held_type+0x107/0x150 kernel/locking/lockdep.c:5836 Code: 00 00 b8 ff ff ff ff 65 0f c1 05 ec 7f ea 74 83 f8 01 75 2d 9c 58 f6 c4 02 75 43 48 f7 04 24 00 02 00 00 74 01 fb 48 83 c4 08 <44> 89 e8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc 45 31 ed eb RSP: 0018:ffffc9000487f8d0 EFLAGS: 00000292 RAX: 0000000000000046 RBX: ffff88802ad6a8e0 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8b4cddc0 RDI: ffffffff8bb118a0 RBP: ffffffff8ddba6a0 R08: 0000000000000000 R09: fffffbfff2d39ae0 R10: ffffffff969cd707 R11: 0000000000000000 R12: ffff88802ad69e00 R13: 0000000000000001 R14: 00000000ffffffff R15: 0000000000000000 task_css.constprop.0+0xcd/0x130 include/linux/cgroup.h:433 mem_cgroup_from_task mm/memcontrol.c:890 [inline] current_objcg_update+0x1d0/0x400 mm/memcontrol.c:2544 current_obj_cgroup mm/memcontrol.c:2570 [inline] __memcg_slab_post_alloc_hook+0x703/0x9c0 mm/memcontrol.c:2985 memcg_slab_post_alloc_hook mm/slub.c:2158 [inline] slab_post_alloc_hook mm/slub.c:3999 [inline] slab_alloc_node mm/slub.c:4038 [inline] kmem_cache_alloc_noprof+0x2c6/0x2f0 mm/slub.c:4045 alloc_empty_file+0x73/0x1e0 fs/file_table.c:209 path_openat+0xe1/0x2d60 fs/namei.c:3919 do_filp_open+0x1dc/0x430 fs/namei.c:3960 do_sys_openat2+0x17a/0x1e0 fs/open.c:1415 do_sys_open fs/open.c:1430 [inline] __do_sys_openat fs/open.c:1446 [inline] __se_sys_openat fs/open.c:1441 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1441 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb91877def9 RSP: 002b:00007fb919533038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fb918935f80 RCX: 00007fb91877def9 RDX: 0000000000000000 RSI: 0000000020000100 RDI: ffffffffffffff9c RBP: 00007fb9187f0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fb918935f80 R15: 00007ffff3c7d168 rcu: rcu_preempt kthread starved for 10612 jiffies! g48025 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:27616 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xe37/0x5490 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6621 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2034 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2236 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 10177 Comm: syz.1.973 Not tainted 6.11.0-syzkaller-02574-ga430d95c5efa #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:fpu__clear_user_states+0x6/0x1e0 arch/x86/kernel/fpu/core.c:742 Code: e9 2e ff ff ff e8 0a 78 b7 00 e9 81 fe ff ff 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 41 54 <55> 53 48 89 fb e8 b0 bb 58 00 65 48 8b 05 88 bb d0 7e 48 05 40 19 RSP: 0018:ffffc9000460fdf8 EFLAGS: 00000202 RAX: dffffc0000000000 RBX: 1ffff920008c1fc2 RCX: ffffc9000b089000 RDX: 1ffff920008c1ffd RSI: ffffffff812f66f0 RDI: ffff88802827d540 RBP: ffffc9000460ff58 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffc9000460fe30 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88802827bc00 FS: 00007fe39afde6c0(0000) GS:ffff8880b8800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe39afbcf40 CR3: 0000000058322000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: handle_signal arch/x86/kernel/signal.c:283 [inline] arch_do_signal_or_restart+0x5b9/0x7e0 arch/x86/kernel/signal.c:312 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+0x150/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe39b5a6130 Code: 83 c0 16 83 e0 f7 74 12 50 48 8d 3d 1a c8 06 00 e8 25 92 f8 ff 0f 1f 44 00 00 c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 <83> ff 21 74 0b c3 66 2e 0f 1f 84 00 00 00 00 00 55 53 48 89 f3 48 RSP: 002b:00007fe39afdda78 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 00007fe39b736130 RCX: 00007fe39b57def9 RDX: 00007fe39afdda80 RSI: 00007fe39afddbb0 RDI: 0000000000000021 RBP: 00007fe39b5f0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fe39b736130 R15: 00007ffffe3e31d8