------------[ cut here ]------------ refcount_t: increment on 0; use-after-free. WARNING: CPU: 1 PID: 10174 at lib/refcount.c:156 refcount_inc_checked lib/refcount.c:156 [inline] WARNING: CPU: 1 PID: 10174 at lib/refcount.c:156 refcount_inc_checked+0x61/0x70 lib/refcount.c:154 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 10174 Comm: syz-executor.0 Not tainted 5.2.0-rc3-next-20190607 #11 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+0x172/0x1f0 lib/dump_stack.c:113 panic+0x2cb/0x744 kernel/panic.c:219 __warn.cold+0x20/0x4d kernel/panic.c:576 report_bug+0x263/0x2b0 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:179 [inline] fixup_bug arch/x86/kernel/traps.c:174 [inline] do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:272 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:291 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:986 RIP: 0010:refcount_inc_checked lib/refcount.c:156 [inline] RIP: 0010:refcount_inc_checked+0x61/0x70 lib/refcount.c:154 Code: 1d 20 38 68 06 31 ff 89 de e8 9b c7 3b fe 84 db 75 dd e8 52 c6 3b fe 48 c7 c7 60 b6 c4 87 c6 05 00 38 68 06 01 e8 4d f8 0d fe <0f> 0b eb c1 90 90 90 90 90 90 90 90 90 90 90 55 48 89 e5 41 57 41 RSP: 0018:ffff88801bc975e8 EFLAGS: 00010082 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff815aeaf6 RDI: ffffed1003792eaf RBP: ffff88801bc975f8 R08: ffff8880598f25c0 R09: ffffed1015d240f1 R10: ffffed1015d240f0 R11: ffff8880ae920787 R12: ffff8880a15c5018 R13: ffff88801bc976c0 R14: ffff8880a15c4ff8 R15: 1ffff11003792ec8 css_task_iter_next+0x141/0x1f0 kernel/cgroup/cgroup.c:4572 mem_cgroup_scan_tasks+0xbb/0x180 mm/memcontrol.c:1168 select_bad_process mm/oom_kill.c:374 [inline] out_of_memory mm/oom_kill.c:1088 [inline] out_of_memory+0x6b2/0x1280 mm/oom_kill.c:1035 mem_cgroup_out_of_memory+0x1ca/0x230 mm/memcontrol.c:1573 mem_cgroup_oom mm/memcontrol.c:1905 [inline] try_charge+0xfbe/0x1480 mm/memcontrol.c:2468 __memcg_kmem_charge_memcg+0x7c/0x130 mm/memcontrol.c:2775 __memcg_kmem_charge+0x136/0x300 mm/memcontrol.c:2808 __alloc_pages_nodemask+0x4bd/0x8d0 mm/page_alloc.c:4697 __alloc_pages include/linux/gfp.h:473 [inline] __alloc_pages_node include/linux/gfp.h:486 [inline] alloc_pages_node include/linux/gfp.h:500 [inline] alloc_thread_stack_node kernel/fork.c:248 [inline] dup_task_struct kernel/fork.c:852 [inline] copy_process.part.0+0x483/0x6720 kernel/fork.c:1896 copy_process kernel/fork.c:1828 [inline] _do_fork+0x25d/0xfe0 kernel/fork.c:2394 __do_sys_clone kernel/fork.c:2501 [inline] __se_sys_clone kernel/fork.c:2495 [inline] __x64_sys_clone+0xbf/0x150 kernel/fork.c:2495 do_syscall_64+0xfd/0x680 arch/x86/entry/common.c:301 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45bc49 Code: ff 48 85 f6 0f 84 27 8e fb ff 48 83 ee 10 48 89 4e 08 48 89 3e 48 89 d7 4c 89 c2 4d 89 c8 4c 8b 54 24 08 b8 38 00 00 00 0f 05 <48> 85 c0 0f 8c fe 8d fb ff 74 01 c3 31 ed 48 f7 c7 00 00 01 00 75 RSP: 002b:00007fff209e6328 EFLAGS: 00000202 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007f1ceee5f700 RCX: 000000000045bc49 RDX: 00007f1ceee5f9d0 RSI: 00007f1ceee5edb0 RDI: 00000000003d0f00 RBP: 00007fff209e6540 R08: 00007f1ceee5f700 R09: 00007f1ceee5f700 R10: 00007f1ceee5f9d0 R11: 0000000000000202 R12: 0000000000000000 R13: 00007fff209e63df R14: 00007f1ceee5f9c0 R15: 000000000075c06c Shutting down cpus with NMI Kernel Offset: disabled Rebooting in 86400 seconds..