kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 18442 Comm: syz-executor.4 Not tainted 5.4.0-rc2-next-20191010 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:memcg_flush_percpu_vmstats+0x4ae/0x930 mm/memcontrol.c:3431 Code: 05 41 89 c0 41 0f b6 04 24 41 38 c7 7c 08 84 c0 0f 85 5d 03 00 00 44 3b 05 e3 26 13 08 0f 83 e2 00 00 00 4c 89 f0 48 c1 e8 03 <42> 80 3c 28 00 0f 85 91 03 00 00 48 8b 85 10 fe ff ff 48 8b b0 90 RSP: 0018:ffff88805afc7980 EFLAGS: 00010206 RAX: 0000000000000012 RBX: ffff88805afc7b28 RCX: ffffc9000e7ad000 RDX: 0000000000013bd0 RSI: ffffffff83413457 RDI: 0000000000000007 RBP: ffff88805afc7be0 R08: 0000000000000000 R09: ffffed101455bd0e R10: ffffed101455bd0d R11: ffff8880a2ade86f R12: fffffbfff138c650 R13: dffffc0000000000 R14: 0000000000000090 R15: 0000000000000007 FS: 00007f5101039700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000738008 CR3: 00000000a3b3f000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __mem_cgroup_free+0x1a/0x190 mm/memcontrol.c:5016 mem_cgroup_free mm/memcontrol.c:5028 [inline] mem_cgroup_css_alloc+0x3a1/0x1ae0 mm/memcontrol.c:5155 css_create kernel/cgroup/cgroup.c:5177 [inline] cgroup_apply_control_enable+0x44d/0xc40 kernel/cgroup/cgroup.c:3138 cgroup_mkdir+0x899/0x11b0 kernel/cgroup/cgroup.c:5422 kernfs_iop_mkdir+0x14d/0x1d0 fs/kernfs/dir.c:1124 vfs_mkdir+0x42e/0x670 fs/namei.c:3811 do_mkdirat+0x234/0x2a0 fs/namei.c:3834 __do_sys_mkdir fs/namei.c:3850 [inline] __se_sys_mkdir fs/namei.c:3848 [inline] __x64_sys_mkdir+0x5c/0x80 fs/namei.c:3848 do_syscall_64+0xfa/0x760 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459a59 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:00007f5101038c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000459a59 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000180 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f51010396d4 R13: 00000000004bf27d R14: 00000000004db028 R15: 00000000ffffffff Modules linked in: ---[ end trace 6c08d5af944390b6 ]--- RIP: 0010:memcg_flush_percpu_vmstats+0x4ae/0x930 mm/memcontrol.c:3431 Code: 05 41 89 c0 41 0f b6 04 24 41 38 c7 7c 08 84 c0 0f 85 5d 03 00 00 44 3b 05 e3 26 13 08 0f 83 e2 00 00 00 4c 89 f0 48 c1 e8 03 <42> 80 3c 28 00 0f 85 91 03 00 00 48 8b 85 10 fe ff ff 48 8b b0 90 RSP: 0018:ffff88805afc7980 EFLAGS: 00010206 RAX: 0000000000000012 RBX: ffff88805afc7b28 RCX: ffffc9000e7ad000 RDX: 0000000000013bd0 RSI: ffffffff83413457 RDI: 0000000000000007 RBP: ffff88805afc7be0 R08: 0000000000000000 R09: ffffed101455bd0e R10: ffffed101455bd0d R11: ffff8880a2ade86f R12: fffffbfff138c650 R13: dffffc0000000000 R14: 0000000000000090 R15: 0000000000000007 FS: 00007f5101039700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000075c000 CR3: 00000000a3b3f000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400