------------[ cut here ]------------ refcount_t: increment on 0; use-after-free. WARNING: CPU: 0 PID: 29391 at lib/refcount.c:156 refcount_inc_checked lib/refcount.c:156 [inline] WARNING: CPU: 0 PID: 29391 at lib/refcount.c:156 refcount_inc_checked+0x61/0x70 lib/refcount.c:154 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 29391 Comm: syz-executor.2 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:ffff88804e12f5d0 EFLAGS: 00010082 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff815aeaf6 RDI: ffffed1009c25eac RBP: ffff88804e12f5e0 R08: ffff8880a03f0080 R09: ffffed1015d040f1 R10: ffffed1015d040f0 R11: ffff8880ae820787 R12: ffff88809cf8e658 R13: ffff88804e12f6a8 R14: ffff88809cf8e638 R15: 1ffff11009c25ec5 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 mem_cgroup_try_charge+0x24d/0x5e0 mm/memcontrol.c:6073 mem_cgroup_try_charge_delay+0x1f/0xa0 mm/memcontrol.c:6088 do_anonymous_page mm/memory.c:3036 [inline] handle_pte_fault mm/memory.c:3890 [inline] __handle_mm_fault+0x1e1a/0x3eb0 mm/memory.c:4016 handle_mm_fault+0x3b7/0xa90 mm/memory.c:4053 faultin_page mm/gup.c:654 [inline] __get_user_pages+0x7b6/0x1a40 mm/gup.c:857 populate_vma_page_range+0x20d/0x2a0 mm/gup.c:1560 __mm_populate+0x204/0x380 mm/gup.c:1608 mm_populate include/linux/mm.h:2387 [inline] __do_sys_mlockall mm/mlock.c:819 [inline] __se_sys_mlockall mm/mlock.c:795 [inline] __x64_sys_mlockall+0x373/0x510 mm/mlock.c:795 do_syscall_64+0xfd/0x680 arch/x86/entry/common.c:301 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459279 Code: fd b7 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 b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f4247be9c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000097 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000459279 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4247bea6d4 R13: 00000000004c555e R14: 00000000004d9900 R15: 00000000ffffffff Shutting down cpus with NMI Kernel Offset: disabled Rebooting in 86400 seconds..