rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=9604/1/0x4000000000000000 softirq=42619/42623 fqs=0 rcu: (detected by 0, t=10502 jiffies, g=39589, q=237 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 5816 Comm: syz-executor Not tainted 6.13.0-syzkaller-06167-g0afd22092df4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:87 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:104 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:129 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:161 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x111/0x1a0 mm/kasan/generic.c:189 Code: 44 89 c2 e8 11 eb ff ff 83 f0 01 5b 5d 41 5c c3 cc cc cc cc 48 85 d2 74 4f 48 01 ea eb 09 48 83 c0 01 48 39 d0 74 41 80 38 00 <74> f2 eb b2 41 bc 08 00 00 00 45 29 dc 49 8d 14 2c eb 0c 48 83 c0 RSP: 0018:ffffc90000a18b08 EFLAGS: 00000046 RAX: fffffbfff2dd6fc5 RBX: fffffbfff2dd6fc6 RCX: ffffffff8195c64e RDX: fffffbfff2dd6fc6 RSI: 0000000000000008 RDI: ffffffff96eb7e28 RBP: fffffbfff2dd6fc5 R08: 0000000000000000 R09: fffffbfff2dd6fc5 R10: ffffffff96eb7e2f R11: 0000000000000003 R12: 0000000000000002 R13: ffff888030de0000 R14: 0000000000000b4d R15: ffff888030de0b30 FS: 000055556e0b2500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe3a81762d8 CR3: 0000000068f3e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class+0x4e/0x130 kernel/locking/lockdep.c:230 check_wait_context kernel/locking/lockdep.c:4852 [inline] __lock_acquire+0x410/0x3c40 kernel/locking/lockdep.c:5178 lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5851 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] advance_sched+0xd8/0xc60 net/sched/sch_taprio.c:924 __run_hrtimer kernel/time/hrtimer.c:1738 [inline] __hrtimer_run_queues+0x20a/0xae0 kernel/time/hrtimer.c:1802 hrtimer_interrupt+0x392/0x8e0 kernel/time/hrtimer.c:1864 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x10f/0x400 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0x9f/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_acquire.part.0+0x155/0x380 kernel/locking/lockdep.c:5816 Code: b8 ff ff ff ff 65 0f c1 05 70 ca 6b 7e 83 f8 01 0f 85 d0 01 00 00 9c 58 f6 c4 02 0f 85 e5 01 00 00 48 85 ed 0f 85 b6 01 00 00 <48> b8 00 00 00 00 00 fc ff df 48 01 c3 48 c7 03 00 00 00 00 48 c7 RSP: 0018:ffffc9000404f6f8 EFLAGS: 00000206 RAX: 0000000000000046 RBX: 1ffff92000809ee0 RCX: 00000000406dd9a6 RDX: 0000000000000001 RSI: ffffffff8b6cdb40 RDI: ffffffff8bd2e7c0 RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff2dd6f98 R10: ffffffff96eb7cc7 R11: 0000000000000001 R12: 0000000000000000 R13: ffffffff8e1be140 R14: 0000000000000000 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] is_bpf_text_address+0x36/0x1a0 kernel/bpf/core.c:772 kernel_text_address kernel/extable.c:125 [inline] kernel_text_address+0x8d/0x100 kernel/extable.c:94 __kernel_text_address+0xd/0x40 kernel/extable.c:79 unwind_get_return_address+0x59/0xa0 arch/x86/kernel/unwind_orc.c:369 arch_stack_walk+0xa7/0x100 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 kasan_save_free_info+0x3b/0x60 mm/kasan/generic.c:582 poison_slab_object mm/kasan/common.c:247 [inline] __kasan_slab_free+0x51/0x70 mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:233 [inline] slab_free_hook mm/slub.c:2353 [inline] slab_free mm/slub.c:4613 [inline] kfree+0x14f/0x4b0 mm/slub.c:4761 ref_tracker_free+0x377/0x820 lib/ref_tracker.c:272 __netns_tracker_free include/net/net_namespace.h:360 [inline] put_net_track include/net/net_namespace.h:375 [inline] __sk_destruct+0x36a/0x720 net/core/sock.c:2305 sk_destruct+0xc2/0xf0 net/core/sock.c:2324 __sk_free+0xf4/0x3e0 net/core/sock.c:2335 sk_free+0x6a/0x90 net/core/sock.c:2346 sock_put include/net/sock.h:1913 [inline] tcp_close+0xd3/0x120 net/ipv4/tcp.c:3225 inet_release+0x13c/0x280 net/ipv4/af_inet.c:435 __sock_release+0xb0/0x270 net/socket.c:642 sock_close+0x1c/0x30 net/socket.c:1393 __fput+0x3ff/0xb70 fs/file_table.c:450 __fput_sync+0xa1/0xc0 fs/file_table.c:536 __do_sys_close fs/open.c:1579 [inline] __se_sys_close fs/open.c:1564 [inline] __x64_sys_close+0x86/0x100 fs/open.c:1564 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe3a7f8b98a Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 43 91 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 a3 91 02 00 8b 44 24 RSP: 002b:00007ffe2c0e5b30 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fe3a7f8b98a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007ffe2c0e5b7c R08: 00007ffe2c0e547c R09: 0079746972756365 R10: 00007ffe2c0e54e0 R11: 0000000000000293 R12: 0000000000000032 R13: 0000000000073f99 R14: 00007ffe2c0e5bd0 R15: 0000000000000148 rcu: rcu_preempt kthread starved for 10502 jiffies! g39589 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:27008 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5377 [inline] __schedule+0x1142/0x5b60 kernel/sched/core.c:6764 __schedule_loop kernel/sched/core.c:6841 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6856 schedule_timeout+0x124/0x280 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2024 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2226 kthread+0x3af/0x750 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 UID: 0 PID: 12729 Comm: syz.3.2041 Not tainted 6.13.0-syzkaller-06167-g0afd22092df4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_single+0x1cb/0x580 kernel/smp.c:679 Code: 89 fa c1 e2 10 09 d0 89 44 24 4c e8 af fa ff ff 41 89 c5 0f 1f 44 00 00 e8 32 eb 0b 00 eb 07 e8 2b eb 0b 00 f3 90 8b 5c 24 48 <31> ff 83 e3 01 89 de e8 19 e6 0b 00 85 db 75 e5 e8 10 eb 0b 00 e8 RSP: 0018:ffffc9000c10fb60 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000011 RCX: ffffffff81addc97 RDX: ffff88802b1e2440 RSI: ffffffff81addc85 RDI: 0000000000000005 RBP: ffffc9000c10fc28 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 1ffff92001821f70 R13: 0000000000000000 R14: 0000000000000001 R15: ffff8880b873fb40 FS: 000055557c2b4500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c298e8e CR3: 0000000066cd4000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_barrier+0x28d/0x700 kernel/rcu/tree.c:3793 kvm_mmu_uninit_vm+0x5b/0x60 arch/x86/kvm/mmu/mmu.c:6502 kvm_arch_destroy_vm+0x360/0x490 arch/x86/kvm/x86.c:12877 kvm_destroy_vm virt/kvm/kvm_main.c:1304 [inline] kvm_put_kvm+0x4fa/0xb40 virt/kvm/kvm_main.c:1340 kvm_vm_release+0x3c/0x50 virt/kvm/kvm_main.c:1363 __fput+0x3ff/0xb70 fs/file_table.c:450 task_work_run+0x14e/0x250 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x27b/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc065d8cd29 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:00007ffef1ea62c8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007fc065fa7ba0 RCX: 00007fc065d8cd29 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007fc065fa7ba0 R08: 00000000000000d8 R09: 00007ffef1ea65bf R10: 00000000003ffd04 R11: 0000000000000246 R12: 000000000007406d R13: 00007fc065fa6080 R14: 0000000000000032 R15: ffffffffffffffff