rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=fcb/1/0x4000000000000000 softirq=70890/70890 fqs=59 (detected by 0, t=10502 jiffies, g=115269, q=314) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 24010 Comm: syz-executor.0 Not tainted 5.15.153-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:variable_test_bit arch/x86/include/asm/bitops.h:214 [inline] RIP: 0010:test_bit include/asm-generic/bitops/instrumented-non-atomic.h:135 [inline] RIP: 0010:hlock_class kernel/locking/lockdep.c:197 [inline] RIP: 0010:__lock_acquire+0x1209/0x1ff0 kernel/locking/lockdep.c:5009 Code: 04 38 84 c0 0f 85 2b 0a 00 00 41 8b 1f 81 e3 ff 1f 00 00 89 d8 c1 e8 06 48 8d 3c c5 c0 00 bd 8f be 08 00 00 00 e8 a7 56 67 00 <48> 0f a3 1d 2f 5d 5a 0e 73 1b 48 8d 04 5b 48 c1 e0 06 48 8d 98 c0 RSP: 0018:ffffc90000dd0a60 EFLAGS: 00000056 RAX: 0000000000000001 RBX: 0000000000000015 RCX: ffffffff8162a389 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8fbd00c0 RBP: 9be2421a50ef4013 R08: dffffc0000000000 R09: fffffbfff1f7a019 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff88802379c668 R14: ffff88802379bb80 R15: ffff88802379c690 FS: 00005555570ea480(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f55c0d1d5a3 CR3: 0000000045313000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:312 rcu_read_lock include/linux/rcupdate.h:739 [inline] advance_sched+0x6ce/0x940 net/sched/sch_taprio.c:769 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:stack_trace_consume_entry+0xa3/0x270 kernel/stacktrace.c:93 Code: 41 0f b6 44 15 00 84 c0 0f 85 65 01 00 00 44 89 37 b0 01 e9 95 00 00 00 31 c0 e9 8e 00 00 00 48 89 d8 48 c1 e8 03 80 3c 10 00 <74> 26 4c 89 0c 24 48 89 df 49 89 f5 4d 89 c6 e8 b9 24 5c 00 4d 89 RSP: 0018:ffffc90002cf7750 EFLAGS: 00000246 RAX: 1ffff9200059ef10 RBX: ffffc90002cf7880 RCX: 0000000080000000 RDX: dffffc0000000000 RSI: ffffffff8a1bb6ed RDI: ffffc90002cf788c RBP: ffffc90002cf7888 R08: 000000000000000b R09: ffffc90002cf7890 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200059ef11 R13: 1ffff9200059ef11 R14: 0000000000000000 R15: 1ffff9200059ef12 arch_stack_walk+0x101/0x140 arch/x86/kernel/stacktrace.c:27 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] __kasan_slab_alloc+0x8e/0xc0 mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x53/0x380 mm/slab.h:519 slab_alloc_node mm/slub.c:3220 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0xf3/0x280 mm/slub.c:3233 kmem_cache_zalloc include/linux/slab.h:711 [inline] lsm_file_alloc security/security.c:574 [inline] security_file_alloc+0x24/0x120 security/security.c:1530 __alloc_file+0xc3/0x240 fs/file_table.c:106 alloc_empty_file+0x92/0x180 fs/file_table.c:150 alloc_file+0x5b/0x4f0 fs/file_table.c:192 alloc_file_pseudo+0x259/0x2f0 fs/file_table.c:232 sock_alloc_file+0xb4/0x240 net/socket.c:462 sock_map_fd net/socket.c:486 [inline] __sys_socket+0x194/0x370 net/socket.c:1583 __do_sys_socket net/socket.c:1588 [inline] __se_sys_socket net/socket.c:1586 [inline] __x64_sys_socket+0x76/0x80 net/socket.c:1586 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f3eefcc9be7 Code: f0 ff ff 77 06 c3 0f 1f 44 00 00 48 c7 c2 b0 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 0f 1f 44 00 00 b8 29 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fffab6ec6e8 EFLAGS: 00000206 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f3eefcc9be7 RDX: 0000000000000006 RSI: 0000000000000001 RDI: 000000000000000a RBP: 00007fffab6ece3c R08: 00007fffab6ec70c R09: 0079746972756365 R10: 00007fffab6ec770 R11: 0000000000000206 R12: 00007f3eefdc4b40 R13: 00000000000a8475 R14: 00000000000a831d R15: 00007f3eefdc6d00 rcu: rcu_preempt kthread timer wakeup didn't happen for 10204 jiffies! g115269 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=42532 rcu: rcu_preempt kthread starved for 10205 jiffies! g115269 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:27000 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1884 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 rcu: Stack dump where RCU GP kthread last ran: NMI backtrace for cpu 0 CPU: 0 PID: 5626 Comm: kworker/0:16 Not tainted 5.15.153-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: events bpf_prog_free_deferred Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline] rcu_check_gp_kthread_starvation+0x1d2/0x240 kernel/rcu/tree_stall.h:487 print_other_cpu_stall+0x137a/0x14d0 kernel/rcu/tree_stall.h:592 check_cpu_stall kernel/rcu/tree_stall.h:745 [inline] rcu_pending kernel/rcu/tree.c:3932 [inline] rcu_sched_clock_irq+0xa38/0x1150 kernel/rcu/tree.c:2619 update_process_times+0x196/0x200 kernel/time/timer.c:1788 tick_sched_handle kernel/time/tick-sched.c:254 [inline] tick_sched_timer+0x386/0x550 kernel/time/tick-sched.c:1473 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:csd_lock_wait kernel/smp.c:440 [inline] RIP: 0010:smp_call_function_many_cond+0xa93/0xd90 kernel/smp.c:969 Code: 04 03 84 c0 0f 85 84 00 00 00 45 8b 7d 00 44 89 fe 83 e6 01 31 ff e8 1c cf 0b 00 41 83 e7 01 75 07 e8 b1 cb 0b 00 eb 41 f3 90 <48> b8 00 00 00 00 00 fc ff df 0f b6 04 03 84 c0 75 11 41 f7 45 00 RSP: 0018:ffffc900040778a0 EFLAGS: 00000293 RAX: ffffffff81746e24 RBX: 1ffff110173680b1 RCX: ffff888079488000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900040779e0 R08: ffffffff81746df4 R09: fffffbfff1f7a01a R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffff8880b9b40588 R14: ffff8880b9a3b380 R15: 0000000000000001 on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1135 __purge_vmap_area_lazy+0x294/0x1740 mm/vmalloc.c:1683 _vm_unmap_aliases+0x453/0x4e0 mm/vmalloc.c:2107 vm_remove_mappings mm/vmalloc.c:2584 [inline] __vunmap+0x72e/0xa20 mm/vmalloc.c:2611 bpf_jit_binary_free kernel/bpf/core.c:914 [inline] bpf_jit_free+0x92/0x180 kernel/bpf/core.c:927 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298