rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=a12c/1/0x4000000000000000 softirq=57980/57981 fqs=0 (detected by 1, t=10502 jiffies, g=79289, q=53 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 19427 Comm: syz-executor.5 Not tainted 6.1.42-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 RIP: 0010:check_region_inline mm/kasan/generic.c:175 [inline] RIP: 0010:kasan_check_range+0x20/0x290 mm/kasan/generic.c:189 Code: cc cc cc cc cc cc cc cc cc cc 55 41 57 41 56 53 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 RSP: 0018:ffffc90000007b38 EFLAGS: 00000086 RAX: 0000000000000001 RBX: dffffc0000000000 RCX: ffffffff816b383d RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffffff91ec8e08 RBP: ffffffff91ec8e08 R08: dffffc0000000000 R09: fffffbfff2092c45 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff91ec8e08 R13: 1ffff92000000f78 R14: ffffc90000007bc0 R15: 1ffffffff23d91c2 FS: 00007fb2107fe6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000203cf030 CR3: 000000003f88d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read_write include/linux/instrumented.h:102 [inline] atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:541 [inline] queued_spin_lock include/asm-generic/qspinlock.h:111 [inline] do_raw_spin_lock+0x13d/0x370 kernel/locking/spinlock_debug.c:115 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline] _raw_spin_lock_irqsave+0xdd/0x120 kernel/locking/spinlock.c:162 debug_object_deactivate+0x61/0x3f0 lib/debugobjects.c:763 debug_hrtimer_deactivate kernel/time/hrtimer.c:425 [inline] debug_deactivate+0x1d/0x280 kernel/time/hrtimer.c:481 __run_hrtimer kernel/time/hrtimer.c:1653 [inline] __hrtimer_run_queues+0x334/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811 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+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:lock_acquire+0x26f/0x5a0 kernel/locking/lockdep.c:5673 Code: 2b 00 74 08 4c 89 f7 e8 0f 9a 76 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc90016fd77e0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92002dfaf08 RCX: 1ffff92002dfaea8 RDX: dffffc0000000000 RSI: ffffffff8aebe920 RDI: ffffffff8b3cdca0 RBP: ffffc90016fd7940 R08: dffffc0000000000 R09: fffffbfff2092c45 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92002dfaf04 R13: dffffc0000000000 R14: ffffc90016fd7840 R15: 0000000000000246 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:306 rcu_read_lock include/linux/rcupdate.h:747 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2267 [inline] bpf_trace_run2+0x10e/0x3e0 kernel/trace/bpf_trace.c:2307 __bpf_trace_kfree+0x6e/0x90 include/trace/events/kmem.h:94 __traceiter_kfree+0x26/0x40 include/trace/events/kmem.h:94 trace_kfree include/trace/events/kmem.h:94 [inline] kfree+0xf6/0x190 mm/slab_common.c:994 ___sys_recvmsg net/socket.c:2744 [inline] do_recvmmsg+0x491/0xad0 net/socket.c:2837 __sys_recvmmsg net/socket.c:2916 [inline] __do_sys_recvmmsg net/socket.c:2939 [inline] __se_sys_recvmmsg net/socket.c:2932 [inline] __x64_sys_recvmmsg+0x195/0x240 net/socket.c:2932 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+0x63/0xcd RIP: 0033:0x7fb211c7cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb2107fe0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007fb211d9c050 RCX: 00007fb211c7cae9 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007fb211cc847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fb211d9c050 R15: 00007fff5b3e2a48 rcu: rcu_preempt kthread starved for 10502 jiffies! g79289 f0x0 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+0x132c/0x4330 kernel/sched/core.c:6554 schedule+0xbf/0x180 kernel/sched/core.c:6630 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x2c2/0x1010 kernel/rcu/tree.c:1661 rcu_gp_kthread+0xa3/0x3a0 kernel/rcu/tree.c:1860 kthread+0x26e/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 19441 Comm: syz-executor.3 Not tainted 6.1.42-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 RIP: 0010:check_kcov_mode kernel/kcov.c:184 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x32/0x60 kernel/kcov.c:207 Code: 84 84 78 7e 65 8b 15 85 84 78 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 1c 16 00 00 00 74 2c 8b 91 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 RSP: 0018:ffffc90016d5f818 EFLAGS: 00000246 RAX: ffffffff817ed4fd RBX: 1ffff1101730841d RCX: ffff88807a7dbb80 RDX: 0000000000000002 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90016d5fbf0 R08: ffffffff817ed4c6 R09: ffffed10173275db R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000800000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880b98420e8 FS: 00007f82881cb6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f51ce0c56be CR3: 0000000033045000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: csd_lock_wait kernel/smp.c:413 [inline] smp_call_function_many_cond+0x1f7d/0x33d0 kernel/smp.c:987 clock_was_set+0x83c/0x900 kernel/time/hrtimer.c:974 do_settimeofday64+0x673/0x7e0 kernel/time/timekeeping.c:1345 __do_sys_clock_settime kernel/time/posix-timers.c:1119 [inline] __se_sys_clock_settime kernel/time/posix-timers.c:1107 [inline] __x64_sys_clock_settime+0x232/0x270 kernel/time/posix-timers.c:1107 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+0x63/0xcd RIP: 0033:0x7f828747cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f82881cb0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3 RAX: ffffffffffffffda RBX: 00007f828759bf80 RCX: 00007f828747cae9 RDX: 0000000000000000 RSI: 0000000020000380 RDI: 0000000000000000 RBP: 00007f82874c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f828759bf80 R15: 00007fffd069bf58