rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-...!: (10499 ticks this GP) idle=e2e/1/0x4000000000000002 softirq=11256/11261 fqs=3 (t=10500 jiffies g=6061 q=55) rcu: rcu_preempt kthread starved for 10494 jiffies! g6061 f0x0 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 NMI backtrace for cpu 1 CPU: 1 PID: 8190 Comm: udevd 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+0x161/0x190 include/linux/memcontrol.h:655 Code: 3c 20 00 74 0c 48 c7 c7 28 96 0a 89 e8 a8 9e 69 00 48 83 3d c8 21 c2 07 00 74 2d e8 99 27 2e 00 4c 89 ff 57 9d 0f 1f 44 00 00 <5b> 41 5c 41 5e 41 5f 5d c3 e8 81 27 2e 00 0f 0b e8 7a 27 2e 00 0f RSP: 0018:ffffc90001e47718 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13 RAX: ffffffff81487433 RBX: 0000000000000000 RCX: ffff888094a20200 RDX: 0000000000000000 RSI: 00000000fffffffc RDI: ffffea000247e840 RBP: ffffc90001e47738 R08: 000000000003a768 R09: ffffed1014151b27 R10: ffffed1014151b27 R11: 0000000000000000 R12: dffffc0000000000 R13: dffffc0000000000 R14: 00000000fffffffc R15: ffff8880a0a8d928 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:rcu_read_lock include/linux/rcupdate.h:618 [inline] RIP: 0010:smack_inode_init_security+0x1c6/0x490 security/smack/smack_lsm.c:996 Code: a6 13 fe 48 c7 c7 c0 4b 0d 89 e8 a5 d9 00 00 e8 70 95 12 fe 89 c3 31 ff 89 c6 e8 d5 11 26 fe 85 db 74 24 80 3d 91 12 ef 05 01 <49> bc 00 00 00 00 00 fc ff df 75 22 e8 19 0e 26 fe eb 4f e8 12 0e RSP: 0018:ffffc90001e47990 EFLAGS: 00000297 ORIG_RAX: ffffffffffffff13 RAX: ffff888094a20200 RBX: 0000000000000001 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90001e479f0 R08: ffffffff83508dcb R09: fffffbfff13c851d R10: fffffbfff13c851d R11: 0000000000000000 R12: ffffffff891ed900 R13: 1ffff11012824b7a R14: ffffc90001e47a30 R15: ffff888094125bd0 security_inode_init_security+0xfe/0x310 security/security.c:985 shmem_mknod+0xb8/0x1c0 mm/shmem.c:2889 shmem_create+0x2b/0x40 mm/shmem.c:2944 lookup_open fs/namei.c:3228 [inline] do_last fs/namei.c:3318 [inline] path_openat+0x2236/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:0x7f06b5d24120 Code: 48 8b 15 1b 4d 2b 00 f7 d8 64 89 02 83 c8 ff c3 90 90 90 90 90 90 90 90 90 90 83 3d d5 a4 2b 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 5e 8c 01 00 48 89 04 24 RSP: 002b:00007ffd543fad48 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000001a2b290 RCX: 00007f06b5d24120 RDX: 00000000000001b6 RSI: 0000000000080241 RDI: 00007ffd543fb230 RBP: 00007ffd543fadc0 R08: 0000000000000004 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000004 R13: 0000000000420721 R14: 00007ffd543fae30 R15: 0000000000000001