rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (1 ticks this GP) idle=be7c/1/0x4000000000000000 softirq=142458/142458 fqs=0 rcu: (t=15298 jiffies g=240781 q=70 ncpus=2) rcu: rcu_preempt kthread timer wakeup didn't happen for 15297 jiffies! g240781 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=285966 rcu: rcu_preempt kthread starved for 15298 jiffies! g240781 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:28272 pid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xee1/0x59f0 kernel/sched/core.c:6695 schedule+0xe7/0x1b0 kernel/sched/core.c:6771 schedule_timeout+0x157/0x2c0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x1ec/0xa50 kernel/rcu/tree.c:1613 rcu_gp_kthread+0x249/0x380 kernel/rcu/tree.c:1812 kthread+0x33a/0x430 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 5435 Comm: syz-executor.2 Not tainted 6.5.0-rc7-next-20230824-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:write_comp_data+0x0/0x90 kernel/kcov.c:236 Code: 65 8b 15 5b f0 7b 7e 81 e2 00 01 ff 00 75 10 65 48 8b 04 25 c0 bc 03 00 48 8b 80 f8 15 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 <65> 8b 05 31 f0 7b 7e 49 89 f1 89 c6 49 89 d2 81 e6 00 01 00 00 49 RSP: 0018:ffffc9000484f428 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 0000000000000008 RCX: ffffffff813a4e25 RDX: 0000000000000005 RSI: 0000000000000009 RDI: 0000000000000001 RBP: ffffffff8a89cfc0 R08: 0000000000000001 R09: 0000000000000008 R10: 0000000000000005 R11: 0000000000000001 R12: 0000000000000005 R13: 0000000000000001 R14: 0000000000000008 R15: ffffc9000484f515 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f221000 CR3: 000000000c976000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __sanitizer_cov_trace_switch+0x54/0x90 kernel/kcov.c:341 unwind_next_frame+0x6b5/0x2390 arch/x86/kernel/unwind_orc.c:515 arch_stack_walk+0xfa/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x96/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x50 mm/kasan/common.c:45 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:522 ____kasan_slab_free mm/kasan/common.c:236 [inline] ____kasan_slab_free+0x15b/0x1b0 mm/kasan/common.c:200 kasan_slab_free include/linux/kasan.h:164 [inline] slab_free_hook mm/slub.c:1800 [inline] slab_free_freelist_hook+0x114/0x1e0 mm/slub.c:1826 slab_free mm/slub.c:3809 [inline] kmem_cache_free+0xf0/0x480 mm/slub.c:3831 anon_vma_chain_free mm/rmap.c:147 [inline] unlink_anon_vmas+0x173/0x800 mm/rmap.c:422 free_pgtables+0xaa/0x800 mm/memory.c:383 exit_mmap+0x383/0xa60 mm/mmap.c:3221 __mmput+0x12a/0x4d0 kernel/fork.c:1356 mmput+0x62/0x70 kernel/fork.c:1378 exit_mm kernel/exit.c:567 [inline] do_exit+0x9b4/0x2a20 kernel/exit.c:861 do_group_exit+0xd4/0x2a0 kernel/exit.c:1024 get_signal+0x23d1/0x27b0 kernel/signal.c:2892 arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x60 kernel/entry/common.c:296 do_syscall_64+0x44/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7feb9107cae9 Code: Unable to access opcode bytes at 0x7feb9107cabf. RSP: 002b:00007feb91d6a178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007feb9119bf88 RCX: 00007feb9107cae9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007feb9119bf88 RBP: 00007feb9119bf80 R08: 00007feb91d6a6c0 R09: 00007feb91d6a6c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007feb9119bf8c R13: 000000000000000b R14: 00007ffef24067b0 R15: 00007ffef2406898 CPU: 0 PID: 5435 Comm: syz-executor.2 Not tainted 6.5.0-rc7-next-20230824-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:write_comp_data+0x0/0x90 kernel/kcov.c:236 Code: 65 8b 15 5b f0 7b 7e 81 e2 00 01 ff 00 75 10 65 48 8b 04 25 c0 bc 03 00 48 8b 80 f8 15 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 <65> 8b 05 31 f0 7b 7e 49 89 f1 89 c6 49 89 d2 81 e6 00 01 00 00 49 RSP: 0018:ffffc9000484f428 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 0000000000000008 RCX: ffffffff813a4e25 RDX: 0000000000000005 RSI: 0000000000000009 RDI: 0000000000000001 RBP: ffffffff8a89cfc0 R08: 0000000000000001 R09: 0000000000000008 R10: 0000000000000005 R11: 0000000000000001 R12: 0000000000000005 R13: 0000000000000001 R14: 0000000000000008 R15: ffffc9000484f515 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f221000 CR3: 000000000c976000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __sanitizer_cov_trace_switch+0x54/0x90 kernel/kcov.c:341 unwind_next_frame+0x6b5/0x2390 arch/x86/kernel/unwind_orc.c:515 arch_stack_walk+0xfa/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x96/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x50 mm/kasan/common.c:45 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:522 ____kasan_slab_free mm/kasan/common.c:236 [inline] ____kasan_slab_free+0x15b/0x1b0 mm/kasan/common.c:200 kasan_slab_free include/linux/kasan.h:164 [inline] slab_free_hook mm/slub.c:1800 [inline] slab_free_freelist_hook+0x114/0x1e0 mm/slub.c:1826 slab_free mm/slub.c:3809 [inline] kmem_cache_free+0xf0/0x480 mm/slub.c:3831 anon_vma_chain_free mm/rmap.c:147 [inline] unlink_anon_vmas+0x173/0x800 mm/rmap.c:422 free_pgtables+0xaa/0x800 mm/memory.c:383 exit_mmap+0x383/0xa60 mm/mmap.c:3221 __mmput+0x12a/0x4d0 kernel/fork.c:1356 mmput+0x62/0x70 kernel/fork.c:1378 exit_mm kernel/exit.c:567 [inline] do_exit+0x9b4/0x2a20 kernel/exit.c:861 do_group_exit+0xd4/0x2a0 kernel/exit.c:1024 get_signal+0x23d1/0x27b0 kernel/signal.c:2892 arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x60 kernel/entry/common.c:296 do_syscall_64+0x44/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7feb9107cae9 Code: Unable to access opcode bytes at 0x7feb9107cabf. RSP: 002b:00007feb91d6a178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007feb9119bf88 RCX: 00007feb9107cae9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007feb9119bf88 RBP: 00007feb9119bf80 R08: 00007feb91d6a6c0 R09: 00007feb91d6a6c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007feb9119bf8c R13: 000000000000000b R14: 00007ffef24067b0 R15: 00007ffef2406898 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 22255 Comm: kworker/u4:10 Not tainted 6.5.0-rc7-next-20230824-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Workqueue: krdsd rds_tcp_accept_worker RIP: 0010:check_region_inline mm/kasan/generic.c:169 [inline] RIP: 0010:kasan_check_range+0x4/0x190 mm/kasan/generic.c:187 Code: 14 8b 40 08 40 0f b6 f5 31 ff 89 43 0c e8 54 de ff ff 89 43 08 5b 5d 41 5c c3 66 66 2e 0f 1f 84 00 00 00 00 00 90 66 0f 1f 00 <48> 85 f6 0f 84 48 01 00 00 48 89 f8 41 54 44 0f b6 c2 48 01 f0 55 RSP: 0018:ffffc900001efa90 EFLAGS: 00000082 RAX: 0000000000000001 RBX: ffffffff924afd00 RCX: ffffffff8169050f RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffffff924afd00 RBP: 1ffff9200003df54 R08: 0000000000000000 R09: fffffbfff1d9c23a R10: ffffffff8ece11d7 R11: 0000000000000000 R12: ffffffff924afd08 R13: ffffffff924afd10 R14: ffffffff8a8f2b80 R15: 1ffff9200003df6e FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffef2405fd8 CR3: 0000000043aef000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read_write include/linux/instrumented.h:96 [inline] atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:1294 [inline] queued_spin_lock include/asm-generic/qspinlock.h:111 [inline] do_raw_spin_lock+0x11f/0x2b0 kernel/locking/spinlock_debug.c:115 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline] _raw_spin_lock_irqsave+0x42/0x50 kernel/locking/spinlock.c:162 debug_object_activate+0x1a4/0x490 lib/debugobjects.c:717 debug_hrtimer_activate kernel/time/hrtimer.c:422 [inline] debug_activate kernel/time/hrtimer.c:477 [inline] enqueue_hrtimer+0x23/0x310 kernel/time/hrtimer.c:1087 __run_hrtimer kernel/time/hrtimer.c:1705 [inline] __hrtimer_run_queues+0xa0a/0xc10 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1063 [inline] __sysvec_apic_timer_interrupt+0x105/0x3f0 arch/x86/kernel/apic/apic.c:1080 sysvec_apic_timer_interrupt+0x42/0xc0 arch/x86/kernel/apic/apic.c:1074 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x31/0x70 kernel/kcov.c:207 Code: 4d ea 7b 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b 14 25 c0 bc 03 00 a9 00 01 ff 00 74 0e 85 c9 74 35 8b 82 04 16 00 00 <85> c0 74 2b 8b 82 e0 15 00 00 83 f8 02 75 20 48 8b 8a e8 15 00 00 RSP: 0018:ffffc900001eff00 EFLAGS: 00000206 RAX: 0000000000000000 RBX: ffffffff8edc7950 RCX: 0000000000000100 RDX: ffff88807a75d940 RSI: ffffffff813a3d41 RDI: 0000000000000006 RBP: ffffffff8edc794c R08: 0000000000000006 R09: ffffffff813209ee R10: ffffffff81320948 R11: 0000000000000001 R12: ffffffff813209ee R13: ffffffff81320948 R14: dffffc0000000000 R15: ffffffff8edc794c __orc_find+0xe1/0x130 arch/x86/kernel/unwind_orc.c:109 orc_find arch/x86/kernel/unwind_orc.c:227 [inline] unwind_next_frame+0x329/0x2390 arch/x86/kernel/unwind_orc.c:494 __unwind_start+0x5a4/0x880 arch/x86/kernel/unwind_orc.c:760 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0xaf/0x170 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x96/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x50 mm/kasan/common.c:45 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:522 ____kasan_slab_free mm/kasan/common.c:236 [inline] ____kasan_slab_free+0x15b/0x1b0 mm/kasan/common.c:200 kasan_slab_free include/linux/kasan.h:164 [inline] slab_free_hook mm/slub.c:1800 [inline] slab_free_freelist_hook+0x114/0x1e0 mm/slub.c:1826 slab_free mm/slub.c:3809 [inline] kmem_cache_free+0xf0/0x480 mm/slub.c:3831 inet_bind2_bucket_destroy net/ipv4/inet_hashtables.c:144 [inline] inet_bind2_bucket_destroy net/ipv4/inet_hashtables.c:140 [inline] __inet_put_port net/ipv4/inet_hashtables.c:200 [inline] inet_put_port+0x5f4/0x8f0 net/ipv4/inet_hashtables.c:210 tcp_set_state+0x221/0x7f0 net/ipv4/tcp.c:2635 tcp_done+0xb6/0x340 net/ipv4/tcp.c:4521 tcp_reset+0x175/0x3f0 net/ipv4/tcp_input.c:4354 tcp_validate_incoming+0xe88/0x1c50 net/ipv4/tcp_input.c:5840 tcp_rcv_established+0x5d5/0x1fa0 net/ipv4/tcp_input.c:6025 tcp_v4_do_rcv+0x669/0x9e0 net/ipv4/tcp_ipv4.c:1728 tcp_v4_rcv+0x33a9/0x3b40 net/ipv4/tcp_ipv4.c:2150 ip_protocol_deliver_rcu+0x9f/0x480 net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x2e6/0x520 net/ipv4/ip_input.c:233 NF_HOOK include/linux/netfilter.h:304 [inline] NF_HOOK include/linux/netfilter.h:298 [inline] ip_local_deliver+0x1be/0x540 net/ipv4/ip_input.c:254 dst_input include/net/dst.h:468 [inline] ip_rcv_finish+0x1c4/0x2e0 net/ipv4/ip_input.c:449 NF_HOOK include/linux/netfilter.h:304 [inline] NF_HOOK include/linux/netfilter.h:298 [inline] ip_rcv+0xc8/0x410 net/ipv4/ip_input.c:569 __netif_receive_skb_one_core+0x115/0x180 net/core/dev.c:5520 __netif_receive_skb+0x1f/0x1b0 net/core/dev.c:5634 process_backlog+0x101/0x6c0 net/core/dev.c:5962 __napi_poll.constprop.0+0xb4/0x530 net/core/dev.c:6524 napi_poll net/core/dev.c:6591 [inline] net_rx_action+0x956/0xe90 net/core/dev.c:6724 __do_softirq+0x218/0x965 kernel/softirq.c:553 do_softirq kernel/softirq.c:454 [inline] do_softirq+0xaa/0xe0 kernel/softirq.c:441 __local_bh_enable_ip+0xf8/0x120 kernel/softirq.c:381 local_bh_enable include/linux/bottom_half.h:33 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:819 [inline] __dev_queue_xmit+0xa83/0x3d60 net/core/dev.c:4364 dev_queue_xmit include/linux/netdevice.h:3082 [inline] neigh_hh_output include/net/neighbour.h:526 [inline] neigh_output include/net/neighbour.h:540 [inline] ip_finish_output2+0x1626/0x24c0 net/ipv4/ip_output.c:230 __ip_finish_output net/ipv4/ip_output.c:308 [inline] __ip_finish_output+0x38b/0x640 net/ipv4/ip_output.c:290 ip_finish_output+0x31/0x310 net/ipv4/ip_output.c:318 NF_HOOK_COND include/linux/netfilter.h:293 [inline] ip_output+0x198/0x310 net/ipv4/ip_output.c:432 dst_output include/net/dst.h:458 [inline] ip_local_out net/ipv4/ip_output.c:127 [inline] __ip_queue_xmit+0xa17/0x1e00 net/ipv4/ip_output.c:534 __tcp_transmit_skb+0x1a30/0x3b30 net/ipv4/tcp_output.c:1416 tcp_transmit_skb net/ipv4/tcp_output.c:1434 [inline] tcp_send_active_reset+0x43d/0x7d0 net/ipv4/tcp_output.c:3556 __tcp_close+0x38d/0xfc0 net/ipv4/tcp.c:2795 tcp_close+0x2d/0xc0 net/ipv4/tcp.c:2919 inet_release+0x132/0x270 net/ipv4/af_inet.c:433 inet6_release+0x4f/0x70 net/ipv6/af_inet6.c:484 __sock_release net/socket.c:659 [inline] sock_release+0x8b/0x1d0 net/socket.c:687 rds_tcp_accept_one+0x334/0xcd0 net/rds/tcp_listen.c:230 rds_tcp_accept_worker+0x59/0x80 net/rds/tcp.c:532 process_one_work+0x887/0x15d0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8bb/0x1290 kernel/workqueue.c:2784 kthread+0x33a/0x430 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304