rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 1-...!: (10500 ticks this GP) idle=234c/1/0x4000000000000000 softirq=133225/133225 fqs=0
(t=10502 jiffies g=190913 q=340 ncpus=2)
rcu: rcu_preempt kthread starved for 10503 jiffies! g190913 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:26592 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: 30648 Comm: syz.3.9449 Not tainted 6.1.112-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:check_preemption_disabled+0x4b/0x110 lib/smp_processor_id.c:55
Code: 8b 05 71 ab 5b 75 a9 ff ff ff 7f 74 22 65 48 8b 04 25 28 00 00 00 48 3b 44 24 08 0f 85 c7 00 00 00 89 d8 48 83 c4 10 5b 41 5c <41> 5e 41 5f c3 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02
RSP: 0018:ffffc90000006f08 EFLAGS: 00000082
RAX: 0000000000000000 RBX: ffffffff8d1f7558 RCX: 000000008b0df204
RDX: ffffffff817a2a5f RSI: ffffffff8b5d7160 RDI: ffffffff8b5d7120
RBP: ffffc90000007030 R08: dffffc0000000000 R09: fffffbfff1d33f2e
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8d344108
R13: 0000607f46e2d1c0 R14: ffffffff8d1f74e0 R15: dffffc0000000000
FS: 00007f0eaff7c6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000024842000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000082
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
perf_trace_lock+0x138/0x440 include/trace/events/lock.h:50
trace_lock_release include/trace/events/lock.h:69 [inline]
lock_release+0x995/0xa20 kernel/locking/lockdep.c:5673
seqcount_lockdep_reader_access+0x10b/0x220 include/linux/seqlock.h:101
timekeeping_get_delta kernel/time/timekeeping.c:254 [inline]
timekeeping_get_ns kernel/time/timekeeping.c:388 [inline]
ktime_get+0x7f/0x270 kernel/time/timekeeping.c:848
hrtimer_forward_now include/linux/hrtimer.h:508 [inline]
perf_swevent_hrtimer+0x43b/0x4f0 kernel/events/core.c:10881
__run_hrtimer kernel/time/hrtimer.c:1689 [inline]
__hrtimer_run_queues+0x5a7/0xe50 kernel/time/hrtimer.c:1753
hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1815
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline]
__sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112
sysvec_apic_timer_interrupt+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1106
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:__sanitizer_cov_trace_pc+0x58/0x60 kernel/kcov.c:234
Code: f8 15 00 00 83 fa 02 75 21 48 8b 91 00 16 00 00 48 8b 32 48 8d 7e 01 8b 89 fc 15 00 00 48 39 cf 73 08 48 89 3a 48 89 44 f2 08 0f 1f 80 00 00 00 00 4c 8b 04 24 65 48 8b 15 94 bf 77 7e 65 8b
RSP: 0018:ffffc90000007828 EFLAGS: 00000246
RAX: ffffffff81ecd824 RBX: 0000000000000001 RCX: ffff88807eb53b80
RDX: 0000000000000100 RSI: ffffffff8b5d7160 RDI: ffffffff8b5d7120
RBP: ffffea00023a7018 R08: ffffffff81ecd812 R09: ffffed1003abb808
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: ffffea00023a7000 R14: 0000000000000003 R15: dffffc0000000000
rcu_read_unlock include/linux/rcupdate.h:820 [inline]
page_ext_put+0x34/0xb0 mm/page_ext.c:182
page_table_check_free include/linux/page_table_check.h:46 [inline]
free_pages_prepare mm/page_alloc.c:1445 [inline]
free_pcp_prepare mm/page_alloc.c:1494 [inline]
free_unref_page_prepare+0xf73/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:trace_lock_release include/trace/events/lock.h:69 [inline]
RIP: 0010:lock_release+0x97b/0xa20 kernel/locking/lockdep.c:5673
Code: e8 da 7e 77 00 48 8b 1d 1b 34 1b 0d 48 85 db 74 33 48 83 c3 08 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 <74> 08 48 89 df e8 ab 7e 77 00 48 8b 3b 48 8b 74 24 18 4c 89 f2 e8
RSP: 0018:ffffc90003d5e940 EFLAGS: 00000246
RAX: 1ffff11005a9a933 RBX: ffff88802d4d4998 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8e99f968
RBP: ffffc90003d5ea70 R08: dffffc0000000000 R09: fffffbfff1d33f2e
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920007abd34
R13: ffffffff8194b92e R14: ffffffff8194b92e R15: dffffc0000000000
rcu_lock_release include/linux/rcupdate.h:355 [inline]
rcu_read_unlock include/linux/rcupdate.h:824 [inline]
trace_call_bpf+0x5cd/0x6a0 kernel/trace/bpf_trace.c:137
perf_trace_run_bpf_submit+0x7b/0x1d0 kernel/events/core.c:9969
perf_trace_lock_acquire+0x3bf/0x4a0 include/trace/events/lock.h:24
trace_lock_acquire include/trace/events/lock.h:24 [inline]
lock_acquire+0x544/0x5a0 kernel/locking/lockdep.c:5633
rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
rcu_read_lock include/linux/rcupdate.h:791 [inline]
mt_find+0x2bb/0xc60 lib/maple_tree.c:6531
find_vma+0x136/0x1b0 mm/mmap.c:1887
lock_mm_and_find_vma+0x71/0x2e0 mm/memory.c:5385
do_user_addr_fault arch/x86/mm/fault.c:1312 [inline]
handle_page_fault arch/x86/mm/fault.c:1431 [inline]
exc_page_fault+0x169/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:ffffc90003d5f210 EFLAGS: 00050206
RAX: ffffffff8437bc01 RBX: 00007fffffffefb1 RCX: 000000000000004f
RDX: 000000000000004f RSI: 0000000000000000 RDI: ffff888046aa3038
RBP: ffffc90003d5f390 R08: dffffc0000000000 R09: ffffed1008d54611
R10: 0000000000000000 R11: dffffc0000000001 R12: 000000000000004f
R13: 0000000000000000 R14: ffff888046aa3038 R15: 0000000000000000
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]
ip_generic_getfrag+0xef/0x330 net/ipv4/ip_output.c:936
__ip_append_data+0x2f3e/0x4080 net/ipv4/ip_output.c:1161
ip_make_skb+0x193/0x410 net/ipv4/ip_output.c:1662
udp_sendmsg+0x1cde/0x2ad0 net/ipv4/udp.c:1276
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:0x7f0eaf17dff9
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:00007f0eaff7c038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f0eaf335f80 RCX: 00007f0eaf17dff9
RDX: 0000000000000000 RSI: 0000000020000b40 RDI: 0000000000000008
RBP: 00007f0eaf1f0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f0eaf335f80 R15: 00007fffe3897bd8
CPU: 1 PID: 30646 Comm: syz.2.9450 Not tainted 6.1.112-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:debug_lockdep_rcu_enabled+0x0/0x30 kernel/rcu/update.c:279
Code: 2d 7d f3 03 00 75 e7 48 c7 c7 e0 01 0c 8b 48 c7 c6 00 26 0c 8b e8 f0 f0 ab f6 0f 0b eb d0 cc cc cc cc cc cc cc cc cc cc cc cc <31> c0 83 3d 67 49 f3 03 00 74 1d 83 3d f2 7c f3 03 00 74 14 65 48
RSP: 0018:ffffc900001e04c0 EFLAGS: 00000246
RAX: 00000000000070b6 RBX: 0000000000000000 RCX: 00000000000070b6
RDX: 0000000000000100 RSI: 00007fbba577dff9 RDI: ffffffffa0002050
RBP: 0000000000000000 R08: ffffffff8197d17b R09: fffffbfff223ba45
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffffa0002050
R13: dffffc0000000000 R14: 0000000000000000 R15: 00007fbba577dff9
FS: 00007fbba664d6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002005d000 CR3: 00000000746b7000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
rcu_read_unlock include/linux/rcupdate.h:820 [inline]
is_bpf_text_address+0x1e4/0x2a0 kernel/bpf/core.c:733
kernel_text_address+0x9f/0xd0 kernel/extable.c:125
__kernel_text_address+0x9/0x40 kernel/extable.c:79
unwind_get_return_address+0x49/0x80 arch/x86/kernel/unwind_orc.c:323
arch_stack_walk+0xf3/0x140 arch/x86/kernel/stacktrace.c:26
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:bpf_prog_abe3471d98b428a0+0x0/0x17
Code: ff e8 bc a3 94 e1 41 5f 41 5e c9 c3 cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc 40 00 00 00 cc cc cc cc <0f> 1f 44 00 00 66 90 55 48 89 e5 e8 a8 1d a2 e1 48 85 c0 77 00 c9
RSP: 0018:ffffc9000378ee18 EFLAGS: 00000246
RAX: 1ffff92000696a06 RBX: ffffc900034b5048 RCX: 0000000000040000
RDX: ffffc9000d823000 RSI: ffffc900034b5048 RDI: ffffe8ffffb20000
RBP: ffffc9000378ef18 R08: ffffffff8194ba75 R09: fffffbfff223ba45
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001
R13: dffffc0000000000 R14: ffff88807d589b28 R15: ffffc900034b5030
perf_trace_run_bpf_submit+0x7b/0x1d0 kernel/events/core.c:9969
perf_trace_lock_acquire+0x3bf/0x4a0 include/trace/events/lock.h:24
trace_lock_acquire include/trace/events/lock.h:24 [inline]
lock_acquire+0x544/0x5a0 kernel/locking/lockdep.c:5633
rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
rcu_read_lock include/linux/rcupdate.h:791 [inline]
count_memcg_event_mm+0xad/0x410 include/linux/memcontrol.h:1095
handle_mm_fault+0x15b/0x5340 mm/memory.c:5270
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:ffffc9000378f6d0 EFLAGS: 00050206
RAX: ffffffff8437bc01 RBX: 00007fffffff701b RCX: 00000000000031bc
RDX: 0000000000007fe5 RSI: 000000002005d000 RDI: ffff88803ef74e29
RBP: ffffc9000378f850 R08: dffffc0000000000 R09: ffffed1007deeffd
R10: 0000000000000005 R11: dffffc0000000001 R12: 0000000000007fe5
R13: 0000000000000000 R14: ffff88803ef70000 R15: 00000000200581d7
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:0x7fbba577dff9
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:00007fbba664d038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fbba5935f80 RCX: 00007fbba577dff9
RDX: 00000000000052cc RSI: 0000000020000040 RDI: 000000000000000a
RBP: 00007fbba57f0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fbba5935f80 R15: 00007ffd31a30388