rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-....: (1 GPs behind) idle=31d/1/0x4000000000000000 softirq=25809/25810 fqs=15 (t=10501 jiffies g=42313 q=1401) rcu: rcu_preempt kthread starved for 1870 jiffies! g42313 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:28904 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881 rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1955 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2128 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 1108 Comm: kworker/u4:5 Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: writeback wb_workfn (flush-8:0) RIP: 0010:csd_lock_wait kernel/smp.c:440 [inline] RIP: 0010:smp_call_function_many_cond+0x452/0xc20 kernel/smp.c:969 Code: 0b 00 85 ed 74 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 f4 4c 89 f5 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 70 79 0b 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 33 06 00 00 8b 43 08 31 RSP: 0018:ffffc90004b4ecb8 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b9d3dd40 RCX: 0000000000000000 RDX: ffff88801d754140 RSI: ffffffff816b8680 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff816b86a6 R11: 0000000000000000 R12: ffffed10173a7ba9 R13: 0000000000000001 R14: ffff8880b9d3dd48 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd1648401f0 CR3: 000000007731a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x56/0xa0 kernel/smp.c:1135 __flush_tlb_multi arch/x86/include/asm/paravirt.h:87 [inline] flush_tlb_multi arch/x86/mm/tlb.c:927 [inline] flush_tlb_mm_range+0x1d8/0x230 arch/x86/mm/tlb.c:1013 flush_tlb_page arch/x86/include/asm/tlbflush.h:239 [inline] ptep_clear_flush+0x12b/0x160 mm/pgtable-generic.c:97 page_mkclean_one+0x4cc/0x8c0 mm/rmap.c:935 rmap_walk_file+0x3a5/0x6e0 mm/rmap.c:2356 rmap_walk+0x10d/0x190 mm/rmap.c:2374 folio_mkclean+0x174/0x1a0 mm/rmap.c:1003 folio_clear_dirty_for_io+0x149/0x790 mm/page-writeback.c:2757 mpage_submit_page+0x80/0x2a0 fs/ext4/inode.c:2075 mpage_process_page_bufs+0x681/0x7a0 fs/ext4/inode.c:2209 mpage_prepare_extent_to_map+0x94f/0xe60 fs/ext4/inode.c:2621 ext4_writepages+0x926/0x3b90 fs/ext4/inode.c:2749 do_writepages+0x1ab/0x690 mm/page-writeback.c:2364 __writeback_single_inode+0x126/0xff0 fs/fs-writeback.c:1616 writeback_sb_inodes+0x53d/0xf30 fs/fs-writeback.c:1881 __writeback_inodes_wb+0xc6/0x280 fs/fs-writeback.c:1951 wb_writeback+0x7f8/0xc30 fs/fs-writeback.c:2056 wb_check_old_data_flush fs/fs-writeback.c:2156 [inline] wb_do_writeback fs/fs-writeback.c:2209 [inline] wb_workfn+0x8cf/0x12d0 fs/fs-writeback.c:2238 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 NMI backtrace for cpu 1 CPU: 1 PID: 14951 Comm: syz-executor.4 Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1ae/0x220 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_dump_cpu_stacks+0x25e/0x3f0 kernel/rcu/tree_stall.h:343 print_cpu_stall kernel/rcu/tree_stall.h:627 [inline] check_cpu_stall kernel/rcu/tree_stall.h:711 [inline] rcu_pending kernel/rcu/tree.c:3878 [inline] rcu_sched_clock_irq.cold+0x9d/0x746 kernel/rcu/tree.c:2597 update_process_times+0x16d/0x200 kernel/time/timer.c:1785 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:226 tick_sched_timer+0x1b0/0x2d0 kernel/time/tick-sched.c:1421 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x1c0/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x40/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:pie_calculate_probability+0x6b/0x7c0 net/sched/sch_pie.c:311 Code: c0 0f 85 b6 06 00 00 48 89 da 41 0f b6 6d 1a 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 07 07 00 00 48 8b 03 <31> ff 89 ee 48 89 04 24 e8 c8 93 22 fa 40 84 ed 0f 84 ee 05 00 00 RSP: 0018:ffffc90000fd8c50 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff888042dcea80 RCX: 0000000000000100 RDX: 1ffff110085b9d50 RSI: ffffffff87546fad RDI: ffff88807bd1731a RBP: 0000000000000000 R08: 0000000000000400 R09: 0000000000000000 R10: ffffffff8754ba75 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff88807bd17300 R14: 0000000000000400 R15: ffff88807bd17300 fq_pie_timer+0x170/0x2a0 net/sched/sch_fq_pie.c:383 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1421 expire_timers kernel/time/timer.c:1466 [inline] __run_timers.part.0+0x675/0xa20 kernel/time/timer.c:1734 __run_timers kernel/time/timer.c:1715 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:tomoyo_check_acl+0xe3/0x450 security/tomoyo/domain.c:173 Code: 02 00 00 44 0f b6 73 18 31 ff 44 89 f6 e8 95 59 ce fd 45 84 f6 0f 85 61 01 00 00 e8 a7 55 ce fd 48 8d 7b 19 48 89 f8 48 89 fa <48> c1 e8 03 83 e2 07 0f b6 04 28 38 d0 7f 08 84 c0 0f 85 d5 02 00 RSP: 0018:ffffc90002977758 EFLAGS: 00000202 RAX: ffff88806c996519 RBX: ffff88806c996500 RCX: ffffc900136c5000 RDX: ffff88806c996519 RSI: ffffffff83a8aa49 RDI: ffff88806c996519 RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff83a8aa3b R11: 0000000000000000 R12: ffffc90002977850 R13: ffff88806c994190 R14: 0000000000000000 R15: 0000000000000000 tomoyo_path_permission security/tomoyo/file.c:586 [inline] tomoyo_path_permission+0x1ff/0x3a0 security/tomoyo/file.c:573 tomoyo_check_open_permission+0x30f/0x380 security/tomoyo/file.c:780 tomoyo_file_open security/tomoyo/tomoyo.c:311 [inline] tomoyo_file_open+0xa3/0xd0 security/tomoyo/tomoyo.c:306 security_file_open+0x45/0xb0 security/security.c:1635 do_dentry_open+0x353/0x1250 fs/open.c:809 do_open fs/namei.c:3426 [inline] path_openat+0x1cad/0x2750 fs/namei.c:3559 do_filp_open+0x1aa/0x400 fs/namei.c:3586 do_sys_openat2+0x16d/0x4d0 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_sys_openat fs/open.c:1244 [inline] __se_sys_openat fs/open.c:1239 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1239 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f610cacdae9 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f610a043188 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f610cbe0f60 RCX: 00007f610cacdae9 RDX: 0000000000000001 RSI: 0000000020000180 RDI: ffffffffffffff9c RBP: 00007f610cb27f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe34c1131f R14: 00007f610a043300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 0b 00 or (%rax),%eax 2: 85 ed test %ebp,%ebp 4: 74 4d je 0x53 6: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax d: fc ff df 10: 4d 89 f4 mov %r14,%r12 13: 4c 89 f5 mov %r14,%rbp 16: 49 c1 ec 03 shr $0x3,%r12 1a: 83 e5 07 and $0x7,%ebp 1d: 49 01 c4 add %rax,%r12 20: 83 c5 03 add $0x3,%ebp 23: e8 70 79 0b 00 callq 0xb7998 28: f3 90 pause * 2a: 41 0f b6 04 24 movzbl (%r12),%eax <-- trapping instruction 2f: 40 38 c5 cmp %al,%bpl 32: 7c 08 jl 0x3c 34: 84 c0 test %al,%al 36: 0f 85 33 06 00 00 jne 0x66f 3c: 8b 43 08 mov 0x8(%rbx),%eax 3f: 31 .byte 0x31