rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 0, t=10502 jiffies, g=6293, q=126) rcu: All QSes seen, last rcu_preempt kthread activity 10503 (4294953368-4294942865), jiffies_till_next_fqs=1, root ->qsmask 0x0 syz-executor.1 R running task 24840 8182 8180 0x0000400a Call Trace: sched_show_task+0x40f/0x560 kernel/sched/core.c:5954 print_other_cpu_stall kernel/rcu/tree_stall.h:410 [inline] check_cpu_stall kernel/rcu/tree_stall.h:538 [inline] rcu_pending kernel/rcu/tree.c:2827 [inline] rcu_sched_clock_irq+0x1861/0x1ad0 kernel/rcu/tree.c:2271 update_process_times+0x12d/0x180 kernel/time/timer.c:1726 tick_sched_handle kernel/time/tick-sched.c:167 [inline] tick_sched_timer+0x263/0x420 kernel/time/tick-sched.c:1310 __run_hrtimer kernel/time/hrtimer.c:1514 [inline] __hrtimer_run_queues+0x403/0x840 kernel/time/hrtimer.c:1576 hrtimer_interrupt+0x38c/0xda0 kernel/time/hrtimer.c:1638 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1110 [inline] smp_apic_timer_interrupt+0x109/0x280 arch/x86/kernel/apic/apic.c:1135 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 RIP: 0010:free_thread_stack+0x151/0x590 kernel/fork.c:280 Code: 31 f6 e8 42 af 6e 00 43 80 3c 2e 00 74 08 4c 89 e7 e8 43 a4 69 00 49 8b 1c 24 48 83 c3 08 48 89 d8 48 c1 e8 03 42 80 3c 28 00 <74> 08 48 89 df e8 25 a4 69 00 48 8b 3b be fc ff ff ff e8 28 04 00 RSP: 0018:ffffc90001ec7028 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 1ffff11013e55861 RBX: ffff88809f2ac308 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffea0002769740 RBP: ffffc90001ec7060 R08: dffffc0000000000 R09: fffffbfff120248a R10: fffffbfff120248a R11: 0000000000000000 R12: ffff88809f2ac3a0 R13: dffffc0000000000 R14: 1ffff11013e55874 R15: ffff8880a859d528 release_task_stack kernel/fork.c:440 [inline] put_task_stack+0xa3/0x130 kernel/fork.c:451 finish_task_switch+0x3f1/0x550 kernel/sched/core.c:3256 context_switch kernel/sched/core.c:3388 [inline] __schedule+0x9a8/0xcc0 kernel/sched/core.c:4081 preempt_schedule_irq+0xc1/0x140 kernel/sched/core.c:4338 retint_kernel+0x1b/0x2b RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:752 [inline] RIP: 0010:lock_release+0x4c7/0x780 kernel/locking/lockdep.c:4506 Code: 48 c1 e8 03 80 3c 10 00 74 0c 48 c7 c7 28 96 0a 89 e8 9d 5b 56 00 48 83 3d bd de ae 07 00 0f 84 8c 02 00 00 48 8b 7d 88 57 9d <0f> 1f 44 00 00 65 48 8b 04 25 28 00 00 00 48 3b 45 d0 0f 85 70 02 RSP: 0018:ffffc90001ec7278 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff12152c5 RBX: ffff88808fcd6ec8 RCX: ffffffff815bbb47 RDX: dffffc0000000000 RSI: ffff88808fcd6f20 RDI: 0000000000000286 RBP: ffffc90001ec72f8 R08: dffffc0000000000 R09: fffffbfff1287025 R10: fffffbfff1287025 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: 5f154898ded5cb00 R15: 000000000002002b rcu_lock_release+0x21/0x30 include/linux/rcupdate.h:213 rcu_read_unlock include/linux/rcupdate.h:671 [inline] is_bpf_text_address+0x358/0x370 kernel/bpf/core.c:709 kernel_text_address kernel/extable.c:149 [inline] __kernel_text_address+0x9a/0x110 kernel/extable.c:104 unwind_get_return_address+0x4c/0x90 arch/x86/kernel/unwind_frame.c:19 arch_stack_walk+0x98/0xe0 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0xb6/0x150 kernel/stacktrace.c:123 save_stack mm/kasan/common.c:71 [inline] set_track mm/kasan/common.c:79 [inline] __kasan_kmalloc+0x11c/0x1b0 mm/kasan/common.c:512 kasan_slab_alloc+0xf/0x20 mm/kasan/common.c:520 slab_post_alloc_hook mm/slab.h:584 [inline] slab_alloc mm/slab.c:3320 [inline] __do_kmalloc mm/slab.c:3654 [inline] __kmalloc+0x22b/0x340 mm/slab.c:3665 kmalloc include/linux/slab.h:561 [inline] kzalloc include/linux/slab.h:670 [inline] tomoyo_encode2+0x273/0x5a0 security/tomoyo/realpath.c:44 tomoyo_encode security/tomoyo/realpath.c:79 [inline] tomoyo_realpath_from_path+0x769/0x7c0 security/tomoyo/realpath.c:316 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_check_open_permission+0x1ce/0x9d0 security/tomoyo/file.c:771 tomoyo_file_open+0x141/0x190 security/tomoyo/tomoyo.c:319 security_file_open+0x65/0x2f0 security/security.c:1497 do_dentry_open+0x351/0x10c0 fs/open.c:784 vfs_open+0x73/0x80 fs/open.c:914 do_last fs/namei.c:3412 [inline] path_openat+0x1397/0x44a0 fs/namei.c:3529 do_filp_open+0x192/0x3d0 fs/namei.c:3559 do_sys_open+0x29f/0x560 fs/open.c:1097 __do_sys_open fs/open.c:1115 [inline] __se_sys_open fs/open.c:1110 [inline] __x64_sys_open+0x87/0x90 fs/open.c:1110 do_syscall_64+0xf7/0x1c0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4143f0 Code: 05 48 3d 01 f0 ff ff 0f 83 2d 19 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 83 3d 7d 40 66 00 00 75 14 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 04 19 00 00 c3 48 83 ec 08 e8 0a fa ff ff RSP: 002b:00007ffd7fde59c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007ffd7fde59f1 RCX: 00000000004143f0 RDX: 00007ffd7fde59f6 RSI: 0000000000080001 RDI: 00007ffd7fde5f60 RBP: 00007ffd7fde59f0 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000064 R11: 0000000000000246 R12: 00007ffd7fde5f60 R13: 00007ffd7fde6348 R14: 0000000000000000 R15: 00007ffd7fde5f20 rcu: rcu_preempt kthread starved for 10561 jiffies! g6293 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1 rcu: RCU grace-period kthread stack dump: rcu_preempt R running task 29032 10 2 0x80004000 Call Trace: context_switch kernel/sched/core.c:3385 [inline] __schedule+0x9a0/0xcc0 kernel/sched/core.c:4081 schedule+0x181/0x210 kernel/sched/core.c:4155 schedule_timeout+0x14f/0x240 kernel/time/timer.c:1895 rcu_gp_fqs_loop kernel/rcu/tree.c:1661 [inline] rcu_gp_kthread+0xed8/0x1770 kernel/rcu/tree.c:1821 kthread+0x332/0x350 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352