rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 0-...!: (10500 ticks this GP) idle=a07/1/0x4000000000000000 softirq=62826/62826 fqs=0
(t=10500 jiffies g=81925 q=2253)
rcu: rcu_preempt kthread timer wakeup didn't happen for 10499 jiffies! g81925 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: Possible timer handling issue on cpu=0 timer-softirq=61956
rcu: rcu_preempt kthread starved for 10500 jiffies! g81925 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:26392 pid: 15 ppid: 2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5027 [inline]
__schedule+0x12c4/0x45b0 kernel/sched/core.c:6373
schedule+0x11b/0x1f0 kernel/sched/core.c:6456
schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914
rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972
rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145
kthread+0x3f6/0x4f0 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
rcu: Stack dump where RCU GP kthread last ran:
NMI backtrace for cpu 0
CPU: 0 PID: 14392 Comm: syz.1.2341 Not tainted 5.15.165-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62
trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline]
rcu_check_gp_kthread_starvation+0x1d2/0x240 kernel/rcu/tree_stall.h:487
print_cpu_stall+0x31b/0x600 kernel/rcu/tree_stall.h:631
check_cpu_stall kernel/rcu/tree_stall.h:727 [inline]
rcu_pending kernel/rcu/tree.c:3932 [inline]
rcu_sched_clock_irq+0x8d9/0x1150 kernel/rcu/tree.c:2619
update_process_times+0x196/0x200 kernel/time/timer.c:1818
tick_sched_handle kernel/time/tick-sched.c:254 [inline]
tick_sched_timer+0x386/0x550 kernel/time/tick-sched.c:1473
__run_hrtimer kernel/time/hrtimer.c:1686 [inline]
__hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1750
hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline]
__sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102
sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:202
Code: 1f 84 00 00 00 00 00 0f 1f 00 53 48 89 fb e8 17 00 00 00 48 8b 3d 48 f3 68 0c 48 89 de 5b e9 b7 f1 48 00 cc cc cc cc cc cc cc <48> 8b 04 24 65 48 8b 0d 14 0e 82 7e 65 8b 15 15 0e 82 7e 81 e2 00
RSP: 0018:ffffc9000333e4c8 EFLAGS: 00000246
RAX: 1ffff11009ed7aaf RBX: ffff88804f6bdbc8 RCX: 0000000000040000
RDX: ffffc90003ab9000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: 0000000000000000 R08: ffffffff81e5620d R09: ffffed1009ed7aaf
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff11009ed7aae
R13: ffffc9000333e880 R14: ffff88804f6bdbc8 R15: dffffc0000000000
buffer_check_dirty_writeback+0x499/0x5c0 fs/buffer.c:111
page_check_dirty_writeback mm/vmscan.c:1310 [inline]
shrink_page_list+0x1777/0x7540 mm/vmscan.c:1419
shrink_inactive_list mm/vmscan.c:2216 [inline]
shrink_list mm/vmscan.c:2443 [inline]
shrink_lruvec+0x14ae/0x2b90 mm/vmscan.c:2762
shrink_node_memcgs mm/vmscan.c:2949 [inline]
shrink_node+0x10b3/0x26d0 mm/vmscan.c:3072
shrink_zones mm/vmscan.c:3278 [inline]
do_try_to_free_pages+0x697/0x17b0 mm/vmscan.c:3333
try_to_free_mem_cgroup_pages+0x44c/0xa60 mm/vmscan.c:3647
try_charge_memcg+0x4f4/0x1530 mm/memcontrol.c:2651
obj_cgroup_charge_pages+0xab/0x1d0 mm/memcontrol.c:3015
obj_cgroup_charge+0x19e/0x390 mm/memcontrol.c:3296
memcg_slab_pre_alloc_hook mm/slab.h:287 [inline]
slab_pre_alloc_hook+0xa6/0xc0 mm/slab.h:497
slab_alloc_node mm/slub.c:3134 [inline]
slab_alloc mm/slub.c:3228 [inline]
kmem_cache_alloc+0x3f/0x280 mm/slub.c:3233
kmem_cache_zalloc include/linux/slab.h:711 [inline]
alloc_buffer_head+0x20/0xf0 fs/buffer.c:3311
alloc_page_buffers+0x3a3/0x660 fs/buffer.c:832
grow_dev_page fs/buffer.c:968 [inline]
grow_buffers fs/buffer.c:1014 [inline]
__getblk_slow fs/buffer.c:1041 [inline]
__getblk_gfp+0x4b4/0xaf0 fs/buffer.c:1336
__bread_gfp+0x2a/0x390 fs/buffer.c:1381
sb_bread include/linux/buffer_head.h:337 [inline]
bfs_find_entry+0x1c3/0x3f0 fs/bfs/dir.c:337
bfs_lookup+0x147/0x270 fs/bfs/dir.c:137
lookup_open fs/namei.c:3440 [inline]
open_last_lookups fs/namei.c:3532 [inline]
path_openat+0x111d/0x2f20 fs/namei.c:3739
do_filp_open+0x21c/0x460 fs/namei.c:3769
do_sys_openat2+0x13b/0x4f0 fs/open.c:1253
do_sys_open fs/open.c:1269 [inline]
__do_sys_open fs/open.c:1277 [inline]
__se_sys_open fs/open.c:1273 [inline]
__x64_sys_open+0x221/0x270 fs/open.c:1273
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f7a3e082eb9
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:00007f7a3c4bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f7a3e21f130 RCX: 00007f7a3e082eb9
RDX: 0000000000000000 RSI: 000000000014927e RDI: 0000000020000180
RBP: 00007f7a3e0f093e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f7a3e21f130 R15: 00007ffe9f8bbec8
NMI backtrace for cpu 0
CPU: 0 PID: 14392 Comm: syz.1.2341 Not tainted 5.15.165-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62
trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline]
rcu_dump_cpu_stacks+0x223/0x390 kernel/rcu/tree_stall.h:349
print_cpu_stall+0x320/0x600 kernel/rcu/tree_stall.h:633
check_cpu_stall kernel/rcu/tree_stall.h:727 [inline]
rcu_pending kernel/rcu/tree.c:3932 [inline]
rcu_sched_clock_irq+0x8d9/0x1150 kernel/rcu/tree.c:2619
update_process_times+0x196/0x200 kernel/time/timer.c:1818
tick_sched_handle kernel/time/tick-sched.c:254 [inline]
tick_sched_timer+0x386/0x550 kernel/time/tick-sched.c:1473
__run_hrtimer kernel/time/hrtimer.c:1686 [inline]
__hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1750
hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline]
__sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102
sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:202
Code: 1f 84 00 00 00 00 00 0f 1f 00 53 48 89 fb e8 17 00 00 00 48 8b 3d 48 f3 68 0c 48 89 de 5b e9 b7 f1 48 00 cc cc cc cc cc cc cc <48> 8b 04 24 65 48 8b 0d 14 0e 82 7e 65 8b 15 15 0e 82 7e 81 e2 00
RSP: 0018:ffffc9000333e4c8 EFLAGS: 00000246
RAX: 1ffff11009ed7aaf RBX: ffff88804f6bdbc8 RCX: 0000000000040000
RDX: ffffc90003ab9000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: 0000000000000000 R08: ffffffff81e5620d R09: ffffed1009ed7aaf
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff11009ed7aae
R13: ffffc9000333e880 R14: ffff88804f6bdbc8 R15: dffffc0000000000
buffer_check_dirty_writeback+0x499/0x5c0 fs/buffer.c:111
page_check_dirty_writeback mm/vmscan.c:1310 [inline]
shrink_page_list+0x1777/0x7540 mm/vmscan.c:1419
shrink_inactive_list mm/vmscan.c:2216 [inline]
shrink_list mm/vmscan.c:2443 [inline]
shrink_lruvec+0x14ae/0x2b90 mm/vmscan.c:2762
shrink_node_memcgs mm/vmscan.c:2949 [inline]
shrink_node+0x10b3/0x26d0 mm/vmscan.c:3072
shrink_zones mm/vmscan.c:3278 [inline]
do_try_to_free_pages+0x697/0x17b0 mm/vmscan.c:3333
try_to_free_mem_cgroup_pages+0x44c/0xa60 mm/vmscan.c:3647
try_charge_memcg+0x4f4/0x1530 mm/memcontrol.c:2651
obj_cgroup_charge_pages+0xab/0x1d0 mm/memcontrol.c:3015
obj_cgroup_charge+0x19e/0x390 mm/memcontrol.c:3296
memcg_slab_pre_alloc_hook mm/slab.h:287 [inline]
slab_pre_alloc_hook+0xa6/0xc0 mm/slab.h:497
slab_alloc_node mm/slub.c:3134 [inline]
slab_alloc mm/slub.c:3228 [inline]
kmem_cache_alloc+0x3f/0x280 mm/slub.c:3233
kmem_cache_zalloc include/linux/slab.h:711 [inline]
alloc_buffer_head+0x20/0xf0 fs/buffer.c:3311
alloc_page_buffers+0x3a3/0x660 fs/buffer.c:832
grow_dev_page fs/buffer.c:968 [inline]
grow_buffers fs/buffer.c:1014 [inline]
__getblk_slow fs/buffer.c:1041 [inline]
__getblk_gfp+0x4b4/0xaf0 fs/buffer.c:1336
__bread_gfp+0x2a/0x390 fs/buffer.c:1381
sb_bread include/linux/buffer_head.h:337 [inline]
bfs_find_entry+0x1c3/0x3f0 fs/bfs/dir.c:337
bfs_lookup+0x147/0x270 fs/bfs/dir.c:137
lookup_open fs/namei.c:3440 [inline]
open_last_lookups fs/namei.c:3532 [inline]
path_openat+0x111d/0x2f20 fs/namei.c:3739
do_filp_open+0x21c/0x460 fs/namei.c:3769
do_sys_openat2+0x13b/0x4f0 fs/open.c:1253
do_sys_open fs/open.c:1269 [inline]
__do_sys_open fs/open.c:1277 [inline]
__se_sys_open fs/open.c:1273 [inline]
__x64_sys_open+0x221/0x270 fs/open.c:1273
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f7a3e082eb9
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:00007f7a3c4bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f7a3e21f130 RCX: 00007f7a3e082eb9
RDX: 0000000000000000 RSI: 000000000014927e RDI: 0000000020000180
RBP: 00007f7a3e0f093e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f7a3e21f130 R15: 00007ffe9f8bbec8