rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=eaec/1/0x4000000000000000 softirq=32082/32082 fqs=0 rcu: (detected by 0, t=10502 jiffies, g=36193, q=229 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5055 Comm: syz-executor.1 Not tainted 6.5.0-rc1-syzkaller-00006-g3f01e9fed845 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 RIP: 0010:find_held_lock+0x26/0x110 kernel/locking/lockdep.c:5244 Code: 00 eb 9a 90 41 57 44 8d 7a ff 49 63 c7 41 56 49 89 ce 48 8d 04 80 41 55 49 89 f5 41 54 4c 8d a4 c7 c8 0a 00 00 55 4c 89 e7 53 <89> d3 e8 23 2b bb 08 85 c0 0f 85 87 00 00 00 49 83 ec 28 83 eb 02 RSP: 0018:ffffc900001e0c40 EFLAGS: 00000006 RAX: 000000000000000a RBX: 0000000000000003 RCX: ffffc900001e0cc8 RDX: 0000000000000003 RSI: ffffffff9232e170 RDI: ffff888028b06458 RBP: 1ffff9200003c191 R08: 0000000000000001 R09: fffffbfff1d54dda R10: ffffffff8eaa6ed7 R11: 0000000000000001 R12: ffff888028b06458 R13: ffffffff9232e170 R14: ffffc900001e0cc8 R15: 0000000000000002 FS: 00005555562fc480(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556305938 CR3: 0000000030fd7000 CR4: 0000000000350ee0 Call Trace: __lock_release kernel/locking/lockdep.c:5436 [inline] lock_release+0x1f5/0x670 kernel/locking/lockdep.c:5781 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline] _raw_spin_unlock_irqrestore+0x1a/0x70 kernel/locking/spinlock.c:194 debug_object_deactivate lib/debugobjects.c:805 [inline] debug_object_deactivate+0x268/0x300 lib/debugobjects.c:771 debug_hrtimer_deactivate kernel/time/hrtimer.c:427 [inline] debug_deactivate kernel/time/hrtimer.c:483 [inline] __run_hrtimer kernel/time/hrtimer.c:1656 [inline] __hrtimer_run_queues+0x3fd/0xc00 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x320/0x7b0 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1098 [inline] __sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1115 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1109 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:217 [inline] RIP: 0010:unwind_next_frame+0x1bd/0x1f70 arch/x86/kernel/unwind_orc.c:494 Code: 8d 43 ff 39 c6 0f 83 5e 15 00 00 48 b8 00 00 00 00 00 fc ff df 89 f2 48 8d 3c 95 74 e4 de 8f 48 89 f9 48 c1 e9 03 0f b6 0c 01 <48> 89 f8 83 e0 07 83 c0 03 38 c8 7c 27 84 c9 74 23 48 89 54 24 28 RSP: 0018:ffffc90003dbf5e8 EFLAGS: 00000217 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000094000 RSI: 0000000000094000 RDI: ffffffff9003e474 RBP: ffffc90003dbf6a0 R08: 0000000000000001 R09: ffffc90003dbff50 R10: ffffc90003dbf658 R11: 0000000000096001 R12: ffffc90003dbf6a8 R13: ffffc90003dbf658 R14: ffffc90003dbf68d R15: ffffffff8a40008a arch_stack_walk+0x81/0xf0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x90/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x22/0x40 mm/kasan/common.c:45 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 ____kasan_kmalloc mm/kasan/common.c:374 [inline] ____kasan_kmalloc mm/kasan/common.c:333 [inline] __kasan_kmalloc+0xa2/0xb0 mm/kasan/common.c:383 kasan_kmalloc include/linux/kasan.h:196 [inline] __do_kmalloc_node mm/slab_common.c:985 [inline] __kmalloc+0x5e/0x190 mm/slab_common.c:998 kmalloc include/linux/slab.h:586 [inline] tomoyo_realpath_from_path+0xc3/0x600 security/tomoyo/realpath.c:251 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x230/0x430 security/tomoyo/file.c:822 security_inode_getattr+0xd3/0x140 security/security.c:2114 vfs_getattr fs/stat.c:167 [inline] vfs_statx+0x16e/0x430 fs/stat.c:242 vfs_fstatat+0x90/0xb0 fs/stat.c:276 __do_sys_newfstatat+0x8a/0x110 fs/stat.c:446 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fe30847b5ca Code: 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 0b 00 00 00 66 2e 0f 1f 84 00 00 00 00 00 90 41 89 ca b8 06 01 00 00 0f 05 <3d> 00 f0 ff ff 77 07 31 c0 c3 0f 1f 40 00 48 c7 c2 b0 ff ff ff f7 RSP: 002b:00007ffd7a2c3da8 EFLAGS: 00000286 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe30847b5ca RDX: 00007ffd7a2c3dd0 RSI: 00007ffd7a2c3e60 RDI: 00000000ffffff9c RBP: 00007ffd7a2c3e60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000286 R12: 00007ffd7a2c4f20 R13: 00007fe3084c73b9 R14: 000000000008dc04 R15: 0000000000000005 rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g36193 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=34075 rcu: rcu_preempt kthread starved for 10502 jiffies! g36193 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:28704 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6710 schedule+0xde/0x1a0 kernel/sched/core.c:6786 schedule_timeout+0x14e/0x2b0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1609 rcu_gp_kthread+0x23a/0x360 kernel/rcu/tree.c:1808 kthread+0x344/0x440 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 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: 5055 Comm: syz-executor.1 Not tainted 6.5.0-rc1-syzkaller-00006-g3f01e9fed845 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 RIP: 0010:__lock_release kernel/locking/lockdep.c:5466 [inline] RIP: 0010:lock_release+0x2e4/0x670 kernel/locking/lockdep.c:5781 Code: ea 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e e4 02 00 00 48 89 da 45 89 a7 c0 0a 00 00 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 23 03 00 00 49 8d bf b8 0a 00 00 48 8b 1b 48 b8 RSP: 0018:ffffc900001e0cb8 EFLAGS: 00000012 RAX: dffffc0000000000 RBX: ffff888028b06430 RCX: ffffc900001e0d08 RDX: 1ffff11005160c86 RSI: 0000000000000000 RDI: ffff888028b06452 RBP: 1ffff9200003c199 R08: 0000000000000001 R09: fffffbfff1d54dda R10: ffffffff8eaa6ed7 R11: 0000000000000001 R12: 0000000000000001 R13: ffff888028b06400 R14: 0000000000000002 R15: ffff888028b05940 FS: 00005555562fc480(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556305938 CR3: 0000000030fd7000 CR4: 0000000000350ee0 Call Trace: __raw_spin_unlock include/linux/spinlock_api_smp.h:141 [inline] _raw_spin_unlock+0x16/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] advance_sched+0x674/0xd20 net/sched/sch_taprio.c:992 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x604/0xc00 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x320/0x7b0 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1098 [inline] __sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1115 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1109 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:217 [inline] RIP: 0010:unwind_next_frame+0x1bd/0x1f70 arch/x86/kernel/unwind_orc.c:494 Code: 8d 43 ff 39 c6 0f 83 5e 15 00 00 48 b8 00 00 00 00 00 fc ff df 89 f2 48 8d 3c 95 74 e4 de 8f 48 89 f9 48 c1 e9 03 0f b6 0c 01 <48> 89 f8 83 e0 07 83 c0 03 38 c8 7c 27 84 c9 74 23 48 89 54 24 28 RSP: 0018:ffffc90003dbf5e8 EFLAGS: 00000217 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000094000 RSI: 0000000000094000 RDI: ffffffff9003e474 RBP: ffffc90003dbf6a0 R08: 0000000000000001 R09: ffffc90003dbff50 R10: ffffc90003dbf658 R11: 0000000000096001 R12: ffffc90003dbf6a8 R13: ffffc90003dbf658 R14: ffffc90003dbf68d R15: ffffffff8a40008a arch_stack_walk+0x81/0xf0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x90/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x22/0x40 mm/kasan/common.c:45 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 ____kasan_kmalloc mm/kasan/common.c:374 [inline] ____kasan_kmalloc mm/kasan/common.c:333 [inline] __kasan_kmalloc+0xa2/0xb0 mm/kasan/common.c:383 kasan_kmalloc include/linux/kasan.h:196 [inline] __do_kmalloc_node mm/slab_common.c:985 [inline] __kmalloc+0x5e/0x190 mm/slab_common.c:998 kmalloc include/linux/slab.h:586 [inline] tomoyo_realpath_from_path+0xc3/0x600 security/tomoyo/realpath.c:251 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x230/0x430 security/tomoyo/file.c:822 security_inode_getattr+0xd3/0x140 security/security.c:2114 vfs_getattr fs/stat.c:167 [inline] vfs_statx+0x16e/0x430 fs/stat.c:242 vfs_fstatat+0x90/0xb0 fs/stat.c:276 __do_sys_newfstatat+0x8a/0x110 fs/stat.c:446 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fe30847b5ca Code: 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 0b 00 00 00 66 2e 0f 1f 84 00 00 00 00 00 90 41 89 ca b8 06 01 00 00 0f 05 <3d> 00 f0 ff ff 77 07 31 c0 c3 0f 1f 40 00 48 c7 c2 b0 ff ff ff f7 RSP: 002b:00007ffd7a2c3da8 EFLAGS: 00000286 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe30847b5ca RDX: 00007ffd7a2c3dd0 RSI: 00007ffd7a2c3e60 RDI: 00000000ffffff9c RBP: 00007ffd7a2c3e60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000286 R12: 00007ffd7a2c4f20 R13: 00007fe3084c73b9 R14: 000000000008dc04 R15: 0000000000000005