rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 1-...!: (1 GPs behind) idle=7d5/1/0x4000000000000000 softirq=10881/10882 fqs=11
(t=10500 jiffies g=16213 q=168)
rcu: rcu_preempt kthread timer wakeup didn't happen for 10460 jiffies! g16213 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: Possible timer handling issue on cpu=0 timer-softirq=7893
rcu: rcu_preempt kthread starved for 10461 jiffies! g16213 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:28944 pid: 14 ppid: 2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xa9a/0x4940 kernel/sched/core.c:6253
schedule+0xd2/0x260 kernel/sched/core.c:6326
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: 4380 Comm: syz-executor.1 Not tainted 5.16.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:check_region_inline mm/kasan/generic.c:169 [inline]
RIP: 0010:kasan_check_range+0x9/0x180 mm/kasan/generic.c:189
Code: 48 c7 c6 70 28 38 8b 48 8d 4a ff 83 e2 01 48 0f 45 c1 48 89 c7 e8 17 c9 ec ff 0f 0b 0f 1f 44 00 00 48 85 f6 0f 84 3c 01 00 00 <49> 89 f9 41 54 44 0f b6 c2 49 01 f1 55 53 0f 82 18 01 00 00 48 b8
RSP: 0018:ffffc90000007c50 EFLAGS: 00000002
RAX: 0000000000000001 RBX: ffffffff8bba0548 RCX: ffffffff815b975c
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8ff77a08
RBP: 0000000000000042 R08: 0000000000000000 R09: ffffffff8ff77a0f
R10: fffffbfff1feef41 R11: 0000000000000000 R12: ffff888079ff0b00
R13: ffff888079ff0000 R14: 0000000000064000 R15: 0000000000000000
FS: 00007f7615325700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2ee3d000 CR3: 00000000249be000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
instrument_atomic_read include/linux/instrumented.h:71 [inline]
test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline]
hlock_class kernel/locking/lockdep.c:199 [inline]
check_wait_context kernel/locking/lockdep.c:4701 [inline]
__lock_acquire+0x47c/0x54a0 kernel/locking/lockdep.c:4977
lock_acquire kernel/locking/lockdep.c:5637 [inline]
lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5602
seqcount_lockdep_reader_access include/linux/seqlock.h:103 [inline]
timekeeping_get_delta kernel/time/timekeeping.c:252 [inline]
timekeeping_get_ns kernel/time/timekeeping.c:386 [inline]
ktime_get+0x147/0x470 kernel/time/timekeeping.c:829
clockevents_program_event+0x141/0x370 kernel/time/clockevents.c:326
tick_program_event+0xac/0x140 kernel/time/tick-oneshot.c:44
hrtimer_interrupt+0x36e/0x790 kernel/time/hrtimer.c:1824
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+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:lock_acquire+0x1ef/0x510 kernel/locking/lockdep.c:5605
Code: 7e a6 7e 83 f8 01 0f 85 b4 02 00 00 9c 58 f6 c4 02 0f 85 9f 02 00 00 48 83 7c 24 08 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24
RSP: 0018:ffffc90003487170 EFLAGS: 00000206
RAX: dffffc0000000000 RBX: 1ffff92000690e30 RCX: f0699defc7d3244f
RDX: 1ffff1100f3fe14b RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8ff77a07
R10: fffffbfff1feef40 R11: 0000000000000000 R12: 0000000000000002
R13: 0000000000000000 R14: ffffffff8bb811a0 R15: 0000000000000000
rcu_lock_acquire include/linux/rcupdate.h:268 [inline]
rcu_read_lock include/linux/rcupdate.h:688 [inline]
percpu_ref_tryget_many include/linux/percpu-refcount.h:241 [inline]
percpu_ref_tryget include/linux/percpu-refcount.h:266 [inline]
obj_cgroup_tryget include/linux/memcontrol.h:820 [inline]
get_obj_cgroup_from_current+0x168/0x530 mm/memcontrol.c:2918
memcg_slab_pre_alloc_hook mm/slab.h:283 [inline]
slab_pre_alloc_hook mm/slab.h:497 [inline]
slab_alloc mm/slab.c:3306 [inline]
kmem_cache_alloc+0x82/0x560 mm/slab.c:3507
kmem_cache_zalloc include/linux/slab.h:714 [inline]
alloc_buffer_head+0x20/0x140 fs/buffer.c:3309
alloc_page_buffers+0x268/0x5f0 fs/buffer.c:832
create_empty_buffers+0x2c/0x800 fs/buffer.c:1560
ext4_block_write_begin+0xd1d/0x1140 fs/ext4/inode.c:1060
ext4_da_write_begin+0x3eb/0xad0 fs/ext4/inode.c:2966
generic_perform_write+0x205/0x510 mm/filemap.c:3756
ext4_buffered_write_iter+0x1ac/0x3b0 fs/ext4/file.c:269
ext4_file_write_iter+0x423/0x14e0 fs/ext4/file.c:681
call_write_iter include/linux/fs.h:2162 [inline]
do_iter_readv_writev+0x472/0x750 fs/read_write.c:725
do_iter_write+0x188/0x710 fs/read_write.c:851
vfs_iter_write+0x70/0xa0 fs/read_write.c:892
iter_file_splice_write+0x6fa/0xc10 fs/splice.c:689
do_splice_from fs/splice.c:767 [inline]
direct_splice_actor+0x110/0x180 fs/splice.c:936
splice_direct_to_actor+0x34b/0x8c0 fs/splice.c:891
do_splice_direct+0x1b3/0x280 fs/splice.c:979
do_sendfile+0xaf2/0x1250 fs/read_write.c:1245
__do_sys_sendfile64 fs/read_write.c:1310 [inline]
__se_sys_sendfile64 fs/read_write.c:1296 [inline]
__x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1296
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:0x7f76169afe99
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:00007f7615325168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f7616ac2f60 RCX: 00007f76169afe99
RDX: 0000000000000000 RSI: 0000000000000014 RDI: 0000000000000006
RBP: 00007f7616a0a031 R08: 0000000000000000 R09: 0000000000000000
R10: 00008400fffffffb R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd93546ccf R14: 00007f7615325300 R15: 0000000000022000
NMI backtrace for cpu 1
CPU: 1 PID: 4371 Comm: syz-executor.3 Not tainted 5.16.0-rc4-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:111
nmi_trigger_cpumask_backtrace+0x1b3/0x230 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:1428
__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+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:_compound_head include/linux/page-flags.h:200 [inline]
RIP: 0010:mark_page_accessed+0x2b/0x70 mm/folio-compat.c:49
Code: 54 55 48 89 fd 53 e8 64 a3 d7 ff 48 8d 7d 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 3b 4c 8b 65 08 <31> ff 4c 89 e3 83 e3 01 48 89 de e8 c5 a5 d7 ff 48 85 db 75 16 e8
RSP: 0018:ffffc90002c27028 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000b6d1000
RDX: 1ffffd40002f7631 RSI: ffffffff819f415c RDI: ffffea00017bb188
RBP: ffffea00017bb180 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff81d89ee4 R11: 0000000000000000 R12: ffffea00017bc9c8
R13: ffff88806d52e950 R14: 00000000000000d9 R15: ffff88806d52e950
touch_buffer fs/buffer.c:63 [inline]
__find_get_block+0x2c8/0xdb0 fs/buffer.c:1312
__getblk_gfp+0x28/0x80 fs/buffer.c:1330
sb_getblk include/linux/buffer_head.h:327 [inline]
__ext4_get_inode_loc+0x366/0x13f0 fs/ext4/inode.c:4416
ext4_get_inode_loc fs/ext4/inode.c:4544 [inline]
ext4_reserve_inode_write+0x159/0x3c0 fs/ext4/inode.c:5713
__ext4_mark_inode_dirty+0x17b/0x8d0 fs/ext4/inode.c:5882
ext4_dirty_inode+0xd4/0x110 fs/ext4/inode.c:5919
__mark_inode_dirty+0x45b/0xfe0 fs/fs-writeback.c:2399
mark_inode_dirty include/linux/fs.h:2451 [inline]
generic_write_end+0x31b/0x500 fs/buffer.c:2202
ext4_da_write_end+0x1c2/0x990 fs/ext4/inode.c:3059
generic_perform_write+0x2c6/0x510 mm/filemap.c:3767
ext4_buffered_write_iter+0x1ac/0x3b0 fs/ext4/file.c:269
ext4_file_write_iter+0x423/0x14e0 fs/ext4/file.c:681
call_write_iter include/linux/fs.h:2162 [inline]
do_iter_readv_writev+0x472/0x750 fs/read_write.c:725
do_iter_write+0x188/0x710 fs/read_write.c:851
vfs_iter_write+0x70/0xa0 fs/read_write.c:892
iter_file_splice_write+0x6fa/0xc10 fs/splice.c:689
do_splice_from fs/splice.c:767 [inline]
direct_splice_actor+0x110/0x180 fs/splice.c:936
splice_direct_to_actor+0x34b/0x8c0 fs/splice.c:891
do_splice_direct+0x1b3/0x280 fs/splice.c:979
do_sendfile+0xaf2/0x1250 fs/read_write.c:1245
__do_sys_sendfile64 fs/read_write.c:1310 [inline]
__se_sys_sendfile64 fs/read_write.c:1296 [inline]
__x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1296
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:0x7fdb13ad4e99
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:00007fdb1244a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007fdb13be7f60 RCX: 00007fdb13ad4e99
RDX: 0000000000000000 RSI: 0000000000000014 RDI: 0000000000000006
RBP: 00007fdb13b2f031 R08: 0000000000000000 R09: 0000000000000000
R10: 00008400fffffffb R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd58e2de5f R14: 00007fdb1244a300 R15: 0000000000022000
sched: RT throttling activated
----------------
Code disassembly (best guess):
0: 48 c7 c6 70 28 38 8b mov $0xffffffff8b382870,%rsi
7: 48 8d 4a ff lea -0x1(%rdx),%rcx
b: 83 e2 01 and $0x1,%edx
e: 48 0f 45 c1 cmovne %rcx,%rax
12: 48 89 c7 mov %rax,%rdi
15: e8 17 c9 ec ff callq 0xffecc931
1a: 0f 0b ud2
1c: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
21: 48 85 f6 test %rsi,%rsi
24: 0f 84 3c 01 00 00 je 0x166
* 2a: 49 89 f9 mov %rdi,%r9 <-- trapping instruction
2d: 41 54 push %r12
2f: 44 0f b6 c2 movzbl %dl,%r8d
33: 49 01 f1 add %rsi,%r9
36: 55 push %rbp
37: 53 push %rbx
38: 0f 82 18 01 00 00 jb 0x156
3e: 48 rex.W
3f: b8 .byte 0xb8