IPVS: ftp: loaded support on port[0] = 21 infiniband syz0: set active infiniband syz0: added syz_tun 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: 6768 Comm: syz-executor440 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 ef 81 1f 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 53 0b 89 48 RSP: 0018:ffffc900010773e0 EFLAGS: 00010206 RAX: 000000000000008e RBX: 0000000000000470 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff888091f846f0 R08: ffffffff879213ba R09: ffffed10123f089f R10: ffffed10123f089f R11: 0000000000000000 R12: ffff888091f84000 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffffffff12c3f6f FS: 0000000002472880(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa091bd2710 CR3: 0000000099a16000 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+0x4f9/0x7c0 net/socket.c:2362 ___sys_sendmsg net/socket.c:2416 [inline] __sys_sendmsg+0x2a6/0x360 net/socket.c:2449 do_syscall_64+0xf3/0x1b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x4413d9 Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 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 6b 0e fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffdef2063c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004413d9 RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000003 RBP: 00007ffdef2063e0 R08: 00000000bb1414ac R09: 00000000bb1414ac R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace c898ac6c28c2c222 ]--- 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 ef 81 1f 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 53 0b 89 48 RSP: 0018:ffffc900010773e0 EFLAGS: 00010206 RAX: 000000000000008e RBX: 0000000000000470 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff888091f846f0 R08: ffffffff879213ba R09: ffffed10123f089f R10: ffffed10123f089f R11: 0000000000000000 R12: ffff888091f84000 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffffffff12c3f6f FS: 0000000002472880(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa091bd2710 CR3: 0000000099a16000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400