print_req_error: I/O error, dev loop5, sector 0 kasan: CONFIG_KASAN_INLINE enabled EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 15533 Comm: syz-executor.0 Not tainted 4.14.268-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88804bbd0240 task.stack: ffff888050ed0000 RIP: 0010:dev_put include/linux/netdevice.h:3381 [inline] RIP: 0010:addr_resolve+0x263/0xa10 drivers/infiniband/core/addr.c:585 RSP: 0018:ffff888050ed7860 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8880996a2ee0 RCX: ffffc90005be6000 RDX: 00000000000000a8 RSI: ffffffff85466d20 RDI: 0000000000000286 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: ffff88804bbd0240 R12: 00000000ffffff9d R13: ffff88809c026850 R14: ffff8880b380ba00 R15: ffff8880996a2f44 FS: 00007f88f8fcd700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000af9fa000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rdma_resolve_ip+0x40d/0x6b0 drivers/infiniband/core/addr.c:709 rdma_resolve_addr+0x2bc/0x23b0 drivers/infiniband/core/cma.c:2940 ucma_resolve_addr+0x12c/0x1d0 drivers/infiniband/core/ucma.c:719 ucma_write+0x206/0x2c0 drivers/infiniband/core/ucma.c:1672 __vfs_write+0xe4/0x630 fs/read_write.c:480 vfs_write+0x17f/0x4d0 fs/read_write.c:544 SYSC_write fs/read_write.c:590 [inline] SyS_write+0xf2/0x210 fs/read_write.c:582 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7f88fa658049 RSP: 002b:00007f88f8fcd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f88fa76af60 RCX: 00007f88fa658049 RDX: 0000000000000118 RSI: 0000000020000000 RDI: 0000000000000004 RBP: 00007f88fa6b208d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc20c79f1f R14: 00007f88f8fcd300 R15: 0000000000022000 Code: 83 c0 03 38 d0 7c 08 84 d2 0f 85 ad 06 00 00 44 89 6b 64 e8 00 d5 0e fc 48 8b 54 24 10 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 78 06 00 00 48 8b 85 40 05 00 00 65 ff 08 e8 RIP: dev_put include/linux/netdevice.h:3381 [inline] RSP: ffff888050ed7860 RIP: addr_resolve+0x263/0xa10 drivers/infiniband/core/addr.c:585 RSP: ffff888050ed7860 ---[ end trace 2c038b273faeaaaa ]--- ---------------- Code disassembly (best guess): 0: 83 c0 03 add $0x3,%eax 3: 38 d0 cmp %dl,%al 5: 7c 08 jl 0xf 7: 84 d2 test %dl,%dl 9: 0f 85 ad 06 00 00 jne 0x6bc f: 44 89 6b 64 mov %r13d,0x64(%rbx) 13: e8 00 d5 0e fc callq 0xfc0ed518 18: 48 8b 54 24 10 mov 0x10(%rsp),%rdx 1d: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 24: fc ff df 27: 48 c1 ea 03 shr $0x3,%rdx * 2b: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2f: 0f 85 78 06 00 00 jne 0x6ad 35: 48 8b 85 40 05 00 00 mov 0x540(%rbp),%rax 3c: 65 ff 08 decl %gs:(%rax) 3f: e8 .byte 0xe8