infiniband syz2: set active infiniband syz2: added lo infiniband syz2: 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: 8686 Comm: syz-executor.0 Not tainted 5.7.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:dev_to_node include/linux/device.h:660 [inline] RIP: 0010:rds_ib_add_one+0x81/0xd70 net/rds/ib.c:140 Code: f0 06 00 00 48 89 e8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 ef e8 8f 7b 1c fa bb 70 04 00 00 48 03 5d 00 48 89 d8 48 c1 e8 03 <42> 8a 04 28 84 c0 0f 85 25 0a 00 00 8b 1b 48 c7 c0 e8 23 0c 89 48 RSP: 0018:ffffc900018973d0 EFLAGS: 00010206 RAX: 000000000000008e RBX: 0000000000000470 RCX: 0000000000040000 RDX: ffff88804e392580 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff88808f5b06f0 R08: ffffffff87970baa R09: ffffed1011eb609f R10: ffffed1011eb609f R11: 0000000000000000 R12: ffff88808f5b0000 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffffffff12c44f5 FS: 00007f64f0286700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f18ec31b010 CR3: 0000000099faf000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: add_client_context+0x469/0x660 drivers/infiniband/core/device.c:681 enable_device_and_get+0x15b/0x370 drivers/infiniband/core/device.c:1318 ib_register_device+0x125d/0x15c0 drivers/infiniband/core/device.c:1384 rxe_register_device+0x3e7/0x510 drivers/infiniband/sw/rxe/rxe_verbs.c:1231 rxe_net_add+0x73/0xd0 drivers/infiniband/sw/rxe/rxe_net.c:539 rxe_newlink+0x2e/0x90 drivers/infiniband/sw/rxe/rxe.c:320 nldev_newlink+0x425/0x4a0 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+0x66a/0x990 drivers/infiniband/core/netlink.c:259 netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline] netlink_unicast+0x786/0x940 net/netlink/af_netlink.c:1329 netlink_sendmsg+0xa57/0xd70 net/netlink/af_netlink.c:1918 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg net/socket.c:672 [inline] ____sys_sendmsg+0x519/0x800 net/socket.c:2352 ___sys_sendmsg net/socket.c:2406 [inline] __sys_sendmsg+0x2b1/0x360 net/socket.c:2439 do_syscall_64+0xf3/0x1b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 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:00007f64f0285c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000500a00 RCX: 000000000045ca59 RDX: 0000000000000000 RSI: 00000000200031c0 RDI: 0000000000000003 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000009da R14: 00000000004d66a8 R15: 00007f64f02866d4 Modules linked in: ---[ end trace ececf4a572627631 ]--- RIP: 0010:dev_to_node include/linux/device.h:660 [inline] RIP: 0010:rds_ib_add_one+0x81/0xd70 net/rds/ib.c:140 Code: f0 06 00 00 48 89 e8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 ef e8 8f 7b 1c fa bb 70 04 00 00 48 03 5d 00 48 89 d8 48 c1 e8 03 <42> 8a 04 28 84 c0 0f 85 25 0a 00 00 8b 1b 48 c7 c0 e8 23 0c 89 48 RSP: 0018:ffffc900018973d0 EFLAGS: 00010206 RAX: 000000000000008e RBX: 0000000000000470 RCX: 0000000000040000 RDX: ffff88804e392580 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff88808f5b06f0 R08: ffffffff87970baa R09: ffffed1011eb609f R10: ffffed1011eb609f R11: 0000000000000000 R12: ffff88808f5b0000 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffffffff12c44f5 FS: 00007f64f0286700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f18ec304000 CR3: 0000000099faf000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400