rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (1 GPs behind) idle=5f2/1/0x4000000000000000 softirq=17121/17123 fqs=6 (t=10500 jiffies g=18657 q=7580) rcu: rcu_preempt kthread starved for 10470 jiffies! g18657 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:28880 pid: 11 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4313 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5064 schedule+0xcf/0x270 kernel/sched/core.c:5143 schedule_timeout+0x148/0x250 kernel/time/timer.c:1878 rcu_gp_fqs_loop kernel/rcu/tree.c:1940 [inline] rcu_gp_kthread+0xbbe/0x1d70 kernel/rcu/tree.c:2113 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 NMI backtrace for cpu 0 CPU: 0 PID: 12245 Comm: syz-executor.5 Not tainted 5.11.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:120 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_dump_cpu_stacks+0x1e3/0x21e kernel/rcu/tree_stall.h:337 print_cpu_stall kernel/rcu/tree_stall.h:569 [inline] check_cpu_stall kernel/rcu/tree_stall.h:643 [inline] rcu_pending kernel/rcu/tree.c:3751 [inline] rcu_sched_clock_irq.cold+0x472/0xec3 kernel/rcu/tree.c:2580 update_process_times+0x16d/0x200 kernel/time/timer.c:1782 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:226 tick_sched_timer+0x1b0/0x2d0 kernel/time/tick-sched.c:1369 __run_hrtimer kernel/time/hrtimer.c:1519 [inline] __hrtimer_run_queues+0x1ce/0xea0 kernel/time/hrtimer.c:1583 hrtimer_interrupt+0x334/0x940 kernel/time/hrtimer.c:1645 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x146/0x540 arch/x86/kernel/apic/apic.c:1102 run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:91 [inline] sysvec_apic_timer_interrupt+0x48/0x100 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:628 RIP: 0010:lock_is_held_type+0xc2/0x100 kernel/locking/lockdep.c:5481 Code: 03 44 39 f0 41 0f 94 c4 48 c7 c7 80 a1 4b 89 e8 44 0b 00 00 b8 ff ff ff ff 65 0f c1 05 67 59 16 77 83 f8 01 75 23 ff 34 24 9d <48> 83 c4 08 44 89 e0 5b 5d 41 5c 41 5d 41 5e 41 5f c3 45 31 e4 eb RSP: 0018:ffffc90000007dd8 EFLAGS: 00000202 RAX: 0000000000000001 RBX: 0000000000000001 RCX: 1ffffffff19df12b RDX: 0000000000000000 RSI: 0000000000000102 RDI: 0000000000000000 RBP: ffffffff8b3637a0 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff816282c9 R11: 0000000000000000 R12: 0000000000000000 R13: ffff888018b3dcc8 R14: 00000000ffffffff R15: ffff888018b3dcc8 lock_is_held include/linux/lockdep.h:271 [inline] rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:123 trace_hrtimer_expire_entry include/trace/events/timer.h:232 [inline] __run_hrtimer kernel/time/hrtimer.c:1516 [inline] __hrtimer_run_queues+0xcd2/0xea0 kernel/time/hrtimer.c:1583 hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1600 __do_softirq+0x2a5/0x9f7 kernel/softirq.c:343 asm_call_irq_on_stack+0xf/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0xaa/0xd0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:226 [inline] __irq_exit_rcu kernel/softirq.c:420 [inline] irq_exit_rcu+0x134/0x200 kernel/softirq.c:432 sysvec_apic_timer_interrupt+0x4d/0x100 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:628 RIP: 0010:preempt_schedule_irq+0x49/0x90 kernel/sched/core.c:5326 Code: 55 53 65 48 8b 1c 25 00 f0 01 00 48 89 dd 48 c1 ed 03 48 01 c5 bf 01 00 00 00 e8 c2 37 60 f8 e8 3d 1a 8b f8 fb bf 01 00 00 00 02 d1 ff ff 9c 58 fa f6 c4 02 75 27 bf 01 00 00 00 e8 50 1f 60 RSP: 0018:ffffc900179bfad8 EFLAGS: 00000202 RAX: 000000000000d48f RBX: ffff888018b3d340 RCX: ffffffff81580a37 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffed1003167a68 R08: 0000000000000001 R09: ffffffff8ebda7bf R10: fffffbfff1d7b4f7 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 irqentry_exit_cond_resched kernel/entry/common.c:393 [inline] irqentry_exit_cond_resched kernel/entry/common.c:385 [inline] irqentry_exit+0x7a/0xa0 kernel/entry/common.c:423 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:628 RIP: 0010:__sanitizer_cov_trace_pc+0x37/0x60 kernel/kcov.c:197 Code: 81 e1 00 01 00 00 65 48 8b 14 25 00 f0 01 00 a9 00 01 ff 00 74 0e 85 c9 74 35 8b 82 cc 14 00 00 85 c0 74 2b 8b 82 a8 14 00 00 <83> f8 02 75 20 48 8b 8a b0 14 00 00 8b 92 ac 14 00 00 48 8b 01 48 RSP: 0018:ffffc900179bfba8 EFLAGS: 00000246 RAX: 0000000000000002 RBX: ffffc900179bfdc8 RCX: 0000000000000000 RDX: ffff888018b3d340 RSI: ffffffff81b261dc RDI: 0000000000000003 RBP: ffff8880111cc630 R08: 0000000000000002 R09: 0000000000000001 R10: ffffffff81b261b0 R11: 0000000000000000 R12: 0000000020000000 R13: 0000000020600000 R14: 0000000000000001 R15: 0000000020600000 queue_pages_test_walk+0x22c/0x3f0 mm/mempolicy.c:706 walk_page_test+0x70/0x180 mm/pagewalk.c:295 walk_page_range+0x2cd/0x400 mm/pagewalk.c:413 queue_pages_range mm/mempolicy.c:756 [inline] do_mbind+0x2fe/0xe80 mm/mempolicy.c:1332 kernel_mbind mm/mempolicy.c:1468 [inline] __do_sys_mbind mm/mempolicy.c:1475 [inline] __se_sys_mbind mm/mempolicy.c:1471 [inline] __x64_sys_mbind+0x235/0x290 mm/mempolicy.c:1471 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e219 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f7f19b74c68 EFLAGS: 00000246 ORIG_RAX: 00000000000000ed RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 000000000045e219 RDX: 0000000000008003 RSI: 0000000000600000 RDI: 0000000020000000 RBP: 000000000119c128 R08: 0000000000000008 R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000246 R12: 000000000119c0dc R13: 00007ffeb56e684f R14: 00007f7f19b759c0 R15: 000000000119c0dc