rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P8304 (detected by 0, t=10503 jiffies, g=6601, q=78) syz-executor.0 R running task 27984 8304 8279 0x0000400a Call Trace: sched_show_task+0x40f/0x560 kernel/sched/core.c:5954 rcu_print_detail_task_stall_rnp kernel/rcu/tree_stall.h:190 [inline] print_other_cpu_stall kernel/rcu/tree_stall.h:398 [inline] check_cpu_stall kernel/rcu/tree_stall.h:538 [inline] rcu_pending kernel/rcu/tree.c:2827 [inline] rcu_sched_clock_irq+0x16b1/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:__memcg_kmem_uncharge+0xa/0x2e0 mm/memcontrol.c:2909 Code: 74 12 48 81 c3 08 02 00 00 48 89 df 4c 89 f6 e8 dc 7d ff ff 5b 41 5e 5d c3 0f 1f 80 00 00 00 00 55 48 89 e5 41 57 41 56 41 55 <41> 54 53 50 89 f3 49 89 fc 48 b8 00 00 00 00 00 fc ff df 4c 8d 77 RSP: 0018:ffffc90002177260 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: ffffffff81486ea4 RBX: ffffea0002329180 RCX: ffff888092334380 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffea0002329180 RBP: ffffc90002177278 R08: 000000000003a768 R09: ffffed101326cec7 R10: ffffed101326cec7 R11: 0000000000000000 R12: ffff8880a75f0aa0 R13: dffffc0000000000 R14: 1ffff11014ebe154 R15: ffff888099367628 memcg_kmem_uncharge include/linux/memcontrol.h:1402 [inline] free_thread_stack+0x12e/0x590 kernel/fork.c:284 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_acquire+0x1b2/0x250 kernel/locking/lockdep.c:4488 Code: c1 e8 03 42 80 3c 30 00 74 0c 48 c7 c7 28 96 0a 89 e8 b2 7e 56 00 48 83 3d d2 01 af 07 00 0f 84 9c 00 00 00 48 8b 7d c0 57 9d <0f> 1f 44 00 00 48 83 c4 30 5b 41 5c 41 5d 41 5e 41 5f 5d c3 44 89 RSP: 0018:ffffc900021774d8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff12152c5 RBX: 0000000000000000 RCX: 07a6a88b21c8899e RDX: dffffc0000000000 RSI: ffff888092334cb8 RDI: 0000000000000286 RBP: ffffc90002177530 R08: dffffc0000000000 R09: fffffbfff13c8d1d R10: fffffbfff13c8d1d R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: dffffc0000000000 R15: ffffffff890d4bc0 rcu_lock_acquire+0x2e/0x40 include/linux/rcupdate.h:208 rcu_read_lock include/linux/rcupdate.h:617 [inline] is_bpf_text_address+0x2a/0x370 kernel/bpf/core.c:707 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_kmalloc+0x9/0x10 mm/kasan/common.c:526 __do_kmalloc mm/slab.c:3656 [inline] __kmalloc+0x254/0x340 mm/slab.c:3665 kmalloc include/linux/slab.h:561 [inline] kzalloc+0x1f/0x40 include/linux/slab.h:670 tomoyo_get_name+0x226/0x540 security/tomoyo/memory.c:173 tomoyo_parse_name_union+0x169/0x1f0 security/tomoyo/util.c:258 tomoyo_update_path_acl security/tomoyo/file.c:395 [inline] tomoyo_write_file+0x2f3/0x1040 security/tomoyo/file.c:1022 tomoyo_write_domain2 security/tomoyo/common.c:1150 [inline] tomoyo_add_entry security/tomoyo/common.c:2040 [inline] tomoyo_supervisor+0x1021/0x1330 security/tomoyo/common.c:2101 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline] tomoyo_path_permission security/tomoyo/file.c:587 [inline] tomoyo_path_perm+0x5c3/0x850 security/tomoyo/file.c:838 tomoyo_path_symlink+0x95/0xc0 security/tomoyo/tomoyo.c:206 security_path_symlink+0xed/0x170 security/security.c:1053 do_symlinkat+0xf3/0x3f0 fs/namei.c:4148 __do_sys_symlink fs/namei.c:4169 [inline] __se_sys_symlink fs/namei.c:4167 [inline] __x64_sys_symlink+0x60/0x70 fs/namei.c:4167 do_syscall_64+0xf7/0x1c0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45a3a7 Code: 0f 1f 00 b8 5c 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 6d b9 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 58 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 4d b9 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffca4ff2e48 EFLAGS: 00000206 ORIG_RAX: 0000000000000058 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000045a3a7 RDX: 00007ffca4ff2ee7 RSI: 00000000004c00d3 RDI: 00007ffca4ff2ed0 RBP: 0000000000000000 R08: 0000000000000220 R09: 0000000000000017 R10: 0000000000000075 R11: 0000000000000206 R12: 0000000000000001 R13: 00007ffca4ff2e80 R14: 0000000000000000 R15: 00007ffca4ff2e90 rcu: rcu_preempt kthread starved for 10562 jiffies! g6601 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0 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