rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 1-...!: (10482 ticks this GP) idle=853c/1/0x4000000000000000 softirq=17675/17675 fqs=4
(t=10500 jiffies g=22201 q=465 ncpus=2)
rcu: rcu_preempt kthread starved for 10483 jiffies! g22201 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:26712 pid:16 ppid:2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5241 [inline]
__schedule+0x143f/0x4570 kernel/sched/core.c:6558
schedule+0xbf/0x180 kernel/sched/core.c:6634
schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965
rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706
rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905
kthread+0x28d/0x320 kernel/kthread.c:376
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: 6310 Comm: syz.0.757 Not tainted 6.1.112-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x4/0x60 kernel/kcov.c:215
Code: 00 0f 0b 0f 1f 00 53 48 89 fb e8 17 00 00 00 48 8b 3d 68 4c 0f 0d 48 89 de 5b e9 67 ab 56 00 cc cc cc cc cc cc cc 48 8b 04 24 <65> 48 8b 0d f4 bf 77 7e 65 8b 15 f5 bf 77 7e 81 e2 00 01 ff 00 74
RSP: 0018:ffffc900000074b8 EFLAGS: 00000093
RAX: ffffffff819322e5 RBX: 0000000000000001 RCX: 0000000000007503
RDX: ffff888027761dc0 RSI: 0000000000000001 RDI: 0000000000000005
RBP: 0000000000000001 R08: ffffffff819322d7 R09: fffffbfff1d33f2e
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000014
R13: dffffc0000000000 R14: ffffc90000007560 R15: ffffc90000007580
FS: 00007fdf458006c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd24fe656c0 CR3: 000000005b5b3000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
perf_trace_buf_alloc+0xa5/0x2e0 kernel/trace/trace_event_perf.c:413
perf_trace_preemptirq_template+0x191/0x3d0 include/trace/events/preemptirq.h:14
trace_irq_disable include/trace/events/preemptirq.h:36 [inline]
trace_hardirqs_off_finish+0x150/0x1a0 kernel/trace/trace_preemptirq.c:67
irqentry_enter+0x33/0x50 kernel/entry/common.c:382
sysvec_apic_timer_interrupt+0xa/0xb0 arch/x86/kernel/apic/apic.c:1106
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194
Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 f2 21 31 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 c7 67 ad f6 65 8b 05 98 5f 51 75 85 c0 74 3f 48 c7 04 24 0e 36
RSP: 0018:ffffc90000007700 EFLAGS: 00000206
RAX: 69cff2d67657dc00 RBX: 1ffff92000000ee4 RCX: ffffffff816af0fa
RDX: dffffc0000000000 RSI: ffffffff8b0c0340 RDI: 0000000000000001
RBP: ffffc90000007798 R08: dffffc0000000000 R09: fffffbfff223ba5c
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff92000000ee0 R14: ffffc90000007720 R15: 0000000000000246
__debug_check_no_obj_freed lib/debugobjects.c:987 [inline]
debug_check_no_obj_freed+0x455/0x4e0 lib/debugobjects.c:1008
free_pages_prepare mm/page_alloc.c:1450 [inline]
free_pcp_prepare mm/page_alloc.c:1494 [inline]
free_unref_page_prepare+0x319/0x1120 mm/page_alloc.c:3369
free_unref_page+0x33/0x3e0 mm/page_alloc.c:3464
__skb_frag_unref include/linux/skbuff.h:3436 [inline]
skb_release_data+0x37f/0x7a0 net/core/skbuff.c:785
skb_release_all net/core/skbuff.c:856 [inline]
__kfree_skb+0x4c/0x60 net/core/skbuff.c:870
tcp_write_queue_purge+0x132/0x2f0 net/ipv4/tcp.c:3099
tcp_done_with_error+0x3d/0xc0 net/ipv4/tcp_input.c:4366
tcp_write_err net/ipv4/tcp_timer.c:70 [inline]
tcp_write_timeout net/ipv4/tcp_timer.c:273 [inline]
tcp_retransmit_timer+0x12ca/0x2800 net/ipv4/tcp_timer.c:547
tcp_write_timer+0x12e/0x280 net/ipv4/tcp_timer.c:676
call_timer_fn+0x1ad/0x6b0 kernel/time/timer.c:1504
expire_timers kernel/time/timer.c:1549 [inline]
__run_timers+0x67c/0x890 kernel/time/timer.c:1820
run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1833
handle_softirqs+0x2ee/0xa40 kernel/softirq.c:571
__do_softirq kernel/softirq.c:605 [inline]
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x157/0x240 kernel/softirq.c:654
irq_exit_rcu+0x5/0x20 kernel/softirq.c:666
sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1106
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:finish_task_switch+0x1d3/0x810 kernel/sched/core.c:5120
Code: 32 0b 00 48 83 c4 08 4c 89 f7 e8 68 31 00 00 0f 1f 44 00 00 4c 89 f7 e8 9b bd 51 09 e8 26 21 32 00 fb 49 8d bc 24 f8 15 00 00 <48> 89 f8 48 c1 e8 03 49 bd 00 00 00 00 00 fc ff df 42 0f b6 04 28
RSP: 0018:ffffc900169aefc8 EFLAGS: 00000282
RAX: 69cff2d67657dc00 RBX: ffff88807c260034 RCX: ffffffff816af0fa
RDX: dffffc0000000000 RSI: ffffffff8b0c0340 RDI: ffff8880277633b8
RBP: ffffc900169af010 R08: dffffc0000000000 R09: fffffbfff223ba4b
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888027761dc0
R13: 1ffff110171c76e3 R14: ffff8880b8e3a9c0 R15: ffff8880b8e3b718
context_switch kernel/sched/core.c:5244 [inline]
__schedule+0x1447/0x4570 kernel/sched/core.c:6558
preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:6727
preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6751
preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34
__raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline]
_raw_spin_unlock+0x36/0x40 kernel/locking/spinlock.c:186
spin_unlock include/linux/spinlock.h:391 [inline]
do_anonymous_page mm/memory.c:4236 [inline]
handle_pte_fault mm/memory.c:5027 [inline]
__handle_mm_fault mm/memory.c:5171 [inline]
handle_mm_fault+0x4730/0x5340 mm/memory.c:5292
do_user_addr_fault arch/x86/mm/fault.c:1340 [inline]
handle_page_fault arch/x86/mm/fault.c:1431 [inline]
exc_page_fault+0x26f/0x620 arch/x86/mm/fault.c:1487
asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0010:copy_user_enhanced_fast_string+0xa/0x40 arch/x86/lib/copy_user_64.S:166
Code: ff c9 75 f2 89 d1 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 31 c0 0f 01 ca c3 8d 0c ca 89 ca eb 20 0f 01 cb 83 fa 40 72 38 89 d1 a4 31 c0 0f 01 ca c3 89 ca eb 0a 66 2e 0f 1f 84 00 00 00 00 00
RSP: 0018:ffffc900169af6d0 EFLAGS: 00050206
RAX: ffffffff8437bc01 RBX: 00007fffffff701b RCX: 00000000000062ca
RDX: 0000000000007fe5 RSI: 000000002000a000 RDI: ffff88805a341d1b
RBP: ffffc900169af850 R08: dffffc0000000000 R09: ffffed100b468ffd
R10: 0000000000000005 R11: dffffc0000000001 R12: 0000000000007fe5
R13: 0000000000000000 R14: ffff88805a340000 R15: 00000000200082e5
copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline]
raw_copy_from_user arch/x86/include/asm/uaccess_64.h:52 [inline]
copyin+0xd8/0x120 lib/iov_iter.c:183
_copy_from_iter+0x493/0xff0 lib/iov_iter.c:631
copy_from_iter include/linux/uio.h:187 [inline]
copy_from_iter_full include/linux/uio.h:194 [inline]
skb_do_copy_data_nocache include/net/sock.h:2311 [inline]
skb_copy_to_page_nocache include/net/sock.h:2337 [inline]
tcp_sendmsg_locked+0x173b/0x4100 net/ipv4/tcp.c:1383
tcp_sendmsg+0x2c/0x40 net/ipv4/tcp.c:1490
sock_sendmsg_nosec net/socket.c:718 [inline]
__sock_sendmsg net/socket.c:730 [inline]
____sys_sendmsg+0x5a5/0x8f0 net/socket.c:2514
___sys_sendmsg net/socket.c:2568 [inline]
__sys_sendmsg+0x2a9/0x390 net/socket.c:2597
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fdf4497dff9
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:00007fdf45800038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fdf44b35f80 RCX: 00007fdf4497dff9
RDX: 00000000000052cc RSI: 0000000020000040 RDI: 000000000000000c
RBP: 00007fdf449f0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fdf44b35f80 R15: 00007ffe3ba8d7c8
CPU: 1 PID: 6315 Comm: syz.4.761 Not tainted 6.1.112-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:unwind_next_frame+0x559/0x2220 arch/x86/kernel/unwind_orc.c:461
Code: 1d 17 00 00 c6 03 01 48 c7 c5 a0 80 09 8b 4c 8d 6d 04 48 8d 5d 05 4d 89 ef 49 c1 ef 03 41 0f b6 04 3f 84 c0 0f 85 92 16 00 00 <48> 89 d8 48 c1 e8 03 0f b6 04 38 84 c0 0f 85 a5 16 00 00 41 0f b7
RSP: 0018:ffffc900001e0420 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffffffff8f142329 RCX: ffffffff8ea86f80
RDX: ffffffff8f142324 RSI: ffffc900001d9000 RDI: dffffc0000000000
RBP: ffffffff8f142324 R08: 0000000000000007 R09: ffffc900001e05b0
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: ffffffff8f142328 R14: ffffffff8ea86f7c R15: 1ffffffff1e28465
FS: 00007f61cf0ec6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f39ce106678 CR3: 000000007dc49000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
__unwind_start+0x59d/0x720 arch/x86/kernel/unwind_orc.c:717
unwind_start arch/x86/include/asm/unwind.h:64 [inline]
arch_stack_walk+0xdb/0x140 arch/x86/kernel/stacktrace.c:24
stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:45 [inline]
kasan_set_track+0x4b/0x70 mm/kasan/common.c:52
kasan_save_free_info+0x27/0x40 mm/kasan/generic.c:516
____kasan_slab_free+0xd6/0x120 mm/kasan/common.c:236
kasan_slab_free include/linux/kasan.h:177 [inline]
slab_free_hook mm/slub.c:1724 [inline]
slab_free_freelist_hook mm/slub.c:1750 [inline]
slab_free mm/slub.c:3661 [inline]
kmem_cache_free+0x292/0x510 mm/slub.c:3683
tcp_write_queue_purge+0x132/0x2f0 net/ipv4/tcp.c:3099
tcp_done_with_error+0x3d/0xc0 net/ipv4/tcp_input.c:4366
tcp_write_err net/ipv4/tcp_timer.c:70 [inline]
tcp_write_timeout net/ipv4/tcp_timer.c:273 [inline]
tcp_retransmit_timer+0x12ca/0x2800 net/ipv4/tcp_timer.c:547
tcp_write_timer+0x12e/0x280 net/ipv4/tcp_timer.c:676
call_timer_fn+0x1ad/0x6b0 kernel/time/timer.c:1504
expire_timers kernel/time/timer.c:1549 [inline]
__run_timers+0x67c/0x890 kernel/time/timer.c:1820
run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1833
handle_softirqs+0x2ee/0xa40 kernel/softirq.c:571
__do_softirq kernel/softirq.c:605 [inline]
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x157/0x240 kernel/softirq.c:654
irq_exit_rcu+0x5/0x20 kernel/softirq.c:666
sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1106
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:lock_is_held_type+0x17/0x180 kernel/locking/lockdep.c:5690
Code: 0b eb bf e8 ab fd ff ff 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 65 48 8b 04 25 28 00 00 00 <48> 89 44 24 08 bd ff ff ff ff 83 3d 4c 80 f3 03 00 0f 84 00 01 00
RSP: 0018:ffffc90016f0f400 EFLAGS: 00000286
RAX: 5e719469bdb2ea00 RBX: ffff88813fff9190 RCX: 0000000000000002
RDX: ffffc90005701000 RSI: 00000000ffffffff RDI: ffffffff8d32b000
RBP: 0000000000000180 R08: ffffffff81ecd63a R09: fffffbfff223ba45
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000061a5c
R13: 0000000000000001 R14: ffffffff81ecd56c R15: ffff88801a500000
lookup_page_ext mm/page_ext.c:277 [inline]
page_ext_get+0x18e/0x2a0 mm/page_ext.c:158
page_table_check_set+0x52/0x6d0 mm/page_table_check.c:112
page_table_check_pte_set include/linux/page_table_check.h:83 [inline]
set_pte_at arch/x86/include/asm/pgtable.h:1009 [inline]
copy_present_pte mm/memory.c:1000 [inline]
copy_pte_range mm/memory.c:1091 [inline]
copy_pmd_range mm/memory.c:1177 [inline]
copy_pud_range mm/memory.c:1214 [inline]
copy_p4d_range mm/memory.c:1238 [inline]
copy_page_range+0x2d50/0x4660 mm/memory.c:1336
dup_mmap kernel/fork.c:696 [inline]
dup_mm kernel/fork.c:1540 [inline]
copy_mm+0xf42/0x1990 kernel/fork.c:1589
copy_process+0x19d5/0x4060 kernel/fork.c:2267
kernel_clone+0x222/0x920 kernel/fork.c:2682
__do_sys_clone kernel/fork.c:2823 [inline]
__se_sys_clone kernel/fork.c:2807 [inline]
__x64_sys_clone+0x231/0x280 kernel/fork.c:2807
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f61ce37dff9
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:00007f61cf0ebfe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007f61ce535f80 RCX: 00007f61ce37dff9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007f61ce3f0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f61ce535f80 R15: 00007fffcaf40c28