general protection fault, probably for non-canonical address 0xdffffc0000000086: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000430-0x0000000000000437] CPU: 1 PID: 9013 Comm: syz-executor.2 Not tainted 5.6.0-rc5-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014 RIP: 0010:rds_ib_add_one net/rds/ib.c:139 [inline] RIP: 0010:rds_ib_add_one+0xbb/0xc80 net/rds/ib.c:130 Code: 80 3c 02 00 0f 85 3a 0a 00 00 49 8b 9c 24 a8 06 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d bb 30 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 4f RSP: 0018:ffffc90001e46fe0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9002190d000 RDX: 0000000000000086 RSI: ffffffff8737fa98 RDI: 0000000000000430 RBP: 0000000000000001 R08: ffff888059b34340 R09: ffffed100b36d89c R10: ffffed100b36d89b R11: ffff888059b6c4df R12: ffff888059b6c000 R13: ffffffff8a507640 R14: 1ffff920003c8e07 R15: ffff888059b6c4d0 FS: 00007f35e0eae700(0000) GS:ffff88802d100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000006fc250 CR3: 0000000059d3c000 CR4: 0000000000340ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: add_client_context+0x3b4/0x520 drivers/infiniband/core/device.c:681 enable_device_and_get+0x1cd/0x3b0 drivers/infiniband/core/device.c:1316 ib_register_device drivers/infiniband/core/device.c:1382 [inline] ib_register_device+0xa12/0xda0 drivers/infiniband/core/device.c:1343 rxe_register_device+0x4fa/0x621 drivers/infiniband/sw/rxe/rxe_verbs.c:1231 rxe_add+0x1227/0x1664 drivers/infiniband/sw/rxe/rxe.c:302 rxe_net_add+0x8c/0xe0 drivers/infiniband/sw/rxe/rxe_net.c:539 rxe_newlink+0x34/0x90 drivers/infiniband/sw/rxe/rxe.c:318 nldev_newlink+0x27f/0x400 drivers/infiniband/core/nldev.c:1538 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+0x586/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+0x6b9/0x7d0 net/socket.c:2343 ___sys_sendmsg+0x100/0x170 net/socket.c:2397 __sys_sendmsg+0xec/0x1b0 net/socket.c:2430 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c649 Code: bd b1 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 8b b1 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f35e0eadc88 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000072bf00 RCX: 000000000045c649 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000006 RBP: 00007f35e0eae6d4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000009a3 R14: 00000000004bc9c8 R15: 00000000006ec420 Modules linked in: ---[ end trace 1c48dd1ef9c50f5d ]--- RIP: 0010:rds_ib_add_one net/rds/ib.c:139 [inline] RIP: 0010:rds_ib_add_one+0xbb/0xc80 net/rds/ib.c:130 Code: 80 3c 02 00 0f 85 3a 0a 00 00 49 8b 9c 24 a8 06 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d bb 30 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 4f RSP: 0018:ffffc90001e46fe0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9002190d000 RDX: 0000000000000086 RSI: ffffffff8737fa98 RDI: 0000000000000430 RBP: 0000000000000001 R08: ffff888059b34340 R09: ffffed100b36d89c R10: ffffed100b36d89b R11: ffff888059b6c4df R12: ffff888059b6c000 R13: ffffffff8a507640 R14: 1ffff920003c8e07 R15: ffff888059b6c4d0 FS: 00007f35e0eae700(0000) GS:ffff88802d200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2a79d26000 CR3: 0000000059d3c000 CR4: 0000000000340ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400