infiniband syz0: set down infiniband syz0: added ipvlan1 infiniband syz0: Couldn't open port 1 general protection fault, probably for non-canonical address 0xdffffc000000008e: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000470-0x0000000000000477] CPU: 0 PID: 8727 Comm: syz-executor.0 Not tainted 5.7.0-rc7-next-20200529-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rds_ib_add_one+0xab/0xcb0 net/rds/ib.c:140 Code: 80 3c 02 00 0f 85 75 0b 00 00 49 8b 9c 24 f0 06 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d bb 70 04 00 00 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 f1 RSP: 0018:ffffc90001686ff8 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90001e59000 RDX: 000000000000008e RSI: ffffffff875e5e48 RDI: 0000000000000470 RBP: ffff8880a7d44000 R08: ffff88809223e1c0 R09: ffffed1014fa889f R10: ffff8880a7d444f7 R11: ffffed1014fa889e R12: ffff8880a7d44000 R13: ffff8880a7d44580 R14: ffff8880a7d444e8 R15: ffffffff875e5de0 FS: 00007fef051da700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c0f6ef56af CR3: 00000000a7d9b000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: add_client_context+0x400/0x5e0 drivers/infiniband/core/device.c:677 enable_device_and_get+0x1cd/0x3b0 drivers/infiniband/core/device.c:1326 ib_register_device drivers/infiniband/core/device.c:1392 [inline] ib_register_device+0xa12/0xda0 drivers/infiniband/core/device.c:1353 rxe_register_device+0x50a/0x634 drivers/infiniband/sw/rxe/rxe_verbs.c:1232 rxe_add+0x1374/0x180a drivers/infiniband/sw/rxe/rxe.c:305 rxe_net_add+0x8c/0xe0 drivers/infiniband/sw/rxe/rxe_net.c:539 rxe_newlink+0x34/0x90 drivers/infiniband/sw/rxe/rxe.c:321 nldev_newlink+0x29e/0x420 drivers/infiniband/core/nldev.c:1541 rdma_nl_rcv_msg drivers/infiniband/core/netlink.c:195 [inline] rdma_nl_rcv_skb drivers/infiniband/core/netlink.c:239 [inline] rdma_nl_rcv+0x591/0x900 drivers/infiniband/core/netlink.c:259 netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline] netlink_unicast+0x537/0x740 net/netlink/af_netlink.c:1329 netlink_sendmsg+0x882/0xe10 net/netlink/af_netlink.c:1918 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:672 ____sys_sendmsg+0x6e6/0x810 net/socket.c:2352 ___sys_sendmsg+0x100/0x170 net/socket.c:2406 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2439 do_syscall_64+0x60/0xe0 arch/x86/entry/common.c:359 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45ca59 Code: 0d b7 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 db b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fef051d9c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000500a00 RCX: 000000000045ca59 RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000003 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000009da R14: 00000000004d66a8 R15: 00007fef051da6d4 Modules linked in: ---[ end trace df32e3ff5542d03b ]--- RIP: 0010:rds_ib_add_one+0xab/0xcb0 net/rds/ib.c:140 Code: 80 3c 02 00 0f 85 75 0b 00 00 49 8b 9c 24 f0 06 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d bb 70 04 00 00 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 f1 RSP: 0018:ffffc90001686ff8 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90001e59000 RDX: 000000000000008e RSI: ffffffff875e5e48 RDI: 0000000000000470 RBP: ffff8880a7d44000 R08: ffff88809223e1c0 R09: ffffed1014fa889f R10: ffff8880a7d444f7 R11: ffffed1014fa889e R12: ffff8880a7d44000 R13: ffff8880a7d44580 R14: ffff8880a7d444e8 R15: ffffffff875e5de0 FS: 00007fef051da700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffdabf09b68 CR3: 00000000a7d9b000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400