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: 0 PID: 9533 Comm: syz-executor1 Not tainted 4.19.0-rc5-next-20180928+ #84 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:copy_src_l2_addr drivers/infiniband/core/addr.c:489 [inline] RIP: 0010:rdma_set_src_addr_rcu drivers/infiniband/core/addr.c:520 [inline] RIP: 0010:addr_resolve+0x7bd/0x1b80 drivers/infiniband/core/addr.c:594 Code: 0f 84 da 01 00 00 e8 62 d6 f4 fb 48 8b 85 d0 fd ff ff 48 8d b8 54 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 95 RSP: 0018:ffff8801812ff368 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8801812ff578 RCX: ffffc90003e7a000 RDX: 000000000000003e RSI: ffffffff858891ee RDI: 00000000000001f1 RBP: ffff8801812ff5a0 R08: ffff8801c9c94480 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801cf146fe0 R13: 00000000ffffff9d R14: 0000000000000001 R15: 000000000000000a FS: 00007f6a66641700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f022000 CR3: 00000001bb32d000 CR4: 00000000001406f0 Call Trace: rdma_resolve_ip+0x499/0x790 drivers/infiniband/core/addr.c:698 rdma_resolve_addr+0x2d6/0x2870 drivers/infiniband/core/cma.c:2992 ucma_resolve_ip+0x242/0x2a0 drivers/infiniband/core/ucma.c:713 ucma_write+0x336/0x420 drivers/infiniband/core/ucma.c:1686 __vfs_write+0x119/0x9f0 fs/read_write.c:485 vfs_write+0x1fc/0x560 fs/read_write.c:549 ksys_write+0x101/0x260 fs/read_write.c:598 __do_sys_write fs/read_write.c:610 [inline] __se_sys_write fs/read_write.c:607 [inline] __x64_sys_write+0x73/0xb0 fs/read_write.c:607 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457579 Code: 1d b4 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 eb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f6a66640c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457579 RDX: 0000000000000048 RSI: 0000000020000100 RDI: 0000000000000004 RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6a666416d4 R13: 00000000004cb6a0 R14: 00000000004d8cb8 R15: 00000000ffffffff Modules linked in: kobject: 'loop4' (00000000ad466ad8): kobject_uevent_env kobject: 'loop4' (00000000ad466ad8): fill_kobj_path: path = '/devices/virtual/block/loop4' kobject: 'loop3' (00000000d982314e): kobject_uevent_env kobject: 'loop3' (00000000d982314e): fill_kobj_path: path = '/devices/virtual/block/loop3' ---[ end trace 36a8d88cf19cdbd0 ]--- RIP: 0010:copy_src_l2_addr drivers/infiniband/core/addr.c:489 [inline] RIP: 0010:rdma_set_src_addr_rcu drivers/infiniband/core/addr.c:520 [inline] RIP: 0010:addr_resolve+0x7bd/0x1b80 drivers/infiniband/core/addr.c:594 Code: 0f 84 da 01 00 00 e8 62 d6 f4 fb 48 8b 85 d0 fd ff ff 48 8d b8 54 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 95 RSP: 0018:ffff8801812ff368 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8801812ff578 RCX: ffffc90003e7a000 RDX: 000000000000003e RSI: ffffffff858891ee RDI: 00000000000001f1 kobject: 'loop4' (00000000ad466ad8): kobject_uevent_env kobject: 'loop4' (00000000ad466ad8): fill_kobj_path: path = '/devices/virtual/block/loop4' RBP: ffff8801812ff5a0 R08: ffff8801c9c94480 R09: 0000000000000000 audit: type=1326 audit(1538360246.713:34): auid=4294967295 uid=0 gid=0 ses=4294967295 subj==unconfined pid=9532 comm="syz-executor1" exe="/root/syz-executor1" sig=9 arch=c000003e syscall=228 compat=0 ip=0x45a3da code=0x0 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801cf146fe0 kobject: 'loop5' (00000000fd236629): kobject_uevent_env kobject: 'loop5' (00000000fd236629): fill_kobj_path: path = '/devices/virtual/block/loop5' kobject: 'loop3' (00000000d982314e): kobject_uevent_env R13: 00000000ffffff9d R14: 0000000000000001 R15: 000000000000000a kobject: 'loop3' (00000000d982314e): fill_kobj_path: path = '/devices/virtual/block/loop3' FS: 00007f6a66641700(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 kobject: 'loop4' (00000000ad466ad8): kobject_uevent_env CR2: 0000000000625208 CR3: 00000001bb32d000 CR4: 00000000001406e0 kobject: 'loop4' (00000000ad466ad8): fill_kobj_path: path = '/devices/virtual/block/loop4'