rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 1-...!: (1 GPs behind) idle=4294/1/0x4000000000000000 softirq=32517/32518 fqs=0
rcu: (detected by 0, t=10506 jiffies, g=42341, q=396 ncpus=2)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 7702 Comm: syz-executor.4 Not tainted 6.9.0-rc7-next-20240510-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:memory_is_nonzero mm/kasan/generic.c:103 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:129 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:161 [inline]
RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline]
RIP: 0010:kasan_check_range+0x64/0x290 mm/kasan/generic.c:189
Code: 48 c1 eb 03 49 ba 00 00 00 00 00 fc ff df 4e 8d 1c 13 49 ff c8 4d 89 c1 49 c1 e9 03 49 be 01 00 00 00 00 fc ff df 4f 8d 3c 31 <4c> 89 fd 4c 29 dd 48 83 fd 10 7f 29 48 85 ed 0f 84 3e 01 00 00 4c
RSP: 0018:ffffc90000a189b8 EFLAGS: 00000807
RAX: 0000000000000001 RBX: 1ffffffff25f64e1 RCX: ffffffff8172dd7a
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff92fb2708
RBP: 000000000001ffff R08: ffffffff92fb270f R09: 1ffffffff25f64e1
R10: dffffc0000000000 R11: fffffbfff25f64e1 R12: 0000000000000001
R13: dffffc0000000000 R14: dffffc0000000001 R15: fffffbfff25f64e2
FS: 0000555560942480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555560953978 CR3: 00000000531d0000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
instrument_atomic_read include/linux/instrumented.h:68 [inline]
_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
hlock_class kernel/locking/lockdep.c:228 [inline]
mark_lock+0x9a/0x350 kernel/locking/lockdep.c:4656
mark_usage kernel/locking/lockdep.c:4599 [inline]
__lock_acquire+0xc0a/0x1fd0 kernel/locking/lockdep.c:5091
lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:351 [inline]
advance_sched+0xab/0xca0 net/sched/sch_taprio.c:924
__run_hrtimer kernel/time/hrtimer.c:1687 [inline]
__hrtimer_run_queues+0x5a5/0xd50 kernel/time/hrtimer.c:1751
hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1813
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline]
__sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1049
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline]
sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:on_stack arch/x86/include/asm/stacktrace.h:55 [inline]
RIP: 0010:stack_access_ok arch/x86/kernel/unwind_orc.c:393 [inline]
RIP: 0010:deref_stack_reg+0x27/0x260 arch/x86/kernel/unwind_orc.c:403
Code: 90 90 90 55 41 57 41 56 41 55 41 54 53 48 83 ec 28 49 89 d6 48 89 34 24 48 89 fb 49 bf 00 00 00 00 00 fc ff df e8 a9 0f 55 00 <48> 8d 6b 08 49 89 ec 49 c1 ec 03 43 80 3c 3c 00 74 08 48 89 ef e8
RSP: 0018:ffffc90002e073c8 EFLAGS: 00000293
RAX: ffffffff81410cd7 RBX: ffffc90002e07500 RCX: ffff888067335a00
RDX: 0000000000000000 RSI: ffffc90002e07df0 RDI: ffffc90002e07500
RBP: ffffc90002e07500 R08: 0000000000000005 R09: ffffffff8140f8cf
R10: 0000000000000003 R11: ffff888067335a00 R12: ffffc90002e07df8
R13: dffffc0000000000 R14: ffffc90002e07540 R15: dffffc0000000000
unwind_next_frame+0x1ab8/0x2a00 arch/x86/kernel/unwind_orc.c:648
arch_stack_walk+0x151/0x1b0 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:47 [inline]
kasan_save_track+0x3f/0x80 mm/kasan/common.c:68
poison_kmalloc_redzone mm/kasan/common.c:370 [inline]
__kasan_kmalloc+0x98/0xb0 mm/kasan/common.c:387
kasan_kmalloc include/linux/kasan.h:211 [inline]
__do_kmalloc_node mm/slub.c:4121 [inline]
__kmalloc_noprof+0x200/0x410 mm/slub.c:4134
kmalloc_noprof include/linux/slab.h:664 [inline]
kzalloc_noprof include/linux/slab.h:778 [inline]
tomoyo_encode2 security/tomoyo/realpath.c:45 [inline]
tomoyo_encode+0x26f/0x540 security/tomoyo/realpath.c:80
tomoyo_realpath_from_path+0x59e/0x5e0 security/tomoyo/realpath.c:283
tomoyo_get_realpath security/tomoyo/file.c:151 [inline]
tomoyo_path_number_perm+0x23a/0x880 security/tomoyo/file.c:723
tomoyo_path_mkdir+0xe7/0x130 security/tomoyo/tomoyo.c:179
security_path_mkdir+0xe8/0x140 security/security.c:1824
do_mkdirat+0x1c4/0x3a0 fs/namei.c:4151
__do_sys_mkdirat fs/namei.c:4169 [inline]
__se_sys_mkdirat fs/namei.c:4167 [inline]
__x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4167
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7faf5867c867
Code: 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 02 01 00 00 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:00007fff53a2a668 EFLAGS: 00000202 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007fff53a2a6f0 RCX: 00007faf5867c867
RDX: 00000000000001ff RSI: 00007fff53a2a6f0 RDI: 00000000ffffff9c
RBP: 00007fff53a2a6cc R08: 0000000000000004 R09: 00007fff53a2a406
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000032
R13: 0000000000047989 R14: 0000000000047909 R15: 0000000000000019
rcu: rcu_preempt kthread starved for 10506 jiffies! g42341 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:25528 pid:17 tgid:17 ppid:2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5408 [inline]
__schedule+0x17e8/0x4a50 kernel/sched/core.c:6745
__schedule_loop kernel/sched/core.c:6822 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6837
schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581
rcu_gp_fqs_loop+0x2df/0x1370 kernel/rcu/tree.c:2000
rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2202
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
rcu: Stack dump where RCU GP kthread last ran:
CPU: 0 PID: 9214 Comm: syz-executor.1 Not tainted 6.9.0-rc7-next-20240510-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline]
RIP: 0010:smp_call_function_many_cond+0x1894/0x2a00 kernel/smp.c:855
Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 f5 f2 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 a0 ee 0b 00 eb 38 f3 90 <42> 0f b6 04 23 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 84 ee
RSP: 0018:ffffc90003dcfae0 EFLAGS: 00000246
RAX: ffffffff818a2dfc RBX: 1ffff110172a88a9 RCX: 0000000000040000
RDX: ffffc9000af82000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: ffffc90003dcfce0 R08: ffffffff818a2dcb R09: 1ffffffff25f64d0
R10: dffffc0000000000 R11: fffffbfff25f64d1 R12: dffffc0000000000
R13: ffff8880b9544548 R14: ffff8880b943f900 R15: 0000000000000001
FS: 00007ff96ffbe6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff96f2de1b0 CR3: 000000007a2ee000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023
on_each_cpu include/linux/smp.h:71 [inline]
hardware_enable_all arch/x86/kvm/../../../virt/kvm/kvm_main.c:5603 [inline]
kvm_create_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:1207 [inline]
kvm_dev_ioctl_create_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:5408 [inline]
kvm_dev_ioctl+0x1164/0x2320 arch/x86/kvm/../../../virt/kvm/kvm_main.c:5450
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:907 [inline]
__se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff96f27dd69
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:00007ff96ffbe0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007ff96f3abf80 RCX: 00007ff96f27dd69
RDX: 0000000000000000 RSI: 000000000000ae01 RDI: 0000000000000007
RBP: 00007ff96f2ca49e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007ff96f3abf80 R15: 00007ffd4db2f368