iwpm_register_pid: Unable to send a nlmsg (client = 2) infiniband syz1: RDMA CMA: cma_listen_on_dev, error -98 general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 8801 Comm: syz-executor785 Not tainted 5.6.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:nla_get_u32 include/net/netlink.h:1474 [inline] RIP: 0010:nldev_stat_set_doit+0x60d/0xdd0 drivers/infiniband/core/nldev.c:1760 Code: f8 00 00 00 48 89 f8 48 c1 e8 03 42 80 3c 28 00 74 05 e8 56 d4 d8 fb 48 8b 9c 24 f8 00 00 00 48 83 c3 04 48 89 d8 48 c1 e8 03 <42> 8a 04 28 84 c0 0f 85 9d 05 00 00 8b 03 89 44 24 20 48 8d bc 24 RSP: 0018:ffffc900021876e0 EFLAGS: 00010247 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc900021877d8 RBP: ffffc90002187a20 R08: ffffffff85db5e2b R09: ffff8880a9276010 R10: ffffed101524eddd R11: 0000000000000000 R12: ffff8880a9276000 R13: dffffc0000000000 R14: ffff88808c278000 R15: 1ffff92000430ee5 FS: 000000000236b880(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020003004 CR3: 0000000096c8e000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: 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+0x701/0xa20 drivers/infiniband/core/netlink.c:259 netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline] netlink_unicast+0x766/0x920 net/netlink/af_netlink.c:1329 netlink_sendmsg+0xa2b/0xd40 net/netlink/af_netlink.c:1918 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg net/socket.c:672 [inline] ____sys_sendmsg+0x4f7/0x7f0 net/socket.c:2343 ___sys_sendmsg net/socket.c:2397 [inline] __sys_sendmsg+0x1ed/0x290 net/socket.c:2430 __do_sys_sendmsg net/socket.c:2439 [inline] __se_sys_sendmsg net/socket.c:2437 [inline] __x64_sys_sendmsg+0x7f/0x90 net/socket.c:2437 do_syscall_64+0xf7/0x1c0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4403d9 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 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffdd91184f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 00000000004403d9 RDX: 0000000000000000 RSI: 0000000020000240 RDI: 0000000000000004 RBP: 00000000006ca018 R08: 0000000000000008 R09: 00000000004002c8 R10: 000000000000004a R11: 0000000000000246 R12: 0000000000401c60 R13: 0000000000401cf0 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace b42baeb94f28da04 ]--- RIP: 0010:nla_get_u32 include/net/netlink.h:1474 [inline] RIP: 0010:nldev_stat_set_doit+0x60d/0xdd0 drivers/infiniband/core/nldev.c:1760 Code: f8 00 00 00 48 89 f8 48 c1 e8 03 42 80 3c 28 00 74 05 e8 56 d4 d8 fb 48 8b 9c 24 f8 00 00 00 48 83 c3 04 48 89 d8 48 c1 e8 03 <42> 8a 04 28 84 c0 0f 85 9d 05 00 00 8b 03 89 44 24 20 48 8d bc 24 RSP: 0018:ffffc900021876e0 EFLAGS: 00010247 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc900021877d8 RBP: ffffc90002187a20 R08: ffffffff85db5e2b R09: ffff8880a9276010 R10: ffffed101524eddd R11: 0000000000000000 R12: ffff8880a9276000 R13: dffffc0000000000 R14: ffff88808c278000 R15: 1ffff92000430ee5 FS: 000000000236b880(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020003004 CR3: 0000000096c8e000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400