rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (0 ticks this GP) idle=44f/1/0x4000000000000000 softirq=7389/7389 fqs=0 (detected by 1, t=10502 jiffies, g=8421, q=7305) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3546 Comm: udevd Not tainted 5.15.176-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:kasan_check_range+0x1ac/0x290 mm/kasan/generic.c:189 Code: 4c 89 d5 48 8d 5d 07 48 85 ed 48 0f 49 dd 48 83 e3 f8 48 29 dd 74 12 41 80 39 00 0f 85 a2 00 00 00 49 ff c1 48 ff cd 75 ee 5b <41> 5e 41 5f 5d c3 45 84 f6 75 61 41 f7 c6 00 ff 00 00 75 5d 41 f7 RSP: 0000:ffffc900000079c0 EFLAGS: 00000056 RAX: 0000000000000001 RBX: 0000000000000060 RCX: ffffffff8162dad3 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff9098a108 RBP: 0000000000000001 R08: dffffc0000000000 R09: fffffbfff2131422 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffff88807ccc28f8 R14: fffffbfff2131422 R15: ffff88807ccc2902 FS: 00007f56996d1c80(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005631bd1dd9b8 CR3: 000000002b00a000 CR4: 00000000003506f0 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:4711 [inline] __lock_acquire+0x7a3/0x1ff0 kernel/locking/lockdep.c:4962 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_activate+0x63/0x4e0 lib/debugobjects.c:694 debug_hrtimer_activate kernel/time/hrtimer.c:420 [inline] debug_activate kernel/time/hrtimer.c:475 [inline] enqueue_hrtimer+0x30/0x390 kernel/time/hrtimer.c:1084 __run_hrtimer kernel/time/hrtimer.c:1705 [inline] __hrtimer_run_queues+0x6b6/0xcf0 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline] __sysvec_apic_timer_interrupt+0x13b/0x4b0 arch/x86/kernel/apic/apic.c:1114 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:lock_release+0x62d/0x9a0 kernel/locking/lockdep.c:5647 Code: 3c 3b 00 74 08 4c 89 f7 e8 e0 73 67 00 f6 84 24 91 00 00 00 02 75 6f 41 f7 c5 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 04 27 00 00 00 00 4b c7 44 27 08 00 00 00 00 65 48 8b 04 25 RSP: 0000:ffffc90002d4fa20 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920005a9f56 RCX: ffffc90002d4fa03 RDX: 0000000000000001 RSI: ffffffff8aab3e20 RDI: ffffffff8af9f340 RBP: ffffc90002d4fb58 R08: dffffc0000000000 R09: fffffbfff1c14d56 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920005a9f50 R13: 0000000000000246 R14: ffffc90002d4fab0 R15: dffffc0000000000 __raw_spin_unlock include/linux/spinlock_api_smp.h:150 [inline] _raw_spin_unlock+0x12/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:403 [inline] wp_page_reuse+0x121/0x140 mm/memory.c:3014 do_wp_page+0x909/0xaf0 mm/memory.c:3354 handle_pte_fault mm/memory.c:4666 [inline] __handle_mm_fault mm/memory.c:4783 [inline] handle_mm_fault+0x2a3d/0x5960 mm/memory.c:4881 do_user_addr_fault arch/x86/mm/fault.c:1357 [inline] handle_page_fault arch/x86/mm/fault.c:1445 [inline] exc_page_fault+0x271/0x700 arch/x86/mm/fault.c:1501 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606 RIP: 0033:0x5631a70d8e9c Code: 89 3f 48 89 7f 08 c3 31 c0 48 39 3f 0f 94 c0 c3 48 8b 46 08 48 89 7e 08 48 89 37 48 89 47 08 48 89 38 c3 48 8b 47 08 48 8b 17 <48> 89 42 08 48 89 10 48 c7 47 08 00 00 00 00 48 c7 07 00 00 00 00 RSP: 002b:00007ffe4b91dcc8 EFLAGS: 00010246 RAX: 00005631bd1c5af8 RBX: 00005631bd1c5af0 RCX: 00005631bd1c5c50 RDX: 00005631bd1dd9b0 RSI: 0000000000000000 RDI: 00005631bd1cfab0 RBP: 00005631bd1cfab0 R08: 0000000000000007 R09: 2ef59e4ec38dfedb R10: 724be2d66355d85f R11: 0000000000000007 R12: 0000000000000000 R13: 0000000200000001 R14: 0000000000000000 R15: 0000000000000000 rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g8421 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=2268 rcu: rcu_preempt kthread starved for 10502 jiffies! g8421 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:27256 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 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:287 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3546 Comm: udevd Not tainted 5.15.176-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__lock_acquire+0x9/0x1ff0 kernel/locking/lockdep.c:4870 Code: ff 48 8b 0c 24 80 e1 07 80 c1 03 38 c1 7c 94 48 8b 3c 24 e8 49 9a 67 00 eb 89 0f 1f 80 00 00 00 00 55 41 57 41 56 41 55 41 54 <53> 48 81 ec 88 00 00 00 45 89 cc 45 89 c7 41 89 ce 89 d3 89 f5 65 RSP: 0000:ffffc90000007b10 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffffc90000007bc0 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8880b8e2a218 RBP: ffffc90000007ca8 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000000f74 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000046 FS: 00007f56996d1c80(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005631bd1dd9b8 CR3: 000000002b00a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:128 [inline] _raw_spin_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1692 [inline] __hrtimer_run_queues+0x662/0xcf0 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline] __sysvec_apic_timer_interrupt+0x13b/0x4b0 arch/x86/kernel/apic/apic.c:1114 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:lock_release+0x62d/0x9a0 kernel/locking/lockdep.c:5647 Code: 3c 3b 00 74 08 4c 89 f7 e8 e0 73 67 00 f6 84 24 91 00 00 00 02 75 6f 41 f7 c5 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 04 27 00 00 00 00 4b c7 44 27 08 00 00 00 00 65 48 8b 04 25 RSP: 0000:ffffc90002d4fa20 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920005a9f56 RCX: ffffc90002d4fa03 RDX: 0000000000000001 RSI: ffffffff8aab3e20 RDI: ffffffff8af9f340 RBP: ffffc90002d4fb58 R08: dffffc0000000000 R09: fffffbfff1c14d56 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920005a9f50 R13: 0000000000000246 R14: ffffc90002d4fab0 R15: dffffc0000000000 __raw_spin_unlock include/linux/spinlock_api_smp.h:150 [inline] _raw_spin_unlock+0x12/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:403 [inline] wp_page_reuse+0x121/0x140 mm/memory.c:3014 do_wp_page+0x909/0xaf0 mm/memory.c:3354 handle_pte_fault mm/memory.c:4666 [inline] __handle_mm_fault mm/memory.c:4783 [inline] handle_mm_fault+0x2a3d/0x5960 mm/memory.c:4881 do_user_addr_fault arch/x86/mm/fault.c:1357 [inline] handle_page_fault arch/x86/mm/fault.c:1445 [inline] exc_page_fault+0x271/0x700 arch/x86/mm/fault.c:1501 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606 RIP: 0033:0x5631a70d8e9c Code: 89 3f 48 89 7f 08 c3 31 c0 48 39 3f 0f 94 c0 c3 48 8b 46 08 48 89 7e 08 48 89 37 48 89 47 08 48 89 38 c3 48 8b 47 08 48 8b 17 <48> 89 42 08 48 89 10 48 c7 47 08 00 00 00 00 48 c7 07 00 00 00 00 RSP: 002b:00007ffe4b91dcc8 EFLAGS: 00010246 RAX: 00005631bd1c5af8 RBX: 00005631bd1c5af0 RCX: 00005631bd1c5c50 RDX: 00005631bd1dd9b0 RSI: 0000000000000000 RDI: 00005631bd1cfab0 RBP: 00005631bd1cfab0 R08: 0000000000000007 R09: 2ef59e4ec38dfedb R10: 724be2d66355d85f R11: 0000000000000007 R12: 0000000000000000 R13: 0000000200000001 R14: 0000000000000000 R15: 0000000000000000