rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 0, t=10502 jiffies, g=121701, q=641 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10500 (4295044499-4295033999), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10500 jiffies! g121701 f0x2 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: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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 20169 Comm: syz.1.6219 Not tainted 6.1.103-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:__lock_acquire+0x350/0x1f80 kernel/locking/lockdep.c:4985 Code: 16 48 89 df e8 61 a1 77 00 48 8b 34 24 48 ba 00 00 00 00 00 fc ff df 4c 89 2b 48 8d 5c ee 10 48 89 d8 48 c1 e8 03 80 3c 10 00 <74> 16 48 89 df e8 36 a1 77 00 48 8b 34 24 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc900001e0300 EFLAGS: 00000046 RAX: 1ffff1100e904c9a RBX: ffff8880748264d0 RCX: ffff888074825940 RDX: dffffc0000000000 RSI: ffff888074826420 RDI: ffff8880b992a4d8 RBP: 0000000000000014 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffffffff8179c067 R14: ffff8880b992a4d8 R15: 0000000000000062 FS: 00007fa9416886c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30c15ff8 CR3: 0000000062758000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 hrtimer_interrupt+0xf7/0x980 kernel/time/hrtimer.c:1793 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:kasan_mem_to_shadow include/linux/kasan.h:59 [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+0x30/0x290 mm/kasan/generic.c:189 Code: b0 01 48 85 f6 0f 84 9a 01 00 00 48 89 fd 48 01 f5 0f 82 5a 02 00 00 48 89 fd 48 c1 ed 2f 81 fd ff ff 01 00 0f 82 47 02 00 00 <48> 89 fb 48 c1 eb 03 49 b8 00 00 00 00 00 fc ff df 4e 8d 0c 03 4c RSP: 0018:ffffc900001e07d8 EFLAGS: 00000246 RAX: 0000000000000101 RBX: 0000000000000000 RCX: ffffffff81eccaaa RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8880165e611c RBP: 000000000001ffff R08: ffffffff81ecca91 R09: ffffed1002cbcc24 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000003 R13: 1ffffffff1a86f48 R14: 0000000000000003 R15: ffff8880165e60d8 instrument_atomic_read include/linux/instrumented.h:72 [inline] atomic_read include/linux/atomic/atomic-instrumented.h:27 [inline] __page_table_check_zero+0x1fa/0x4b0 mm/page_table_check.c:155 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:3362 free_unref_page+0x33/0x3e0 mm/page_alloc.c:3457 __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:bpf_bprintf_prepare+0x42f/0x1450 kernel/bpf/helpers.c:837 Code: b6 1b bf 25 00 00 00 89 de e8 ad 46 e8 ff 83 fb 25 75 2f e8 43 44 e8 ff 45 89 e7 eb 05 e8 39 44 e8 ff 4d 89 ec 4c 8b 6c 24 10 <41> ff c7 44 3b 7c 24 58 0f 83 b7 0d 00 00 e8 1e 44 e8 ff e9 15 ff RSP: 0018:ffffc90005e4f8c0 EFLAGS: 00000202 RAX: 0000000000000002 RBX: ffff8880b9934027 RCX: 57efd7958e078000 RDX: ffffc9000d655000 RSI: 00000000000006da RDI: 00000000000006db RBP: ffffc90005e4f9f0 R08: ffffffff8a9f7439 R09: ffffc90005e4ee00 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8880260f4a10 R14: 0000000000000042 R15: 0000000000000002 ____bpf_snprintf kernel/bpf/helpers.c:1050 [inline] bpf_snprintf+0x15b/0x260 kernel/bpf/helpers.c:1034 bpf_prog_f2f741945f01d4c6+0x50/0x54 bpf_dispatcher_nop_func include/linux/bpf.h:989 [inline] __bpf_prog_run include/linux/filter.h:596 [inline] bpf_prog_run include/linux/filter.h:610 [inline] bpf_prog_run_pin_on_cpu include/linux/filter.h:627 [inline] bpf_flow_dissect+0x32a/0x3d0 net/core/flow_dissector.c:913 bpf_prog_test_run_flow_dissector+0x465/0x7e0 net/bpf/test_run.c:1487 bpf_prog_test_run+0x32f/0x3a0 kernel/bpf/syscall.c:3685 __sys_bpf+0x3eb/0x6c0 kernel/bpf/syscall.c:5038 __do_sys_bpf kernel/bpf/syscall.c:5124 [inline] __se_sys_bpf kernel/bpf/syscall.c:5122 [inline] __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:5122 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:0x7fa9409779f9 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:00007fa941688048 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fa940b05f80 RCX: 00007fa9409779f9 RDX: 0000000000000050 RSI: 0000000020000640 RDI: 000000000000000a RBP: 00007fa9409e58ee R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fa940b05f80 R15: 00007ffdfdf9e188