Memory cgroup stats for /syz5: cache:1768KB rss:258904KB rss_huge:237568KB shmem:1720KB mapped_file:0KB dirty:0KB writeback:0KB swap:0KB inactive_anon:1720KB active_anon:258964KB inactive_file:0KB active_file:0KB unevictable:0KB Memory cgroup out of memory: Kill process 5967 (syz-executor5) score 1103 or sacrifice child Killed process 5967 (syz-executor5) total-vm:70476kB, anon-rss:2208kB, file-rss:32768kB, shmem-rss:0kB rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-....: (1 GPs behind) idle=552/1/0x4000000000000002 softirq=82613/82614 fqs=13 rcu: (t=10500 jiffies g=104693 q=424) rcu: rcu_preempt kthread starved for 621 jiffies! g104693 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=1 rcu: RCU grace-period kthread stack dump: rcu_preempt I22392 10 2 0x80000000 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x8cf/0x21d0 kernel/sched/core.c:3472 schedule+0xfe/0x460 kernel/sched/core.c:3516 schedule_timeout+0x140/0x260 kernel/time/timer.c:1804 rcu_gp_fqs_loop+0x762/0xa80 kernel/rcu/tree.c:1934 rcu_gp_kthread+0x341/0xc70 kernel/rcu/tree.c:2090 kthread+0x35a/0x440 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 NMI backtrace for cpu 0 CPU: 0 PID: 6077 Comm: syz-executor5 Not tainted 4.20.0-rc5+ #149 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+0x244/0x39d lib/dump_stack.c:113 nmi_cpu_backtrace.cold.2+0x5c/0xa1 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1e8/0x22a lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_dump_cpu_stacks+0x16f/0x1bc kernel/rcu/tree.c:1195 print_cpu_stall.cold.67+0x1f3/0x3c7 kernel/rcu/tree.c:1334 check_cpu_stall kernel/rcu/tree.c:1408 [inline] rcu_pending kernel/rcu/tree.c:2961 [inline] rcu_check_callbacks+0xf3b/0x13f0 kernel/rcu/tree.c:2506 update_process_times+0x2d/0x70 kernel/time/timer.c:1636 tick_sched_handle+0x9f/0x180 kernel/time/tick-sched.c:164 tick_sched_timer+0x45/0x130 kernel/time/tick-sched.c:1274 __run_hrtimer kernel/time/hrtimer.c:1398 [inline] __hrtimer_run_queues+0x41c/0x10d0 kernel/time/hrtimer.c:1460 hrtimer_interrupt+0x313/0x780 kernel/time/hrtimer.c:1518 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1034 [inline] smp_apic_timer_interrupt+0x1a1/0x760 arch/x86/kernel/apic/apic.c:1059 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:804 RIP: 0010:arch_local_irq_enable arch/x86/include/asm/paravirt.h:771 [inline] RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] RIP: 0010:_raw_spin_unlock_irq+0x56/0x80 kernel/locking/spinlock.c:192 Code: 52 89 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 32 48 83 3d c3 10 77 01 00 74 1f fb 66 0f 1f 44 00 00 01 00 00 00 e8 c0 bb 7a f9 65 8b 05 79 fd 26 78 85 c0 74 05 5b RSP: 0018:ffff8881b43ee730 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: dffffc0000000000 RBX: ffffffff895bd140 RCX: 1ffff110380bd16e RDX: 1ffffffff12a4020 RSI: 0000000000000000 RDI: ffffffff89520100 RBP: ffff8881b43ee738 R08: ffff8881c05e8b70 R09: 0000000000000006 R10: 0000000000000000 R11: ffff8881c05e8280 R12: ffff8881beda9758 R13: ffff8881b43ee808 R14: ffff8881beda8680 R15: ffff8881811b6dc0 spin_unlock_irq include/linux/spinlock.h:379 [inline] css_task_iter_next+0x129/0x1a0 kernel/cgroup/cgroup.c:4287 mem_cgroup_scan_tasks+0xea/0x1e0 mm/memcontrol.c:1080 select_bad_process mm/oom_kill.c:373 [inline] out_of_memory+0x53e/0x1430 mm/oom_kill.c:1106 mem_cgroup_out_of_memory+0x15e/0x210 mm/memcontrol.c:1386 mem_cgroup_oom mm/memcontrol.c:1703 [inline] try_charge+0xda9/0x1700 mm/memcontrol.c:2260 mem_cgroup_try_charge+0x627/0xe20 mm/memcontrol.c:5890 mem_cgroup_try_charge_delay+0x1d/0xa0 mm/memcontrol.c:5905 shmem_getpage_gfp+0x186b/0x4840 mm/shmem.c:1790 shmem_getpage mm/shmem.c:132 [inline] shmem_write_begin+0x10a/0x1e0 mm/shmem.c:2385 generic_perform_write+0x3aa/0x6a0 mm/filemap.c:3140 __generic_file_write_iter+0x26e/0x630 mm/filemap.c:3265 generic_file_write_iter+0x34d/0x6b0 mm/filemap.c:3293 call_write_iter include/linux/fs.h:1857 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x6b8/0x9f0 fs/read_write.c:487 vfs_write+0x1fc/0x560 fs/read_write.c:549 ksys_write+0x101/0x260 fs/read_write.c:598 __do_sys_write fs/read_write.c:610 [inline] __se_sys_write fs/read_write.c:607 [inline] __x64_sys_write+0x73/0xb0 fs/read_write.c:607 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457659 Code: fd b3 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 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fae976d1c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457659 RDX: 00000000fffffda2 RSI: 0000000020000540 RDI: 0000000000000005 RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fae976d26d4 R13: 00000000004c6097 R14: 00000000004dac28 R15: 00000000ffffffff sched: RT throttling activated