rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=095/1/0x4000000000000000 softirq=25488/25488 fqs=0 (detected by 0, t=10502 jiffies, g=32661, q=163) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 7959 Comm: syz-executor.2 Not tainted 5.15.161-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:87 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [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+0x81/0x290 mm/kasan/generic.c:189 Code: df 4f 8d 34 1a 4c 89 f5 4c 29 cd 48 83 fd 10 7f 26 48 85 ed 0f 84 3a 01 00 00 49 f7 d2 49 01 da 41 80 39 00 0f 85 c4 01 00 00 <49> ff c1 49 ff c2 75 ee e9 1d 01 00 00 45 89 cf 41 83 e7 07 0f 84 RSP: 0018:ffffc90000dd09d8 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 1ffffffff1f7f218 RCX: ffffffff8162bc0f RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8fbf90c0 RBP: 0000000000000001 R08: dffffc0000000000 R09: fffffbfff1f7f218 R10: ffffffffffffffff R11: dffffc0000000001 R12: 0000000000000001 R13: ffff88805a5cc668 R14: fffffbfff1f7f219 R15: ffff88805a5cc6b8 FS: 00007f58bb9ca6c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000070d7f000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] __lock_acquire+0xcef/0x1ff0 kernel/locking/lockdep.c:4982 lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 debug_object_deactivate+0x63/0x380 lib/debugobjects.c:748 debug_hrtimer_deactivate kernel/time/hrtimer.c:425 [inline] debug_deactivate+0x1b/0x1e0 kernel/time/hrtimer.c:481 __run_hrtimer kernel/time/hrtimer.c:1654 [inline] __hrtimer_run_queues+0x31d/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:unwind_next_frame+0x43a/0x1fa0 arch/x86/kernel/unwind_orc.c:461 Code: 89 ec 49 c1 ec 03 41 0f b6 04 14 84 c0 0f 85 33 14 00 00 48 89 d8 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 49 14 00 00 0f b7 45 00 <89> c3 83 e3 0f 0f 84 9b 00 00 00 8d 43 fe 83 f8 07 0f 87 29 01 00 RSP: 0018:ffffc900010ff7e8 EFLAGS: 00000246 RAX: 0000000000000005 RBX: ffffffff8e607d1b RCX: ffffffff8df6e5f8 RDX: dffffc0000000000 RSI: ffffffff8e607d16 RDI: ffffffff8df6e5f4 RBP: ffffffff8e607d1a R08: 0000000000000015 R09: ffffc900010ff990 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff1cc0fa3 R13: ffffffff818e3d47 R14: ffffffff8e607d16 R15: ffffc900010ff8a0 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 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_kmalloc+0xba/0xf0 mm/kasan/common.c:513 kasan_kmalloc include/linux/kasan.h:264 [inline] __kmalloc_node+0x199/0x390 mm/slub.c:4455 kmalloc_node include/linux/slab.h:614 [inline] __bpf_map_area_alloc kernel/bpf/syscall.c:320 [inline] bpf_map_area_alloc+0x4b/0xf0 kernel/bpf/syscall.c:333 array_map_alloc+0x28b/0x710 kernel/bpf/arraymap.c:139 find_and_alloc_map kernel/bpf/syscall.c:127 [inline] map_create+0x446/0x2070 kernel/bpf/syscall.c:877 __sys_bpf+0x276/0x670 kernel/bpf/syscall.c:4633 __do_sys_bpf kernel/bpf/syscall.c:4755 [inline] __se_sys_bpf kernel/bpf/syscall.c:4753 [inline] __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:4753 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f58bce50f29 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:00007f58bb9ca0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f58bcf87f80 RCX: 00007f58bce50f29 RDX: 0000000000000048 RSI: 0000000020000240 RDI: 0000000000000000 RBP: 00007f58bcec0074 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f58bcf87f80 R15: 00007ffc7a4ece18 rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g32661 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=10110 rcu: rcu_preempt kthread starved for 10502 jiffies! g32661 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:26144 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:1914 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:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300 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: 7959 Comm: syz-executor.2 Not tainted 5.15.161-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:__kasan_check_read+0x0/0x10 mm/kasan/shadow.c:31 Code: d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 48 c7 c7 63 c1 16 8c eb 0a 48 c7 c7 9b c1 16 8c 4c 89 fe e8 16 e8 52 08 31 db eb d7 cc cc <89> f6 48 8b 0c 24 31 d2 e9 63 ef ff ff 0f 1f 00 89 f6 48 8b 0c 24 RSP: 0018:ffffc90000dd0a58 EFLAGS: 00000003 RAX: 0000000000000040 RBX: 0000000000001024 RCX: ffffffff8162b3bb RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff8fbf92c0 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1f7f259 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff88805a5cc668 R14: 0000000000000002 R15: ffff88805a5cc690 FS: 00007f58bb9ca6c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000070d7f000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] hlock_class kernel/locking/lockdep.c:197 [inline] check_wait_context kernel/locking/lockdep.c:4687 [inline] __lock_acquire+0x549/0x1ff0 kernel/locking/lockdep.c:4962 lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:363 [inline] advance_sched+0x47/0x940 net/sched/sch_taprio.c:716 __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:unwind_next_frame+0x43a/0x1fa0 arch/x86/kernel/unwind_orc.c:461 Code: 89 ec 49 c1 ec 03 41 0f b6 04 14 84 c0 0f 85 33 14 00 00 48 89 d8 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 49 14 00 00 0f b7 45 00 <89> c3 83 e3 0f 0f 84 9b 00 00 00 8d 43 fe 83 f8 07 0f 87 29 01 00 RSP: 0018:ffffc900010ff7e8 EFLAGS: 00000246 RAX: 0000000000000005 RBX: ffffffff8e607d1b RCX: ffffffff8df6e5f8 RDX: dffffc0000000000 RSI: ffffffff8e607d16 RDI: ffffffff8df6e5f4 RBP: ffffffff8e607d1a R08: 0000000000000015 R09: ffffc900010ff990 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff1cc0fa3 R13: ffffffff818e3d47 R14: ffffffff8e607d16 R15: ffffc900010ff8a0 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 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_kmalloc+0xba/0xf0 mm/kasan/common.c:513 kasan_kmalloc include/linux/kasan.h:264 [inline] __kmalloc_node+0x199/0x390 mm/slub.c:4455 kmalloc_node include/linux/slab.h:614 [inline] __bpf_map_area_alloc kernel/bpf/syscall.c:320 [inline] bpf_map_area_alloc+0x4b/0xf0 kernel/bpf/syscall.c:333 array_map_alloc+0x28b/0x710 kernel/bpf/arraymap.c:139 find_and_alloc_map kernel/bpf/syscall.c:127 [inline] map_create+0x446/0x2070 kernel/bpf/syscall.c:877 __sys_bpf+0x276/0x670 kernel/bpf/syscall.c:4633 __do_sys_bpf kernel/bpf/syscall.c:4755 [inline] __se_sys_bpf kernel/bpf/syscall.c:4753 [inline] __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:4753 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f58bce50f29 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:00007f58bb9ca0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f58bcf87f80 RCX: 00007f58bce50f29 RDX: 0000000000000048 RSI: 0000000020000240 RDI: 0000000000000000 RBP: 00007f58bcec0074 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f58bcf87f80 R15: 00007ffc7a4ece18