rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=77b4/1/0x4000000000000000 softirq=129864/129865 fqs=0 rcu: (detected by 1, t=10506 jiffies, g=210577, q=123 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 1314 Comm: syz-executor.5 Not tainted 6.3.0-syzkaller-13390-g2e1e1337881b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:__lock_acquire+0xd41/0x5df0 kernel/locking/lockdep.c:5081 Code: df 48 89 da 48 c1 ea 03 0f b6 04 02 48 89 da 83 e2 07 38 d0 7f 0c 84 c0 74 08 48 89 df e8 a7 8b 70 00 41 f6 44 24 22 10 75 71 <48> b8 00 00 00 00 00 fc ff df 48 8b 54 24 70 48 c1 ea 03 80 3c 02 RSP: 0018:ffffc90000007b30 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff888070fd6c52 RCX: 1a9d56bbb2326a9a RDX: 0000000000000002 RSI: 0000000000000001 RDI: ffffffff9151d8a0 RBP: 0000000000000002 R08: 0000000000000000 R09: ffffffff9151bd07 R10: fffffbfff22a37a0 R11: 0000000000000000 R12: ffff888070fd6c30 R13: ffff888070fd6140 R14: 0000000000000001 R15: 1a9d56bbb2326a9a FS: 00007f55a7bd4700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f55a6fad988 CR3: 000000007649a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5691 [inline] lock_acquire+0x1b1/0x520 kernel/locking/lockdep.c:5656 rcu_lock_acquire include/linux/rcupdate.h:327 [inline] rcu_read_lock include/linux/rcupdate.h:773 [inline] advance_sched+0x6e4/0xd20 net/sched/sch_taprio.c:990 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x5fa/0xbe0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x320/0x7b0 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:prefetchw arch/x86/include/asm/processor.h:619 [inline] RIP: 0010:slab_alloc_node mm/slab.c:3252 [inline] RIP: 0010:__kmem_cache_alloc_node+0x12c/0x3f0 mm/slab.c:3540 Code: c0 ff ff 49 89 c7 48 85 db 4c 89 7c 24 08 0f 85 a3 01 00 00 9c 58 f6 c4 02 0f 85 14 02 00 00 48 85 db 74 01 fb 48 8b 74 24 08 <0f> 0d 0e 0f 1f 44 00 00 48 83 7d 40 00 0f 84 8b 00 00 00 44 23 25 RSP: 0018:ffffc9000b28f728 EFLAGS: 00000206 RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff22a6636 RDX: 0000000000000000 RSI: ffff88807688a000 RDI: 0000000000000000 RBP: ffff888012440900 R08: 0000000000000001 R09: ffffffff9151bd3f R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000c40 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88807688a000 __do_kmalloc_node mm/slab_common.c:965 [inline] __kmalloc+0x4e/0x190 mm/slab_common.c:979 kmalloc include/linux/slab.h:563 [inline] tomoyo_realpath_from_path+0xc3/0x600 security/tomoyo/realpath.c:251 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_check_open_permission+0x29a/0x3a0 security/tomoyo/file.c:771 tomoyo_file_open security/tomoyo/tomoyo.c:332 [inline] tomoyo_file_open+0xa1/0xc0 security/tomoyo/tomoyo.c:327 security_file_open+0x49/0xb0 security/security.c:2797 do_dentry_open+0x575/0x13f0 fs/open.c:907 do_open fs/namei.c:3636 [inline] path_openat+0x1baa/0x2750 fs/namei.c:3791 do_filp_open+0x1ba/0x410 fs/namei.c:3818 do_sys_openat2+0x16d/0x4c0 fs/open.c:1356 do_sys_open fs/open.c:1372 [inline] __do_sys_openat fs/open.c:1388 [inline] __se_sys_openat fs/open.c:1383 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1383 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:0x7f55a6e8c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f55a7bd4168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f55a6fabf80 RCX: 00007f55a6e8c169 RDX: 0000000000000000 RSI: 0000000020000140 RDI: 00000000ffffff9c RBP: 00007f55a6ee7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc2965c34f R14: 00007f55a7bd4300 R15: 0000000000022000 rcu: rcu_preempt kthread timer wakeup didn't happen for 10505 jiffies! g210577 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=150452 rcu: rcu_preempt kthread starved for 10506 jiffies! g210577 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:28296 pid:15 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 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:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 1315 Comm: syz-executor.4 Not tainted 6.3.0-syzkaller-13390-g2e1e1337881b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:csd_lock_wait kernel/smp.c:285 [inline] RIP: 0010:smp_call_function_many_cond+0x67f/0x15a0 kernel/smp.c:828 Code: 89 ee e8 d4 3c 0b 00 85 ed 74 48 48 8b 44 24 08 49 89 c4 83 e0 07 49 c1 ec 03 48 89 c5 4d 01 f4 83 c5 03 e8 93 40 0b 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 ad 0c 00 00 8b 43 08 31 RSP: 0018:ffffc9000b62fb88 EFLAGS: 00000246 RAX: 0000000000040000 RBX: ffffe8ffffc02420 RCX: ffffc9000d698000 RDX: 0000000000040000 RSI: ffffffff8178256d RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: fffff91ffff80485 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000001 FS: 00007fdfd7e35700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdfd71ad988 CR3: 00000000289e8000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: clock_was_set+0x17b/0x810 kernel/time/hrtimer.c:974 do_settimeofday64 kernel/time/timekeeping.c:1345 [inline] do_settimeofday64+0x3c4/0x5d0 kernel/time/timekeeping.c:1312 do_sys_settimeofday64 kernel/time/time.c:195 [inline] do_sys_settimeofday64+0x1e2/0x270 kernel/time/time.c:169 __do_sys_clock_settime kernel/time/posix-timers.c:1092 [inline] __se_sys_clock_settime kernel/time/posix-timers.c:1080 [inline] __x64_sys_clock_settime+0x1a5/0x280 kernel/time/posix-timers.c:1080 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:0x7fdfd708c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fdfd7e35168 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3 RAX: ffffffffffffffda RBX: 00007fdfd71abf80 RCX: 00007fdfd708c169 RDX: 0000000000000000 RSI: 00000000200002c0 RDI: 0000000000000000 RBP: 00007fdfd70e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd8ca92abf R14: 00007fdfd7e35300 R15: 0000000000022000