rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P13363/1:b..l (detected by 1, t=10502 jiffies, g=78709, q=31 ncpus=2) task:syz.2.2863 state:R running task stack:26120 pid:13363 ppid:4262 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6870 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:lock_acquire+0x1d/0x5a0 kernel/locking/lockdep.c:5630 Code: 51 ce 97 7e a9 00 ff ff 00 0f 95 c0 c3 55 48 89 e5 41 57 41 56 41 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 RSP: 0018:ffffc9000be4f5a0 EFLAGS: 00000286 RAX: ffffffff81b7e0d0 RBX: ffffc9000be4f770 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8d32b080 RBP: ffffc9000be4f6e8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888076ae9010 R13: 0000000000000102 R14: ffff888076ae9008 R15: 000000000000003d rcu_lock_acquire include/linux/rcupdate.h:350 [inline] rcu_read_lock include/linux/rcupdate.h:791 [inline] mapping_get_entry mm/filemap.c:1878 [inline] __filemap_get_folio+0x171/0xe80 mm/filemap.c:1943 shmem_get_folio_gfp+0x356/0x3470 mm/shmem.c:1881 shmem_get_folio mm/shmem.c:2072 [inline] shmem_write_begin+0x16e/0x4e0 mm/shmem.c:2556 generic_perform_write+0x2fc/0x5e0 mm/filemap.c:3845 __generic_file_write_iter+0x176/0x400 mm/filemap.c:3973 generic_file_write_iter+0xab/0x310 mm/filemap.c:4005 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x857/0xbc0 fs/read_write.c:584 ksys_write+0x19c/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fe38e7847df RSP: 002b:00007fe38f6a7df0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000200000 RCX: 00007fe38e7847df RDX: 0000000000200000 RSI: 00007fe383ff7000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 000000000001ee5a R10: 00000000200037c2 R11: 0000000000000293 R12: 0000000000000003 R13: 00007fe38f6a7ef0 R14: 00007fe38f6a7eb0 R15: 00007fe383ff7000 rcu: rcu_preempt kthread timer wakeup didn't happen for 10499 jiffies! g78709 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=40690 rcu: rcu_preempt kthread starved for 10500 jiffies! g78709 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:25528 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 13367 Comm: syz.8.2865 Tainted: G W 6.1.120-syzkaller-00773-g52f863f820fd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 RIP: 0010:__sanitizer_cov_trace_pc+0x41/0x60 kernel/kcov.c:221 Code: ff 00 74 11 81 fa 00 01 00 00 75 35 83 b9 1c 16 00 00 00 74 2c 8b 91 f8 15 00 00 83 fa 02 75 21 48 8b 91 00 16 00 00 48 8b 32 <48> 8d 7e 01 8b 89 fc 15 00 00 48 39 cf 73 08 48 89 3a 48 89 44 f2 RSP: 0018:ffffc9000c5575d8 EFLAGS: 00000246 RAX: ffffffff817f5bf9 RBX: 1ffff110171c8595 RCX: ffff8880260abb80 RDX: ffffc90005699000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc9000c5579b0 R08: ffffffff817f5bc2 R09: ffffed10171e7753 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000800000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880b8e42ca8 FS: 00007f695d53d6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000440 CR3: 0000000057d36000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: csd_lock_wait kernel/smp.c:424 [inline] smp_call_function_many_cond+0x1fc9/0x3460 kernel/smp.c:998 clock_was_set+0x83a/0x900 kernel/time/hrtimer.c:975 timekeeping_inject_offset+0x65f/0x710 kernel/time/timekeeping.c:1395 do_adjtimex+0x511/0xab0 kernel/time/timekeeping.c:2444 do_clock_adjtime kernel/time/posix-timers.c:1154 [inline] __do_sys_clock_adjtime kernel/time/posix-timers.c:1166 [inline] __se_sys_clock_adjtime kernel/time/posix-timers.c:1157 [inline] __x64_sys_clock_adjtime+0x1dc/0x290 kernel/time/posix-timers.c:1157 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f695c785d29 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:00007f695d53d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007f695c975fa0 RCX: 00007f695c785d29 RDX: 0000000000000000 RSI: 0000000020000480 RDI: 0000000000000000 RBP: 00007f695c801a20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f695c975fa0 R15: 00007ffde3bfdf98