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: 18520 Comm: syz-executor2 Not tainted 5.0.0-rc1-next-20190109 #8 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:ffff888089ed7328 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88808ea1ad80 RCX: 1ffff110113dae53 RDX: 00000000000000a8 RSI: 0000000000000000 RDI: 0000000000000540 RBP: ffff888089ed7530 R08: 1ffff11015ce5b8f R09: ffffed1015ce5b90 R10: ffffed1015ce5b8f R11: ffff8880ae72dc7b R12: 0000000000000000 R13: ffff888089ed7508 R14: ffff888089ed74c8 R15: 0000000000000000 FS: 00000000016b6940(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33035000 CR3: 00000000910b9000 CR4: 00000000001406e0 DR0: 000000000000b8c4 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mem_cgroup_charge_skmem+0x12f/0x280 mm/memcontrol.c:6296 sk_forced_mem_schedule+0x146/0x170 net/ipv4/tcp_output.c:3073 tcp_send_fin+0x3b8/0xf30 net/ipv4/tcp_output.c:3116 tcp_close+0xed1/0x1200 net/ipv4/tcp.c:2405 inet_release+0x105/0x1f0 net/ipv4/af_inet.c:428 __sock_release+0xd3/0x250 net/socket.c:579 sock_close+0x1b/0x30 net/socket.c:1141 __fput+0x3c5/0xb10 fs/file_table.c:278 ____fput+0x16/0x20 fs/file_table.c:309 task_work_run+0x1f4/0x2b0 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0xad9/0x2af0 kernel/exit.c:874 do_group_exit+0x177/0x430 kernel/exit.c:977 __do_sys_exit_group kernel/exit.c:988 [inline] __se_sys_exit_group kernel/exit.c:986 [inline] __x64_sys_exit_group+0x44/0x50 kernel/exit.c:986 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457ec9 Code: 6d 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 3b b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffefd22be48 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 0000000000457ec9 RDX: 0000000000411c91 RSI: fffffffffffffff7 RDI: 0000000000000000 RBP: 0000000000000000 R08: 00000000f68dc23b R09: 0000000000000001 R10: ffffffff8139dac4 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00000000000002d0 R15: 0000000000000002 Modules linked in: ---[ end trace 75282a5510e02444 ]--- 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:ffff888089ed7328 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88808ea1ad80 RCX: 1ffff110113dae53 RDX: 00000000000000a8 RSI: 0000000000000000 RDI: 0000000000000540 RBP: ffff888089ed7530 R08: 1ffff11015ce5b8f R09: ffffed1015ce5b90 R10: ffffed1015ce5b8f R11: ffff8880ae72dc7b R12: 0000000000000000 R13: ffff888089ed7508 R14: ffff888089ed74c8 R15: 0000000000000000 FS: 00000000016b6940(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe99a7edfc CR3: 000000008f6d0000 CR4: 00000000001406e0 DR0: 000000000000b8c4 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400