rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 1-...!: (1 GPs behind) idle=27f/1/0x4000000000000000 softirq=261426/261430 fqs=9
(t=10502 jiffies g=256401 q=1214)
rcu: rcu_preempt kthread starved for 10465 jiffies! g256401 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:26296 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:
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 11684 Comm: syz-executor.2 Not tainted 5.16.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:87 [inline]
RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline]
RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline]
RIP: 0010:kasan_check_range+0x8d/0x2f0 mm/kasan/generic.c:189
Code: ce 49 83 fe 10 7f 30 4d 85 f6 0f 84 ae 01 00 00 4c 89 cb 4c 29 d3 0f 1f 80 00 00 00 00 45 0f b6 19 45 84 db 0f 85 f3 01 00 00 <49> ff c1 48 ff c3 75 eb e9 87 01 00 00 44 89 cb 83 e3 07 0f 84 04
RSP: 0018:ffffc9000f3270c8 EFLAGS: 00000246
RAX: 0000000000000001 RBX: ffffffffffffffff RCX: ffffffff81ec79bd
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8dfeaae8
RBP: 0000000000000001 R08: dffffc0000000000 R09: fffffbfff1bfd55d
R10: fffffbfff1bfd55e R11: 0000000000000000 R12: 1ffffffff1bfd55d
R13: dffffc0000000001 R14: 0000000000000001 R15: 0000000000001000
FS: 00007f60a83ef700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2e52d000 CR3: 000000007d253000 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]
cpumask_test_cpu include/linux/cpumask.h:344 [inline]
cpu_online include/linux/cpumask.h:895 [inline]
trace_block_dirty_buffer+0x4d/0x260 include/trace/events/block.h:58
mark_buffer_dirty+0x68/0x320 fs/buffer.c:1086
__block_commit_write+0x1dd/0x330 fs/buffer.c:2083
block_write_end+0x43/0x170 fs/buffer.c:2162
generic_write_end+0x94/0x360 fs/buffer.c:2176
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:0x7f60a9a79e99
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:00007f60a83ef168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f60a9b8cf60 RCX: 00007f60a9a79e99
RDX: 0000000000000000 RSI: 000000000000000f RDI: 0000000000000006
RBP: 00007f60a9ad3ff1 R08: 0000000000000000 R09: 0000000000000000
R10: 00008400fffffffb R11: 0000000000000246 R12: 0000000000000000
R13: 00007fffa9641e2f R14: 00007f60a83ef300 R15: 0000000000022000
NMI backtrace for cpu 1
CPU: 1 PID: 11683 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
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:memset_erms+0x9/0x10
Code: c1 e9 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 f3 48 ab 89 d1 f3 aa 4c 89 c8 c3 90 49 89 f9 40 88 f0 48 89 d1 aa 4c 89 c8 c3 90 49 89 fa 40 0f b6 ce 48 b8 01 01 01 01 01 01
RSP: 0018:ffffc9000f316c18 EFLAGS: 00010202
RAX: 0000000000002d00 RBX: ffff88807e446700 RCX: 00000000000000c0
RDX: 0000000000000200 RSI: 0000000000000000 RDI: ffffc9000f316d60
RBP: ffffc9000f316e40 R08: dffffc0000000000 R09: ffffc9000f316c20
R10: 0000000000000004 R11: 0000000000000000 R12: ffff88807e4467c0
R13: 0000000000000000 R14: 0000000000008d40 R15: ffffc9000f316c20
kasan_save_stack mm/kasan/common.c:35 [inline]
kasan_set_track mm/kasan/common.c:46 [inline]
set_alloc_info mm/kasan/common.c:434 [inline]
____kasan_kmalloc+0xcd/0x110 mm/kasan/common.c:513
kasan_kmalloc include/linux/kasan.h:269 [inline]
__kmalloc_node+0x28e/0x420 mm/slub.c:4471
kmalloc_array_node include/linux/slab.h:686 [inline]
kcalloc_node include/linux/slab.h:691 [inline]
memcg_alloc_page_obj_cgroups+0x7c/0x120 mm/memcontrol.c:2827
memcg_slab_post_alloc_hook+0x72/0x370 mm/slab.h:313
slab_post_alloc_hook mm/slab.h:526 [inline]
slab_alloc_node mm/slub.c:3234 [inline]
slab_alloc mm/slub.c:3242 [inline]
kmem_cache_alloc+0x203/0x310 mm/slub.c:3247
kmem_cache_zalloc include/linux/slab.h:714 [inline]
alloc_buffer_head+0x20/0xf0 fs/buffer.c:3309
alloc_page_buffers+0x309/0x5a0 fs/buffer.c:832
create_empty_buffers+0x36/0x640 fs/buffer.c:1560
ext4_block_write_begin+0x300/0x1840 fs/ext4/inode.c:1060
ext4_da_write_begin+0x58c/0x9b0 fs/ext4/inode.c:2966
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:0x7f5f1c766e99
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:00007f5f1b0dc168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f5f1c879f60 RCX: 00007f5f1c766e99
RDX: 0000000000000000 RSI: 000000000000000f RDI: 0000000000000006
RBP: 00007f5f1c7c0ff1 R08: 0000000000000000 R09: 0000000000000000
R10: 00008400fffffffb R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcd4ee7b5f R14: 00007f5f1b0dc300 R15: 0000000000022000
sched: RT throttling activated
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 49 83 fe 10 cmp $0x10,%r14
4: 7f 30 jg 0x36
6: 4d 85 f6 test %r14,%r14
9: 0f 84 ae 01 00 00 je 0x1bd
f: 4c 89 cb mov %r9,%rbx
12: 4c 29 d3 sub %r10,%rbx
15: 0f 1f 80 00 00 00 00 nopl 0x0(%rax)
1c: 45 0f b6 19 movzbl (%r9),%r11d
20: 45 84 db test %r11b,%r11b
23: 0f 85 f3 01 00 00 jne 0x21c
* 29: 49 ff c1 inc %r9 <-- trapping instruction
2c: 48 ff c3 inc %rbx
2f: 75 eb jne 0x1c
31: e9 87 01 00 00 jmpq 0x1bd
36: 44 89 cb mov %r9d,%ebx
39: 83 e3 07 and $0x7,%ebx
3c: 0f .byte 0xf
3d: 84 .byte 0x84
3e: 04 .byte 0x4