audit: type=1400 audit(1520695981.323:7): avc: denied { map } for pid=4243 comm="syzkaller725999" path="/root/syzkaller725999096" 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: 4245 Comm: syzkaller725999 Not tainted 4.16.0-rc4+ #348 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ucma_query_route+0x15e/0x1080 drivers/infiniband/core/ucma.c:817 RSP: 0018:ffff8801af29f910 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 1ffff10035e53f26 RCX: 0000000000000000 RDX: 0000000000000004 RSI: 0000000000000000 RDI: ffff8801cb070bb0 RBP: ffff8801af29fac0 R08: ffffed0035e53f4b R09: ffff8801af29f990 R10: 0000000000000000 R11: ffffed0035e53f4a R12: ffff8801cb070b40 R13: ffff8801af29f990 R14: 0000000000000020 R15: 0000000000000000 FS: 00007fb3e61b1700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb3e618fe78 CR3: 00000001af5a9005 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ucma_write+0x2d6/0x3d0 drivers/infiniband/core/ucma.c:1627 __vfs_write+0xef/0x970 fs/read_write.c:480 vfs_write+0x189/0x510 fs/read_write.c:544 SYSC_write fs/read_write.c:589 [inline] SyS_write+0xef/0x220 fs/read_write.c:581 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x4457a9 RSP: 002b:00007fb3e61b0da8 EFLAGS: 00000297 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00000000006dac5c RCX: 00000000004457a9 RDX: 0000000000000018 RSI: 00000000200027c0 RDI: 000000000000000d RBP: 00000000006dac58 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000297 R12: 006d635f616d6472 R13: 2f646e6162696e69 R14: 666e692f7665642f R15: 0000000000000006 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 bb 0c 00 00 4d 8b 7c 24 70 48 b8 00 00 00 00 00 fc ff df 4d 8d 77 20 4c 89 f2 48 c1 ea 03 <0f> b6 14 02 4c 89 f0 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 RIP: ucma_query_route+0x15e/0x1080 drivers/infiniband/core/ucma.c:817 RSP: ffff8801af29f910 ---[ end trace 72b57b773bd012e1 ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..