rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 0-...!: (1 GPs behind) idle=909/1/0x4000000000000000 softirq=20892/20893 fqs=2
(t=10500 jiffies g=25897 q=5)
rcu: rcu_preempt kthread starved for 10488 jiffies! g25897 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task 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:
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 7681 Comm: syz-executor.3 Not tainted 5.16.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:kasan_check_range+0x224/0x2f0 mm/kasan/generic.c:189
Code: 89 cf 49 8d 5e 07 4d 85 f6 49 0f 49 de 48 83 e3 f8 49 29 de 74 11 45 0f b6 1f 45 84 db 75 64 49 ff c7 49 ff ce 75 ef 5b 41 5c <41> 5d 41 5e 41 5f c3 45 84 db 75 50 45 8a 59 01 45 84 db 0f 85 8a
RSP: 0018:ffffc90000dc0920 EFLAGS: 00000056
RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff8165ffb2
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8ff9fee0
RBP: ffffc90000dc0a90 R08: dffffc0000000000 R09: fffffbfff1ff3fdd
R10: fffffbfff1ff3fdd R11: 0000000000000000 R12: 000000000000000f
R13: dffffc0000000001 R14: 0000000000000001 R15: 0000000000000000
FS: 00007f556a71c700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2ec2b000 CR3: 000000007df5f000 CR4: 00000000003506e0
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]
__lock_acquire+0xd92/0x2b00 kernel/locking/lockdep.c:4997
lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5637
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162
debug_object_deactivate+0x61/0x400 lib/debugobjects.c:735
debug_hrtimer_deactivate kernel/time/hrtimer.c:425 [inline]
debug_deactivate kernel/time/hrtimer.c:481 [inline]
__run_hrtimer kernel/time/hrtimer.c:1653 [inline]
__hrtimer_run_queues+0x2f9/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+0x3/0x40 mm/kasan/shadow.c:43
Code: cc cc cc cc cc cc cc 89 f6 48 8b 0c 24 31 d2 e9 63 ee ff ff 0f 1f 00 89 f6 48 8b 0c 24 ba 01 00 00 00 e9 50 ee ff ff 55 41 56 <53> 48 89 d3 41 89 f6 48 89 fd 48 8b 4c 24 18 48 89 d6 ba 01 00 00
RSP: 0018:ffffc9000394eac8 EFLAGS: 00000246
RAX: 1ffff92000729d00 RBX: ffffc9000394ebd5 RCX: 1ffff92000729d74
RDX: 0000000000000010 RSI: 0000000000000000 RDI: ffffc9000394ebf0
RBP: ffffffff8e831958 R08: 0000000000000009 R09: ffffc9000394ec90
R10: fffff52000729d80 R11: 0000000000000000 R12: 1ffffffff1d0632b
R13: ffffc9000394eba0 R14: dffffc0000000000 R15: ffffffff8e83195c
unwind_next_frame+0xaa1/0x1fc0 arch/x86/kernel/unwind_orc.c:541
arch_stack_walk+0x112/0x140 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x11b/0x1e0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:38 [inline]
kasan_set_track mm/kasan/common.c:46 [inline]
set_alloc_info mm/kasan/common.c:434 [inline]
__kasan_slab_alloc+0xb6/0xf0 mm/kasan/common.c:467
kasan_slab_alloc include/linux/kasan.h:259 [inline]
slab_post_alloc_hook mm/slab.h:519 [inline]
slab_alloc_node mm/slub.c:3234 [inline]
slab_alloc mm/slub.c:3242 [inline]
kmem_cache_alloc+0x1c9/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:0x7f556bda6e99
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:00007f556a71c168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f556beb9f60 RCX: 00007f556bda6e99
RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000004
RBP: 00007f556be00ff1 R08: 0000000000000000 R09: 0000000000000000
R10: 00008400fffffffb R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff6fec603f R14: 00007f556a71c300 R15: 0000000000022000
NMI backtrace for cpu 0
CPU: 0 PID: 7674 Comm: syz-executor.5 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:lock_is_held_type+0x143/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 d8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f
RSP: 0018:ffffc9000283f0f8 EFLAGS: 00000206
RAX: ee44a8a85c6f2f00 RBX: 0000000000000000 RCX: 0000000080000001
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000002 R08: dffffc0000000000 R09: fffffbfff1bfd56e
R10: fffffbfff1bfd56e R11: 0000000000000000 R12: 0000000000000246
R13: ffff888036615700 R14: 00000000ffffffff R15: ffffffff8cb1dd60
lock_is_held include/linux/lockdep.h:283 [inline]
rcu_read_lock_sched_held+0x89/0x130 kernel/rcu/update.c:125
trace_lock_release+0x4f/0x150 include/trace/events/lock.h:58
lock_release+0x82/0x810 kernel/locking/lockdep.c:5648
up_write+0x75/0x4d0 kernel/locking/rwsem.c:1575
inode_unlock include/linux/fs.h:788 [inline]
ext4_buffered_write_iter+0x3c5/0x520 fs/ext4/file.c:273
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:0x7fddac078e99
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:00007fddaa9ee168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007fddac18bf60 RCX: 00007fddac078e99
RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000004
RBP: 00007fddac0d2ff1 R08: 0000000000000000 R09: 0000000000000000
R10: 00008400fffffffb R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc343b048f R14: 00007fddaa9ee300 R15: 0000000000022000
sched: RT throttling activated
----------------
Code disassembly (best guess):
0: 89 cf mov %ecx,%edi
2: 49 8d 5e 07 lea 0x7(%r14),%rbx
6: 4d 85 f6 test %r14,%r14
9: 49 0f 49 de cmovns %r14,%rbx
d: 48 83 e3 f8 and $0xfffffffffffffff8,%rbx
11: 49 29 de sub %rbx,%r14
14: 74 11 je 0x27
16: 45 0f b6 1f movzbl (%r15),%r11d
1a: 45 84 db test %r11b,%r11b
1d: 75 64 jne 0x83
1f: 49 ff c7 inc %r15
22: 49 ff ce dec %r14
25: 75 ef jne 0x16
27: 5b pop %rbx
28: 41 5c pop %r12
* 2a: 41 5d pop %r13 <-- trapping instruction
2c: 41 5e pop %r14
2e: 41 5f pop %r15
30: c3 retq
31: 45 84 db test %r11b,%r11b
34: 75 50 jne 0x86
36: 45 8a 59 01 mov 0x1(%r9),%r11b
3a: 45 84 db test %r11b,%r11b
3d: 0f .byte 0xf
3e: 85 .byte 0x85
3f: 8a .byte 0x8a