audit: type=1400 audit(1521248312.920:7): avc: denied { map } for pid=4238 comm="syzkaller615967" path="/root/syzkaller615967416" dev="sda1" ino=16481 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 4238 Comm: syzkaller615967 Not tainted 4.16.0-rc5+ #357 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kernel_sock_shutdown+0x29/0x70 net/socket.c:3250 RSP: 0018:ffff8801af48fcc8 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff845ff6f4 RDX: 0000000000000005 RSI: 0000000000000000 RDI: 0000000000000028 RBP: ffff8801af48fce0 R08: 0000000000000000 R09: 1ffff10035e91f15 R10: ffff8801af48f870 R11: 0000000000000001 R12: ffff8801b1fa37d2 R13: 0000000000000000 R14: 0000000000000000 R15: ffff8801af48fd58 FS: 00000000007c7880(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001e073a0 CR3: 00000001ad695001 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: smc_shutdown+0x3ed/0x540 net/smc/af_smc.c:1268 SYSC_shutdown net/socket.c:1901 [inline] SyS_shutdown+0x137/0x290 net/socket.c:1892 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x43fcb9 RSP: 002b:00007ffc334ce8d8 EFLAGS: 00000217 ORIG_RAX: 0000000000000030 RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fcb9 RDX: 000000000043fcb9 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00000000006ca018 R08: 00000000004002c8 R09: 00000000004002c8 R10: 00000000004002c8 R11: 0000000000000217 R12: 00000000004015e0 R13: 0000000000401670 R14: 0000000000000000 R15: 0000000000000000 Code: 66 90 55 48 89 e5 41 55 41 54 53 48 89 fb 41 89 f5 e8 ac 20 11 fd 48 8d 7b 28 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 32 4c 8b 63 28 48 b8 00 00 00 00 00 fc ff df 49 RIP: kernel_sock_shutdown+0x29/0x70 net/socket.c:3250 RSP: ffff8801af48fcc8 ---[ end trace 2cdd1821e5a96451 ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..