rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-....: (10499 ticks this GP) idle=882/1/0x4000000000000002 softirq=11744/11744 fqs=2803 (t=10500 jiffies g=6213 q=388) rcu: rcu_preempt kthread starved for 4872 jiffies! g6213 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 NMI backtrace for cpu 1 CPU: 1 PID: 8237 Comm: syz-executor.0 Not tainted 5.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fb/0x318 lib/dump_stack.c:118 nmi_cpu_backtrace+0xaf/0x1a0 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x174/0x290 lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x10/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_dump_cpu_stacks+0x15a/0x220 kernel/rcu/tree_stall.h:254 print_cpu_stall kernel/rcu/tree_stall.h:455 [inline] check_cpu_stall kernel/rcu/tree_stall.h:529 [inline] rcu_pending kernel/rcu/tree.c:2827 [inline] rcu_sched_clock_irq+0xe25/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:mod_memcg_page_state+0xb/0x190 include/linux/memcontrol.h:652 Code: 0b 29 2e 00 eb 05 e8 04 29 2e 00 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d c3 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 54 53 <41> 89 f6 48 89 fb e8 da 28 2e 00 48 83 c3 38 48 89 d8 48 c1 e8 03 RSP: 0018:ffffc90002316ff8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 1ffff1100d823e01 RBX: ffff88806c11f008 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 00000000fffffffc RDI: ffffea0001b04e80 RBP: ffffc90002317018 R08: 000000000003a768 R09: ffffed10151b9747 R10: ffffed10151b9747 R11: 0000000000000000 R12: ffff88806c11f0a0 R13: dffffc0000000000 R14: 1ffff1100d823e14 R15: ffff8880a8dcba28 free_thread_stack+0x168/0x590 kernel/fork.c:280 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:stackdepot_memcmp lib/stackdepot.c:165 [inline] RIP: 0010:find_stack lib/stackdepot.c:182 [inline] RIP: 0010:stack_depot_save+0x13c/0x470 lib/stackdepot.c:241 Code: 4c 8b 3c f5 00 b9 52 8a 41 89 dc 4d 85 ff 74 41 45 39 77 08 75 28 41 39 5f 0c 75 22 31 c0 49 8b 4c c5 00 49 3b 4c c7 18 75 14 <48> ff c0 41 39 c4 75 ec eb 14 66 2e 0f 1f 84 00 00 00 00 00 4d 8b RSP: 0018:ffffc90002317270 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff02 RAX: 0000000000000009 RBX: 0000000000000013 RCX: ffffffff83566f41 RDX: 0000000000000d40 RSI: 000000000003858e RDI: 000000008a1199f9 RBP: ffffc900023172b0 R08: 0000000000000002 R09: ffffc90002317370 R10: 0000000000000013 R11: 0000000000000000 R12: 0000000000000013 R13: ffffc900023172e0 R14: 000000008613858e R15: ffff888099b8e920 save_stack mm/kasan/common.c:73 [inline] set_track mm/kasan/common.c:79 [inline] __kasan_kmalloc+0x178/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+0x1f/0x40 include/linux/slab.h:670 tomoyo_commit_ok+0x23/0x1d0 security/tomoyo/memory.c:76 tomoyo_update_domain+0x4ef/0x7c0 security/tomoyo/domain.c:137 tomoyo_update_path_acl security/tomoyo/file.c:398 [inline] tomoyo_write_file+0x322/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_check_open_permission+0x723/0x9d0 security/tomoyo/file.c:780 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:00007ffec5de8478 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007ffec5de84a4 RCX: 00000000004143f0 RDX: 00007ffec5de84aa RSI: 0000000000080001 RDI: 00000000004c00fb RBP: 00007ffec5de84a0 R08: 0000000000000000 R09: 0000000000000004 R10: 0000000000000075 R11: 0000000000000246 R12: 00000000004c00fb R13: 00007ffec5de89c0 R14: 0000000000000000 R15: 00007ffec5de89d0