kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 1047 Comm: khugepaged Not tainted 5.0.0-rc1-next-20190108 #7 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__read_once_size include/linux/compiler.h:197 [inline] RIP: 0010:mm_match_cgroup include/linux/memcontrol.h:474 [inline] RIP: 0010:try_charge+0x12a8/0x1d00 mm/memcontrol.c:2332 Code: c0 e8 dc bf fe ff 4c 89 f2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 c6 04 02 00 49 8d bc 24 40 05 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 20 0a 00 00 4c 89 f2 4d 8b a4 24 40 05 00 00 48 RSP: 0018:ffff8880a786f3e0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8880a7e64c00 RCX: 1ffff11014f0de6a RDX: 00000000000000a8 RSI: 0000000000000000 RDI: 0000000000000540 RBP: ffff8880a786f5e8 R08: 1ffff11015ce5b8f R09: ffffed1015ce5b90 R10: ffffed1015ce5b8f R11: ffff8880ae72dc7b R12: 0000000000000000 R13: ffff8880a786f5c0 R14: ffff8880a786f580 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fda52f22028 CR3: 00000000693b6000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mem_cgroup_try_charge+0x43a/0xdb0 mm/memcontrol.c:5917 collapse_huge_page+0x17d/0x2280 mm/khugepaged.c:968 khugepaged_scan_pmd+0x165f/0x1f00 mm/khugepaged.c:1215 khugepaged_scan_mm_slot mm/khugepaged.c:1724 [inline] khugepaged_do_scan mm/khugepaged.c:1805 [inline] khugepaged+0xcfe/0x18a0 mm/khugepaged.c:1850 kthread+0x357/0x430 kernel/kthread.c:247 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Modules linked in: ---[ end trace f86bdb53aa974fbe ]--- RIP: 0010:__read_once_size include/linux/compiler.h:197 [inline] RIP: 0010:mm_match_cgroup include/linux/memcontrol.h:474 [inline] RIP: 0010:try_charge+0x12a8/0x1d00 mm/memcontrol.c:2332 Code: c0 e8 dc bf fe ff 4c 89 f2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 c6 04 02 00 49 8d bc 24 40 05 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 20 0a 00 00 4c 89 f2 4d 8b a4 24 40 05 00 00 48 RSP: 0018:ffff8880a786f3e0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8880a7e64c00 RCX: 1ffff11014f0de6a RDX: 00000000000000a8 RSI: 0000000000000000 RDI: 0000000000000540 RBP: ffff8880a786f5e8 R08: 1ffff11015ce5b8f R09: ffffed1015ce5b90 R10: ffffed1015ce5b8f R11: ffff8880ae72dc7b R12: 0000000000000000 R13: ffff8880a786f5c0 R14: ffff8880a786f580 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fda52f22028 CR3: 0000000097263000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400