Memory cgroup stats for /syz2: cache:3864KB rss:176436KB rss_huge:167936KB shmem:0KB mapped_file:0KB dirty:3960KB writeback:0KB swap:0KB inactive_anon:0KB active_anon:176360KB inactive_file:1932KB active_file:1924KB unevictable:0KB Memory cgroup out of memory: Kill process 17375 (syz-executor2) score 185 or sacrifice child Killed process 17375 (syz-executor2) total-vm:70604kB, anon-rss:4268kB, file-rss:33544kB, shmem-rss:0kB rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-...!: (10404 ticks this GP) idle=9e2/1/0x4000000000000002 softirq=48111/48120 fqs=21 rcu: (t=10501 jiffies g=59141 q=398) rcu: rcu_preempt kthread starved for 10460 jiffies! g59141 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0 rcu: RCU grace-period kthread stack dump: rcu_preempt R running task 22608 10 2 0x80000000 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x8cf/0x21d0 kernel/sched/core.c:3480 schedule+0xfe/0x460 kernel/sched/core.c:3524 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 1 CPU: 1 PID: 30019 Comm: syz-executor2 Not tainted 4.19.0-rc7-next-20181009+ #90 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/0x3ab 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:162 [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+0xf38/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+0x412/0x10c0 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/0x750 arch/x86/kernel/apic/apic.c:1059 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:804 RIP: 0010:write_comp_data+0x1/0x70 kernel/kcov.c:116 Code: a5 86 44 00 e9 a6 fc ff ff 4c 89 f7 e8 f8 85 44 00 e9 6f fc ff ff e8 9e 92 c9 ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 <65> 4c 8b 04 25 40 ee 01 00 65 8b 05 1f 84 83 7e a9 00 01 1f 00 48 RSP: 0018:ffff8801be9e3978 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: dead000000000100 RBX: dffffc0000000000 RCX: ffffffff81a82eaa RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007 RBP: ffff8801be9e3988 R08: ffff8801cc986000 R09: fffff94000d172c6 R10: fffff94000d172c6 R11: ffffea00068b9633 R12: ffff8801be9e5d10 R13: 1ffff10037d3ca7a R14: ffffea00068b9608 R15: ffff8801be9e3b10 compound_head include/linux/page-flags.h:145 [inline] TestClearPageReferenced include/linux/page-flags.h:285 [inline] page_check_references mm/vmscan.c:1017 [inline] shrink_page_list+0x4bca/0xccd0 mm/vmscan.c:1255 shrink_inactive_list+0x9af/0x1c50 mm/vmscan.c:1954 shrink_list mm/vmscan.c:2266 [inline] shrink_node_memcg+0x78b/0x18e0 mm/vmscan.c:2531 shrink_node+0x3bc/0x16b0 mm/vmscan.c:2746 shrink_zones mm/vmscan.c:2978 [inline] do_try_to_free_pages+0x3e7/0x1290 mm/vmscan.c:3040 try_to_free_mem_cgroup_pages+0x4b6/0xc90 mm/vmscan.c:3341 try_charge+0x521/0x1710 mm/memcontrol.c:2209 mem_cgroup_try_charge+0x627/0xe20 mm/memcontrol.c:5892 __add_to_page_cache_locked+0x793/0x1840 mm/filemap.c:812 add_to_page_cache_lru+0x355/0xdb0 mm/filemap.c:886 pagecache_get_page+0x53a/0xf00 mm/filemap.c:1565 grab_cache_page_write_begin+0x6f/0xa0 mm/filemap.c:2998 block_write_begin+0xae/0x370 fs/buffer.c:2102 cont_write_begin+0x5ba/0x920 fs/buffer.c:2459 fat_write_begin+0x8d/0x120 fs/fat/inode.c:229 generic_perform_write+0x3aa/0x6a0 mm/filemap.c:3048 __generic_file_write_iter+0x26e/0x630 mm/filemap.c:3173 generic_file_write_iter+0x436/0x870 mm/filemap.c:3201 call_write_iter include/linux/fs.h:1844 [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:0x457579 Code: 1d 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 eb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fa3a75e2c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457579 RDX: 00000000fffffd97 RSI: 0000000020000180 RDI: 0000000000000004 RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa3a75e36d4 R13: 00000000004c553b R14: 00000000004d8e50 R15: 00000000ffffffff