rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5083/1:b..l rcu: (detected by 1, t=10503 jiffies, g=32229, q=141 ncpus=2) task:syz-executor.4 state:R running task stack:20680 pid:5083 ppid:5062 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x196c/0x4af0 kernel/sched/core.c:6695 preempt_schedule_irq+0xfb/0x1b0 kernel/sched/core.c:7007 irqentry_exit+0x57/0x80 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:lock_is_held_type+0x13b/0x190 Code: 75 40 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 46 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 3c 89 e8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f RSP: 0018:ffffc9000487efd0 EFLAGS: 00000206 RAX: 8673872714462a00 RBX: 0000000000000004 RCX: 0000000080000000 RDX: ffff88801f909dc0 RSI: ffffffff8b0ab580 RDI: ffffffff8b5995a0 RBP: 0000000000000001 R08: ffffffff82399777 R09: 1ffffffff20df270 R10: dffffc0000000000 R11: fffffbfff20df271 R12: 0000000000000246 R13: ffff88801f909dc0 R14: 00000000ffffffff R15: ffffffff8d32c4a0 ext4_get_group_info+0x1e0/0x400 fs/ext4/balloc.c:334 ext4_mb_good_group_nolock fs/ext4/mballoc.c:2621 [inline] ext4_mb_regular_allocator+0xb45/0x3ac0 fs/ext4/mballoc.c:2872 ext4_mb_new_blocks+0x105d/0x4b30 fs/ext4/mballoc.c:6225 ext4_ext_map_blocks+0x1e13/0x7150 fs/ext4/extents.c:4285 ext4_map_blocks+0xa2f/0x1cb0 fs/ext4/inode.c:621 ext4_getblk+0x1ef/0x7c0 fs/ext4/inode.c:819 ext4_bread+0x2e/0x180 fs/ext4/inode.c:875 ext4_append+0x323/0x5c0 fs/ext4/namei.c:83 ext4_init_new_dir+0x33e/0xa20 fs/ext4/namei.c:2981 ext4_mkdir+0x4f6/0xce0 fs/ext4/namei.c:3027 vfs_mkdir+0x29d/0x450 fs/namei.c:4120 do_mkdirat+0x264/0x520 fs/namei.c:4143 __do_sys_mkdirat fs/namei.c:4158 [inline] __se_sys_mkdirat fs/namei.c:4156 [inline] __x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4156 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fead247b5e7 RSP: 002b:00007ffc2e92b518 EFLAGS: 00000206 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007ffc2e92b5a0 RCX: 00007fead247b5e7 RDX: 00000000000001ff RSI: 00007ffc2e92b5a0 RDI: 00000000ffffff9c RBP: 00007ffc2e92b57c R08: 0000000000000005 R09: 00007ffc2e92b2b5 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000032 R13: 000000000007c726 R14: 000000000007bece R15: 000000000000001a rcu: rcu_preempt kthread timer wakeup didn't happen for 10500 jiffies! g32229 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=25379 rcu: rcu_preempt kthread starved for 10501 jiffies! g32229 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:26096 pid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x196c/0x4af0 kernel/sched/core.c:6695 schedule+0xc3/0x180 kernel/sched/core.c:6771 schedule_timeout+0x1bd/0x300 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x2c6/0x1010 kernel/rcu/tree.c:1613 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1812 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 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: 8120 Comm: syz-executor.5 Not tainted 6.6.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:trace_lock_release include/trace/events/lock.h:69 [inline] RIP: 0010:lock_release+0xb8/0x9d0 kernel/locking/lockdep.c:5764 Code: 08 0f 83 d6 05 00 00 89 c3 48 89 d8 48 c1 e8 06 48 8d 3c c5 68 67 9a 8e be 08 00 00 00 e8 b0 fe 7a 00 48 0f a3 1d 10 f1 2c 0d <73> 0d e8 41 00 09 00 84 c0 0f 84 d9 05 00 00 48 c7 c0 0c 9c 9a 8e RSP: 0018:ffffc90000007b80 EFLAGS: 00000057 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff816d7650 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8e9a6768 RBP: ffffc90000007cb0 R08: ffffffff8e9a676f R09: 1ffffffff1d34ced R10: dffffc0000000000 R11: fffffbfff1d34cee R12: 1ffff92000000f7c R13: ffffffff817d2b20 R14: ffffc90000007ce0 R15: dffffc0000000000 FS: 00007fb3513326c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0ce311cd58 CR3: 0000000019f8a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline] _raw_spin_unlock_irqrestore+0x79/0x140 kernel/locking/spinlock.c:194 __run_hrtimer kernel/time/hrtimer.c:1684 [inline] __hrtimer_run_queues+0x490/0xd10 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x396/0x980 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1063 [inline] __sysvec_apic_timer_interrupt+0x104/0x390 arch/x86/kernel/apic/apic.c:1080 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1074 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:lock_acquire+0x25a/0x520 kernel/locking/lockdep.c:5757 Code: 2b 00 74 08 4c 89 f7 e8 34 81 7b 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc9000392eae0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000725d68 RCX: ffffffff816d0975 RDX: 0000000000000000 RSI: ffffffff8b0ab580 RDI: ffffffff8b5995a0 RBP: ffffc9000392ec28 R08: dffffc0000000000 R09: 1ffffffff20df278 R10: dffffc0000000000 R11: fffffbfff20df279 R12: 1ffff92000725d64 R13: dffffc0000000000 R14: ffffc9000392eb40 R15: 0000000000000246 local_lock_acquire include/linux/local_lock_internal.h:29 [inline] folio_add_lru+0x297/0x9d0 mm/swap.c:515 filemap_add_folio+0x228/0x570 mm/filemap.c:954 __filemap_get_folio+0x4cd/0xbb0 mm/filemap.c:1944 ext4_da_write_begin+0x5b5/0xa40 fs/ext4/inode.c:2881 generic_perform_write+0x31b/0x630 mm/filemap.c:3942 ext4_buffered_write_iter+0xc6/0x350 fs/ext4/file.c:299 ext4_file_write_iter+0x1d3/0x1ad0 fs/ext4/file.c:717 __kernel_write_iter+0x32a/0x7c0 fs/read_write.c:517 dump_emit_page fs/coredump.c:888 [inline] dump_user_range+0x46c/0x910 fs/coredump.c:915 elf_core_dump+0x3c91/0x4540 fs/binfmt_elf.c:2142 do_coredump+0x1b73/0x2ab0 fs/coredump.c:764 get_signal+0x145e/0x1840 kernel/signal.c:2878 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:168 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 irqentry_exit_to_user_mode+0x9/0x40 kernel/entry/common.c:309 exc_page_fault+0x57c/0x860 arch/x86/mm/fault.c:1564 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x996b3a09 Code: Unable to access opcode bytes at 0x996b39df. RSP: 002b:00000000200000f8 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007fb35079c120 RCX: 00007fb35067cae9 RDX: 0000000020000100 RSI: 00000000200000f0 RDI: 0000000002000080 RBP: 00007fb3506c847a R08: 0000000020000240 R09: 0000000020000240 R10: 0000000020000140 R11: 0000000000000202 R12: 0000000000000000 R13: 000000000000006e R14: 00007fb35079c120 R15: 00007fff46e4d3a8