rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 ticks this GP) idle=65b/1/0x4000000000000000 softirq=54252/54252 fqs=0 (detected by 0, t=10502 jiffies, g=75737, q=220) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3528 Comm: syslogd Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__preempt_count_add kernel/rcu/tree.c:1119 [inline] RIP: 0010:rcu_is_watching+0x2/0xa0 kernel/rcu/tree.c:1122 Code: 5c 41 5d 41 5e 41 5f 5d c3 e8 ea 75 d3 08 41 f7 c4 00 02 00 00 75 b4 eb b3 e8 ca 75 d3 08 66 2e 0f 1f 84 00 00 00 00 00 41 57 <41> 56 53 65 ff 05 ac 46 97 7e e8 6f 89 d3 08 89 c3 83 f8 08 73 72 RSP: 0018:ffffc90000dd0b70 EFLAGS: 00000057 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff8162e378 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8e0a58a8 RBP: ffffc90000dd0cb0 R08: dffffc0000000000 R09: fffffbfff1c14b16 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920001ba17c R13: ffffffff888c18c5 R14: dffffc0000000000 R15: dffffc0000000000 FS: 00007f5065d50380(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2f8ed6 CR3: 000000007dc60000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0xb9/0x9a0 kernel/locking/lockdep.c:5634 rcu_read_unlock include/linux/rcupdate.h:772 [inline] advance_sched+0x7d4/0x940 net/sched/sch_taprio.c:771 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x598/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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 b2 0e 82 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 57 3f 0f f7 65 8b 05 78 32 ba 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc90002e0f760 EFLAGS: 00000206 RAX: c39a74b2cebce200 RBX: 1ffff920005c1ef0 RCX: ffffffff96a8ef03 RDX: dffffc0000000000 RSI: ffffffff8aab2a80 RDI: 0000000000000001 RBP: ffffc90002e0f7f8 R08: ffffffff8186f220 R09: fffffbfff2d911d5 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff920005c1eec R14: ffffc90002e0f780 R15: 0000000000000246 __debug_check_no_obj_freed lib/debugobjects.c:982 [inline] debug_check_no_obj_freed+0x455/0x4e0 lib/debugobjects.c:1003 slab_free_hook mm/slub.c:1680 [inline] slab_free_freelist_hook+0x86/0x160 mm/slub.c:1731 slab_free mm/slub.c:3499 [inline] kfree+0xf1/0x270 mm/slub.c:4559 tomoyo_realpath_from_path+0x5ad/0x5e0 security/tomoyo/realpath.c:291 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x273/0x6b0 security/tomoyo/file.c:822 security_inode_getattr+0xcf/0x120 security/security.c:1348 vfs_getattr+0x26/0x360 fs/stat.c:157 vfs_statx+0x18f/0x3b0 fs/stat.c:225 vfs_fstatat fs/stat.c:243 [inline] __do_sys_newfstatat fs/stat.c:411 [inline] __se_sys_newfstatat fs/stat.c:405 [inline] __x64_sys_newfstatat+0x12c/0x1b0 fs/stat.c:405 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:0x7f5065ea45f4 Code: 64 c7 00 09 00 00 00 83 c8 ff c3 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 00 00 00 00 41 89 ca b8 06 01 00 00 0f 05 <45> 31 c0 3d 00 f0 ff ff 76 10 48 8b 15 03 a8 0d 00 f7 d8 41 83 c8 RSP: 002b:00007ffe411e2038 EFLAGS: 00000206 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 0000558937c0d910 RCX: 00007f5065ea45f4 RDX: 00007ffe411e2060 RSI: 00007f5065f41130 RDI: 0000000000000003 RBP: 00007ffe411e2140 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000001000 R11: 0000000000000206 R12: 0000558937c0dc50 R13: 000000006f48ee56 R14: 0000000000000003 R15: 0000558937c0da60 rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g75737 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=34047 rcu: rcu_preempt kthread starved for 10502 jiffies! g75737 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:26712 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3528 Comm: syslogd Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:hash_64_generic include/linux/hash.h:81 [inline] RIP: 0010:get_bucket lib/debugobjects.c:496 [inline] RIP: 0010:debug_object_activate+0x3e/0x4e0 lib/debugobjects.c:692 Code: f2 09 00 0f 85 a3 03 00 00 48 89 f5 49 89 fd 49 bf 00 00 00 00 00 fc ff df 48 89 f8 48 c1 e8 0c 48 b9 eb 83 b5 80 46 86 c8 61 <48> 0f af c8 48 c1 e9 2f 83 e1 f8 4c 8d a4 c9 00 89 c3 96 48 8d bc RSP: 0018:ffffc90000dd0cc8 EFLAGS: 00000806 RAX: 000ffff88801e99f RBX: 0000000000000000 RCX: 61c8864680b583eb RDX: 0000000000010000 RSI: ffffffff8aacbca0 RDI: ffff88801e99f340 RBP: ffffffff8aacbca0 R08: ffffffff816f7a7f R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88801e99f340 R14: ffff88801e99f340 R15: dffffc0000000000 FS: 00007f5065d50380(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2f8ed6 CR3: 000000007dc60000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: 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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 b2 0e 82 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 57 3f 0f f7 65 8b 05 78 32 ba 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc90002e0f760 EFLAGS: 00000206 RAX: c39a74b2cebce200 RBX: 1ffff920005c1ef0 RCX: ffffffff96a8ef03 RDX: dffffc0000000000 RSI: ffffffff8aab2a80 RDI: 0000000000000001 RBP: ffffc90002e0f7f8 R08: ffffffff8186f220 R09: fffffbfff2d911d5 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff920005c1eec R14: ffffc90002e0f780 R15: 0000000000000246 __debug_check_no_obj_freed lib/debugobjects.c:982 [inline] debug_check_no_obj_freed+0x455/0x4e0 lib/debugobjects.c:1003 slab_free_hook mm/slub.c:1680 [inline] slab_free_freelist_hook+0x86/0x160 mm/slub.c:1731 slab_free mm/slub.c:3499 [inline] kfree+0xf1/0x270 mm/slub.c:4559 tomoyo_realpath_from_path+0x5ad/0x5e0 security/tomoyo/realpath.c:291 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x273/0x6b0 security/tomoyo/file.c:822 security_inode_getattr+0xcf/0x120 security/security.c:1348 vfs_getattr+0x26/0x360 fs/stat.c:157 vfs_statx+0x18f/0x3b0 fs/stat.c:225 vfs_fstatat fs/stat.c:243 [inline] __do_sys_newfstatat fs/stat.c:411 [inline] __se_sys_newfstatat fs/stat.c:405 [inline] __x64_sys_newfstatat+0x12c/0x1b0 fs/stat.c:405 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:0x7f5065ea45f4 Code: 64 c7 00 09 00 00 00 83 c8 ff c3 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 00 00 00 00 41 89 ca b8 06 01 00 00 0f 05 <45> 31 c0 3d 00 f0 ff ff 76 10 48 8b 15 03 a8 0d 00 f7 d8 41 83 c8 RSP: 002b:00007ffe411e2038 EFLAGS: 00000206 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 0000558937c0d910 RCX: 00007f5065ea45f4 RDX: 00007ffe411e2060 RSI: 00007f5065f41130 RDI: 0000000000000003 RBP: 00007ffe411e2140 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000001000 R11: 0000000000000206 R12: 0000558937c0dc50 R13: 000000006f48ee56 R14: 0000000000000003 R15: 0000558937c0da60