audit: type=1400 audit(1520532258.129:8): avc: denied { map } for pid=4179 comm="syz-execprog" path="/root/syzkaller-shm429555582" dev="sda1" ino=16482 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:file_t:s0 tclass=file permissive=1 IPVS: ftp: loaded support on port[0] = 21 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: 1 PID: 4187 Comm: syz-executor0 Not tainted 4.16.0-rc4+ #256 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rdma_cap_opa_ah include/rdma/ib_verbs.h:2777 [inline] RIP: 0010:ucma_set_ib_path.isra.14+0x26a/0x850 drivers/infiniband/core/ucma.c:1231 RSP: 0018:ffff8801baeef7d0 EFLAGS: 00010202 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000029 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 0000000000000148 RBP: ffff8801baeef9d0 R08: ffffed00375ddf14 R09: ffffffff867a1b5c R10: 0000000000000002 R11: ffffed00375ddf13 R12: ffff8801baeef880 R13: 1ffff100375ddefc R14: ffff8801bd9fe1b0 R15: ffff8801afa48900 FS: 0000000000000000(0000) GS:ffff8801db300000(0063) knlGS:00000000087db900 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000008138024 CR3: 00000001bad4d002 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ucma_set_option_ib drivers/infiniband/core/ucma.c:1254 [inline] ucma_set_option_level drivers/infiniband/core/ucma.c:1273 [inline] ucma_set_option+0x252/0x4d0 drivers/infiniband/core/ucma.c:1304 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_32_irqs_on arch/x86/entry/common.c:330 [inline] do_fast_syscall_32+0x3ec/0xf9f arch/x86/entry/common.c:392 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7fc8c99 RSP: 002b:00000000ffeeabec EFLAGS: 00000286 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000020001340 RDX: 000000000000034d RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Code: 00 00 48 c1 ea 03 80 3c 02 00 0f 85 0d 05 00 00 49 8b 07 48 ba 00 00 00 00 00 fc ff df 48 8d b8 48 01 00 00 48 89 f9 48 c1 e9 03 <80> 3c 11 00 0f 85 54 05 00 00 48 c1 e3 04 48 03 98 48 01 00 00 RIP: rdma_cap_opa_ah include/rdma/ib_verbs.h:2777 [inline] RSP: ffff8801baeef7d0 RIP: ucma_set_ib_path.isra.14+0x26a/0x850 drivers/infiniband/core/ucma.c:1231 RSP: ffff8801baeef7d0 ---[ end trace 88fe3df3977279c9 ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..