rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=d16c/1/0x4000000000000000 softirq=40160/40161 fqs=1 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5208/2:b..l P5854/1:b..l rcu: (detected by 1, t=10502 jiffies, g=44669, q=195 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 9770 Comm: syz.5.1200 Not tainted 6.14.0-rc2-syzkaller-00039-g09fbf3d50205 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:lock_acquire+0x37/0x550 kernel/locking/lockdep.c:5819 Code: 55 41 54 53 48 83 e4 e0 48 81 ec 20 01 00 00 4c 89 4c 24 28 4c 89 44 24 38 48 89 4c 24 30 89 54 24 1c 41 89 f6 48 89 7c 24 20 <65> 48 8b 04 25 28 00 00 00 48 89 84 24 00 01 00 00 49 bd 00 00 00 RSP: 0018:ffffc90003547ae0 EFLAGS: 00000082 RAX: 0000000000000002 RBX: 1ffff920006a8f8c RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8f0e6cd8 RBP: ffffc90003547c28 R08: 0000000000000001 R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff1e1cd99 R12: 0000000000000046 R13: 1ffff920006a8f88 R14: 0000000000000000 R15: dffffc0000000000 FS: 000055555f8fe500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8ff6c00218 CR3: 0000000053e76000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 vga_put drivers/pci/vgaarb.c:547 [inline] vga_arb_release+0x230/0xaf0 drivers/pci/vgaarb.c:1455 __fput+0x3e9/0x9f0 fs/file_table.c:464 task_work_run+0x24f/0x310 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x13f/0x340 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:0x7fa19998cde9 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:00007fa199ccfb88 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 0000000000050413 RCX: 00007fa19998cde9 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007fa199ba7ba0 R08: 0000000000000001 R09: 0000002199ccfe7f R10: 00007fa199800000 R11: 0000000000000246 R12: 00007fa199ba608c R13: 00007fa199ba6080 R14: ffffffffffffffff R15: 00007fa199ccfca0 task:syz-executor state:R running task stack:19536 pid:5854 tgid:5854 ppid:5832 task_flags:0x400140 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5377 [inline] __schedule+0x190e/0x4c90 kernel/sched/core.c:6764 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6943 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6967 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] copy_pte_range mm/memory.c:1201 [inline] copy_pmd_range+0x6dc8/0x77a0 mm/memory.c:1262 copy_pud_range mm/memory.c:1299 [inline] copy_p4d_range mm/memory.c:1323 [inline] copy_page_range+0x99f/0xe90 mm/memory.c:1421 dup_mmap kernel/fork.c:748 [inline] dup_mm kernel/fork.c:1700 [inline] copy_mm+0x1269/0x2160 kernel/fork.c:1752 copy_process+0x1845/0x3d50 kernel/fork.c:2403 kernel_clone+0x226/0x8e0 kernel/fork.c:2815 __do_sys_clone kernel/fork.c:2958 [inline] __se_sys_clone kernel/fork.c:2942 [inline] __x64_sys_clone+0x258/0x2a0 kernel/fork.c:2942 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:0x7fe123d83653 RSP: 002b:00007fe1240cfca8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe123d83653 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001 R10: 000055556e3647d0 R11: 0000000000000246 R12: 0000000000000000 R13: 00000000000927c0 R14: 0000000000050474 R15: 00007fe1240cfe40 task:udevd state:R running task stack:21376 pid:5208 tgid:5208 ppid:1 task_flags:0x400140 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5377 [inline] __schedule+0x190e/0x4c90 kernel/sched/core.c:6764 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7086 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:seqcount_lockdep_reader_access+0x1d6/0x220 include/linux/seqlock.h:75 Code: 62 e8 ce 64 77 ff 4d 85 f6 48 bb 00 00 00 00 00 fc ff df 75 07 e8 ba 64 77 ff eb 06 e8 b3 64 77 ff fb 48 c7 04 24 0e 36 e0 45 <4a> c7 04 23 00 00 00 00 66 42 c7 44 23 09 00 00 42 c6 44 23 0b 00 RSP: 0018:ffffc90002fa73a0 EFLAGS: 00000293 RAX: ffffffff8247eaed RBX: dffffc0000000000 RCX: ffff88807ce60000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90002fa7450 R08: ffffffff8247eac8 R09: 1ffffffff285f710 R10: dffffc0000000000 R11: fffffbfff285f711 R12: 1ffff920005f4e74 R13: ffffc90002fa73c0 R14: 0000000000000200 R15: 0000000000000046 read_seqbegin include/linux/seqlock.h:836 [inline] read_seqbegin_or_lock include/linux/seqlock.h:1130 [inline] prepend_path+0x297/0xbe0 fs/d_path.c:171 d_absolute_path+0x179/0x310 fs/d_path.c:234 tomoyo_get_absolute_path security/tomoyo/realpath.c:101 [inline] tomoyo_realpath_from_path+0x2b4/0x5e0 security/tomoyo/realpath.c:271 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x2b7/0x740 security/tomoyo/file.c:822 security_file_truncate+0xac/0x250 security/security.c:3146 handle_truncate fs/namei.c:3449 [inline] do_open fs/namei.c:3834 [inline] path_openat+0x2dbf/0x3590 fs/namei.c:3989 do_filp_open+0x27f/0x4e0 fs/namei.c:4016 do_sys_openat2+0x13e/0x1d0 fs/open.c:1428 do_sys_open fs/open.c:1443 [inline] __do_sys_openat fs/open.c:1459 [inline] __se_sys_openat fs/open.c:1454 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1454 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:0x7f7214f169a4 RSP: 002b:00007ffcfbcbf3c0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f7214f169a4 RDX: 0000000000080241 RSI: 00007ffcfbcbf7f8 RDI: 00000000ffffff9c RBP: 00007ffcfbcbf7f8 R08: 0000000000000004 R09: 0000000000000001 R10: 00000000000001b6 R11: 0000000000000246 R12: 0000000000080241 R13: 000055f3ca57372e R14: 0000000000000001 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10500 jiffies! g44669 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:26104 pid:17 tgid:17 ppid:2 task_flags:0x208040 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5377 [inline] __schedule+0x190e/0x4c90 kernel/sched/core.c:6764 __schedule_loop kernel/sched/core.c:6841 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6856 schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2024 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2226 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148 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: 5853 Comm: syz-executor Not tainted 6.14.0-rc2-syzkaller-00039-g09fbf3d50205 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x1ba4/0x2d30 kernel/smp.c:885 Code: 03 84 c0 75 7e 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 b0 e8 0b 00 41 83 e4 01 4c 8b 64 24 68 75 07 e8 60 e4 0b 00 eb 41 f3 90 <48> b8 00 00 00 00 00 fc ff df 0f b6 04 03 84 c0 75 11 41 f7 45 00 RSP: 0018:ffffc90003dff560 EFLAGS: 00000293 RAX: ffffffff81b36b65 RBX: 1ffff110170c8c99 RCX: ffff888012a3bc00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90003dff760 R08: ffffffff81b36b30 R09: 1ffffffff285f70e R10: dffffc0000000000 R11: fffffbfff285f70f R12: ffff8880b873fb48 R13: ffff8880b86464c8 R14: ffff8880b873fb40 R15: 0000000000000000 FS: 000055558f94a500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b19e8f2950 CR3: 0000000061442000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1052 __flush_tlb_multi arch/x86/include/asm/paravirt.h:91 [inline] flush_tlb_multi arch/x86/mm/tlb.c:966 [inline] flush_tlb_mm_range+0x42d/0x710 arch/x86/mm/tlb.c:1054 dup_mmap kernel/fork.c:787 [inline] dup_mm kernel/fork.c:1700 [inline] copy_mm+0x18af/0x2160 kernel/fork.c:1752 copy_process+0x1845/0x3d50 kernel/fork.c:2403 kernel_clone+0x226/0x8e0 kernel/fork.c:2815 __do_sys_clone kernel/fork.c:2958 [inline] __se_sys_clone kernel/fork.c:2942 [inline] __x64_sys_clone+0x258/0x2a0 kernel/fork.c:2942 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:0x7f4699d83653 Code: 1f 84 00 00 00 00 00 64 48 8b 04 25 10 00 00 00 45 31 c0 31 d2 31 f6 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 89 c2 85 c0 75 2c 64 48 8b 04 25 10 00 00 RSP: 002b:00007f469a0cfca8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f4699d83653 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001 R10: 000055558f94a7d0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000047 R14: 000000000004fe62 R15: 00007f469a0cfe40