rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P6450/1:b..l P6472/1:b..l rcu: (detected by 0, t=10502 jiffies, g=21701, q=831 ncpus=2) task:udevadm state:R running task stack:23680 pid:6472 tgid:6472 ppid:5925 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6529 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6851 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_is_held_type+0x13b/0x190 Code: 75 44 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 4c 41 f7 c4 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 08 75 42 89 d8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f RSP: 0018:ffffc90008fb76e8 EFLAGS: 00000206 RAX: 4d426fd1549a5600 RBX: 0000000000000001 RCX: ffff88802af18000 RDX: 0000000000000000 RSI: ffffffff8c0ae6e0 RDI: ffffffff8c606400 RBP: 0000000000000000 R08: ffffffff8badc385 R09: ffffffff8badc2bb R10: 0000000000000004 R11: ffff88802af18000 R12: 0000000000000246 R13: ffff88802af18000 R14: 00000000ffffffff R15: ffff88802c789498 lock_is_held include/linux/lockdep.h:249 [inline] mt_locked lib/maple_tree.c:781 [inline] mt_slot lib/maple_tree.c:788 [inline] mas_slot lib/maple_tree.c:821 [inline] mas_get_slot+0x15e/0x250 lib/maple_tree.c:7054 mt_validate+0x27d2/0x4aa0 lib/maple_tree.c:7593 validate_mm+0xe7/0x530 mm/mmap.c:329 mmap_region+0x1a61/0x2090 mm/mmap.c:3071 do_mmap+0x8f9/0x1010 mm/mmap.c:1468 vm_mmap_pgoff+0x1dd/0x3d0 mm/util.c:588 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:0x7f7275b44b74 RSP: 002b:00007ffc76cec508 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 0000000000000440 RCX: 00007f7275b44b74 RDX: 0000000000000003 RSI: 0000000000002000 RDI: 0000000000000000 RBP: 0000000000002000 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000000022 R11: 0000000000000246 R12: 0000000000000043 R13: 0000000000000000 R14: 0000000000000000 R15: 00007f7275b592a0 task:syz.5.195 state:R running task stack:24792 pid:6450 tgid:6444 ppid:5965 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6529 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6851 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:unwind_get_return_address+0x5f/0xc0 arch/x86/kernel/unwind_orc.c:369 Code: 52 00 85 ed 74 4a 48 83 c3 48 49 89 df 49 c1 ef 03 43 80 3c 37 00 74 08 48 89 df e8 1b a8 b9 00 48 8b 3b e8 53 70 1e 00 89 c5 <31> ff 89 c6 e8 d8 65 52 00 85 ed 74 20 e8 8f 61 52 00 43 80 3c 37 RSP: 0018:ffffc90003ed7558 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffffc90003ed75c8 RCX: ffffffff9174a000 RDX: ffffffff918e7e01 RSI: 0000000000000001 RDI: ffffffff8204410b RBP: 0000000000000001 R08: ffffffff814115c7 R09: ffffffff814130bf R10: 0000000000000003 R11: ffff8880569bbc00 R12: ffff8880569bbc00 R13: ffffffff817f1e20 R14: dffffc0000000000 R15: 1ffff920007daeb9 arch_stack_walk+0x125/0x1b0 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+0x75/0x3f0 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1094 [inline] free_unref_page+0xd22/0xea0 mm/page_alloc.c:2612 discard_slab mm/slub.c:2583 [inline] __put_partials+0xeb/0x130 mm/slub.c:3051 put_cpu_partial+0x17c/0x250 mm/slub.c:3126 __slab_free+0x2ea/0x3d0 mm/slub.c:4343 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:322 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3988 [inline] slab_alloc_node mm/slub.c:4037 [inline] __do_kmalloc_node mm/slub.c:4157 [inline] __kmalloc_noprof+0x1a6/0x400 mm/slub.c:4170 kmalloc_noprof include/linux/slab.h:685 [inline] tomoyo_realpath_from_path+0xcf/0x5e0 security/tomoyo/realpath.c:251 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_number_perm+0x23a/0x880 security/tomoyo/file.c:723 security_file_ioctl+0x77/0xb0 security/security.c:2791 __do_sys_ioctl fs/ioctl.c:901 [inline] __se_sys_ioctl+0x47/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:0x7f465cd795fb RSP: 002b:00007f465c7fedc0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000000000d RCX: 00007f465cd795fb RDX: 000000000000000c RSI: 0000000000004c00 RDI: 000000000000000d RBP: 0000000000000000 R08: 0000000000000000 R09: 00000000000054f2 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000000c R13: 00007f465c7feef0 R14: 00007f465c7feeb0 R15: 00007f4652400000 rcu: rcu_preempt kthread starved for 10538 jiffies! g21701 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:24624 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2034 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2236 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: CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.11.0-rc3-syzkaller-00007-gd74da846046a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:native_irq_disable arch/x86/include/asm/irqflags.h:37 [inline] RIP: 0010:arch_local_irq_disable arch/x86/include/asm/irqflags.h:92 [inline] RIP: 0010:acpi_safe_halt+0x21/0x30 drivers/acpi/processor_idle.c:112 Code: 90 90 90 90 90 90 90 90 90 65 48 8b 04 25 40 d7 03 00 48 f7 00 08 00 00 00 75 10 eb 07 0f 00 2d e5 d6 b3 00 f3 0f 1e fa fb f4 e9 24 00 3a 00 66 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 RSP: 0018:ffffffff8e607ca8 EFLAGS: 00000246 RAX: ffffffff8e694680 RBX: ffff88801c6e9864 RCX: 000000000008f289 RDX: 0000000000000001 RSI: ffff88801c6e9800 RDI: ffff88801c6e9864 RBP: 000000000003a6b8 R08: ffff8880b9237c7b R09: 1ffff11017246f8f R10: dffffc0000000000 R11: ffffffff8bb63c90 R12: ffff888019f6f000 R13: 0000000000000000 R14: 0000000000000001 R15: ffffffff8f0dcf00 FS: 0000000000000000(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1219e1b3bd CR3: 0000000062dbe000 CR4: 0000000000350ef0 Call Trace: acpi_idle_enter+0xe4/0x140 drivers/acpi/processor_idle.c:702 cpuidle_enter_state+0x114/0x480 drivers/cpuidle/cpuidle.c:267 cpuidle_enter+0x5d/0xa0 drivers/cpuidle/cpuidle.c:388 call_cpuidle kernel/sched/idle.c:155 [inline] cpuidle_idle_call kernel/sched/idle.c:230 [inline] do_idle+0x375/0x5d0 kernel/sched/idle.c:326 cpu_startup_entry+0x42/0x60 kernel/sched/idle.c:424 rest_init+0x2dc/0x300 init/main.c:747 start_kernel+0x47a/0x500 init/main.c:1103 x86_64_start_reservations+0x2a/0x30 arch/x86/kernel/head64.c:507 x86_64_start_kernel+0x9f/0xa0 arch/x86/kernel/head64.c:488 common_startup_64+0x13e/0x147