rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (10498 ticks this GP) idle=6f9/1/0x4000000000000000 softirq=21334/21334 fqs=0 (t=10500 jiffies g=29261 q=156) rcu: rcu_preempt kthread timer wakeup didn't happen for 10499 jiffies! g29261 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=29490 rcu: rcu_preempt kthread starved for 10500 jiffies! g29261 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:26576 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1881 rcu_gp_fqs_loop+0x1fd/0x770 kernel/rcu/tree.c:1955 rcu_gp_kthread+0xa5/0x350 kernel/rcu/tree.c:2128 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 rcu: Stack dump where RCU GP kthread last ran: NMI backtrace for cpu 0 CPU: 0 PID: 6911 Comm: syz-executor.4 Not tainted 5.16.0-rc6-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+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_check_gp_kthread_starvation+0x1ff/0x270 kernel/rcu/tree_stall.h:481 print_cpu_stall kernel/rcu/tree_stall.h:625 [inline] check_cpu_stall kernel/rcu/tree_stall.h:711 [inline] rcu_pending kernel/rcu/tree.c:3878 [inline] rcu_sched_clock_irq+0x1e2e/0x2bc0 kernel/rcu/tree.c:2597 update_process_times+0x197/0x200 kernel/time/timer.c:1785 tick_sched_handle kernel/time/tick-sched.c:226 [inline] tick_sched_timer+0x27d/0x420 kernel/time/tick-sched.c:1428 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x4cb/0xa60 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x3b3/0x1040 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0xf9/0x270 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:debug_lockdep_rcu_enabled+0xb/0x30 kernel/rcu/update.c:280 Code: c7 60 ff 6e 8a 48 c7 c6 c0 2b 6f 8a 31 c0 e8 5c 06 3b f7 0f 0b eb cc cc cc cc cc cc cc cc cc 31 c0 83 3d 53 4d eb 03 00 74 1e <83> 3d f2 7f eb 03 00 74 15 65 48 8b 0c 25 c0 6f 02 00 31 c0 83 b9 RSP: 0018:ffffc90003786ff0 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888034fbe940 RDX: ffff888076ad8000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff888034fbea58 R08: ffffffff844f8c32 R09: fffffbfff1ff3fdd R10: fffffbfff1ff3fdd R11: 0000000000000000 R12: dffffc0000000000 R13: ffff888034fc4002 R14: 000000000000001e R15: 1ffff920006f0e1c rcu_read_lock_held_common kernel/rcu/update.c:104 [inline] rcu_read_lock_held+0x6/0x40 kernel/rcu/update.c:309 xa_entry include/linux/xarray.h:1182 [inline] xas_descend lib/xarray.c:204 [inline] xas_load+0x1a5/0x4a0 lib/xarray.c:240 mapping_get_entry mm/filemap.c:1843 [inline] __filemap_get_folio+0x1d7/0x1060 mm/filemap.c:1905 pagecache_get_page+0x28/0x170 mm/folio-compat.c:125 ext4_da_write_begin+0x561/0x9b0 fs/ext4/inode.c:2958 generic_perform_write+0x2dd/0x600 mm/filemap.c:3754 ext4_buffered_write_iter+0x391/0x520 fs/ext4/file.c:269 ext4_file_write_iter+0x8f7/0x1bd0 do_iter_readv_writev+0x54f/0x740 do_iter_write+0x21e/0x7b0 fs/read_write.c:851 iter_file_splice_write+0x7eb/0xfa0 fs/splice.c:689 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0xe6/0x1c0 fs/splice.c:936 splice_direct_to_actor+0x529/0xd00 fs/splice.c:891 do_splice_direct+0x291/0x3e0 fs/splice.c:979 do_sendfile+0x6fe/0x1040 fs/read_write.c:1245 __do_sys_sendfile64 fs/read_write.c:1310 [inline] __se_sys_sendfile64+0x171/0x1d0 fs/read_write.c:1296 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fb166456e99 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:00007fb164dcc168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fb166569f60 RCX: 00007fb166456e99 RDX: 0000000000000000 RSI: 0000000000000014 RDI: 0000000000000006 RBP: 00007fb1664b0ff1 R08: 0000000000000000 R09: 0000000000000000 R10: 00008400fffffffb R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd28e4f0bf R14: 00007fb164dcc300 R15: 0000000000022000 NMI backtrace for cpu 0 CPU: 0 PID: 6911 Comm: syz-executor.4 Not tainted 5.16.0-rc6-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+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_dump_cpu_stacks+0x22d/0x390 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+0x1e33/0x2bc0 kernel/rcu/tree.c:2597 update_process_times+0x197/0x200 kernel/time/timer.c:1785 tick_sched_handle kernel/time/tick-sched.c:226 [inline] tick_sched_timer+0x27d/0x420 kernel/time/tick-sched.c:1428 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x4cb/0xa60 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x3b3/0x1040 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0xf9/0x270 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:debug_lockdep_rcu_enabled+0xb/0x30 kernel/rcu/update.c:280 Code: c7 60 ff 6e 8a 48 c7 c6 c0 2b 6f 8a 31 c0 e8 5c 06 3b f7 0f 0b eb cc cc cc cc cc cc cc cc cc 31 c0 83 3d 53 4d eb 03 00 74 1e <83> 3d f2 7f eb 03 00 74 15 65 48 8b 0c 25 c0 6f 02 00 31 c0 83 b9 RSP: 0018:ffffc90003786ff0 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888034fbe940 RDX: ffff888076ad8000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff888034fbea58 R08: ffffffff844f8c32 R09: fffffbfff1ff3fdd R10: fffffbfff1ff3fdd R11: 0000000000000000 R12: dffffc0000000000 R13: ffff888034fc4002 R14: 000000000000001e R15: 1ffff920006f0e1c rcu_read_lock_held_common kernel/rcu/update.c:104 [inline] rcu_read_lock_held+0x6/0x40 kernel/rcu/update.c:309 xa_entry include/linux/xarray.h:1182 [inline] xas_descend lib/xarray.c:204 [inline] xas_load+0x1a5/0x4a0 lib/xarray.c:240 mapping_get_entry mm/filemap.c:1843 [inline] __filemap_get_folio+0x1d7/0x1060 mm/filemap.c:1905 pagecache_get_page+0x28/0x170 mm/folio-compat.c:125 ext4_da_write_begin+0x561/0x9b0 fs/ext4/inode.c:2958 generic_perform_write+0x2dd/0x600 mm/filemap.c:3754 ext4_buffered_write_iter+0x391/0x520 fs/ext4/file.c:269 ext4_file_write_iter+0x8f7/0x1bd0 do_iter_readv_writev+0x54f/0x740 do_iter_write+0x21e/0x7b0 fs/read_write.c:851 iter_file_splice_write+0x7eb/0xfa0 fs/splice.c:689 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0xe6/0x1c0 fs/splice.c:936 splice_direct_to_actor+0x529/0xd00 fs/splice.c:891 do_splice_direct+0x291/0x3e0 fs/splice.c:979 do_sendfile+0x6fe/0x1040 fs/read_write.c:1245 __do_sys_sendfile64 fs/read_write.c:1310 [inline] __se_sys_sendfile64+0x171/0x1d0 fs/read_write.c:1296 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fb166456e99 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:00007fb164dcc168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fb166569f60 RCX: 00007fb166456e99 RDX: 0000000000000000 RSI: 0000000000000014 RDI: 0000000000000006 RBP: 00007fb1664b0ff1 R08: 0000000000000000 R09: 0000000000000000 R10: 00008400fffffffb R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd28e4f0bf R14: 00007fb164dcc300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 6912 Comm: syz-executor.0 Not tainted 5.16.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:native_apic_mem_write+0x8/0x10 arch/x86/include/asm/apic.h:110 Code: ff e0 be 01 00 00 00 48 c7 c7 20 ba 98 8c 4c 89 f2 e8 ec cb 10 03 e9 3f ff ff ff 0f 1f 80 00 00 00 00 89 f8 89 b0 00 c0 5f ff 0f 1f 80 00 00 00 00 53 89 fb 48 81 c3 00 c0 5f ff 48 89 d8 48 RSP: 0018:ffffc90000dc0e28 EFLAGS: 00000046 RAX: 0000000000000380 RBX: ffffffff8c5bf9e0 RCX: 0000000000000020 RDX: 0000000080010001 RSI: 00000000000000e8 RDI: 0000000000000380 RBP: 00000000000000e8 R08: ffffffff8176aba4 R09: fffffbfff1bfd55e R10: fffffbfff1bfd55e R11: 0000000000000000 R12: ffff8880b9b27240 R13: dffffc0000000000 R14: 00000000000000e8 R15: dffffc0000000000 FS: 00007f2a3e9b1700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e82d000 CR3: 0000000019d31000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: apic_write arch/x86/include/asm/apic.h:394 [inline] lapic_next_event+0x5b/0x70 arch/x86/kernel/apic/apic.c:469 clockevents_program_event+0x1dc/0x320 kernel/time/clockevents.c:334 hrtimer_interrupt+0xbaa/0x1040 kernel/time/hrtimer.c:1824 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0xf9/0x270 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:do_raw_write_unlock+0x1/0x360 kernel/locking/spinlock_debug.c:230 Code: f9 80 e1 07 80 c1 03 38 c1 0f 8c 2b ff ff ff e8 55 8d 68 00 e9 21 ff ff ff e8 8b 78 ab 08 66 2e 0f 1f 84 00 00 00 00 00 90 55 <41> 57 41 56 41 55 41 54 53 48 83 ec 10 49 89 fe 48 ba 00 00 00 00 RSP: 0018:ffffc90003796fe8 EFLAGS: 00000246 RAX: 8e74d3e8a3597f00 RBX: ffff88807ed7e0c0 RCX: dffffc0000000000 RDX: 1ffff920006f2de8 RSI: 0000000000000001 RDI: ffff88807ed7e0c0 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1bfd55e R10: fffffbfff1bfd55e R11: 0000000000000000 R12: 1ffff1100fdafcf7 R13: ffff88807ed7e7bc R14: 000000000000002d R15: ffff88807ed7e0c0 __raw_write_unlock include/linux/rwlock_api_smp.h:217 [inline] _raw_write_unlock+0x1a/0x40 kernel/locking/spinlock.c:332 jbd2_log_start_commit+0x1c6/0x300 fs/jbd2/journal.c:527 jbd2_journal_stop+0x79b/0xbd0 fs/jbd2/transaction.c:1913 __ext4_journal_stop+0xf8/0x190 fs/ext4/ext4_jbd2.c:127 __mark_inode_dirty+0xb6/0x8f0 fs/fs-writeback.c:2399 mark_inode_dirty include/linux/fs.h:2451 [inline] generic_write_end+0x218/0x360 fs/buffer.c:2202 ext4_da_write_end+0x7bb/0x870 fs/ext4/inode.c:3059 generic_perform_write+0x3da/0x600 mm/filemap.c:3765 ext4_buffered_write_iter+0x391/0x520 fs/ext4/file.c:269 ext4_file_write_iter+0x8f7/0x1bd0 do_iter_readv_writev+0x54f/0x740 do_iter_write+0x21e/0x7b0 fs/read_write.c:851 iter_file_splice_write+0x7eb/0xfa0 fs/splice.c:689 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0xe6/0x1c0 fs/splice.c:936 splice_direct_to_actor+0x529/0xd00 fs/splice.c:891 do_splice_direct+0x291/0x3e0 fs/splice.c:979 do_sendfile+0x6fe/0x1040 fs/read_write.c:1245 __do_sys_sendfile64 fs/read_write.c:1310 [inline] __se_sys_sendfile64+0x171/0x1d0 fs/read_write.c:1296 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f2a4003be99 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:00007f2a3e9b1168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f2a4014ef60 RCX: 00007f2a4003be99 RDX: 0000000000000000 RSI: 0000000000000014 RDI: 0000000000000006 RBP: 00007f2a40095ff1 R08: 0000000000000000 R09: 0000000000000000 R10: 00008400fffffffb R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe13bb106f R14: 00007f2a3e9b1300 R15: 0000000000022000 sched: RT throttling activated ---------------- Code disassembly (best guess), 2 bytes skipped: 0: ff 6e 8a ljmp *-0x76(%rsi) 3: 48 c7 c6 c0 2b 6f 8a mov $0xffffffff8a6f2bc0,%rsi a: 31 c0 xor %eax,%eax c: e8 5c 06 3b f7 callq 0xf73b066d 11: 0f 0b ud2 13: eb cc jmp 0xffffffe1 15: cc int3 16: cc int3 17: cc int3 18: cc int3 19: cc int3 1a: cc int3 1b: cc int3 1c: cc int3 1d: 31 c0 xor %eax,%eax 1f: 83 3d 53 4d eb 03 00 cmpl $0x0,0x3eb4d53(%rip) # 0x3eb4d79 26: 74 1e je 0x46 * 28: 83 3d f2 7f eb 03 00 cmpl $0x0,0x3eb7ff2(%rip) # 0x3eb8021 <-- trapping instruction 2f: 74 15 je 0x46 31: 65 48 8b 0c 25 c0 6f mov %gs:0x26fc0,%rcx 38: 02 00 3a: 31 c0 xor %eax,%eax 3c: 83 .byte 0x83 3d: b9 .byte 0xb9