Oops: general protection fault, probably for non-canonical address 0xdffffc000000003f: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x00000000000001f8-0x00000000000001ff] CPU: 0 UID: 0 PID: 11327 Comm: syz.2.1533 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:__ethtool_get_link_ksettings+0x7e/0x190 net/ethtool/ioctl.c:443 Code: 02 00 00 4c 89 fd 48 c1 ed 03 42 80 7c 2d 00 00 74 08 4c 89 ff e8 32 60 b6 f8 41 bc f8 01 00 00 4d 03 27 4c 89 e0 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 e7 e8 13 60 b6 f8 49 83 3c 24 00 74 4e RSP: 0018:ffffc9001bdeed28 EFLAGS: 00010206 RAX: 000000000000003f RBX: ffffc9001bdeeda0 RCX: 0000000000080000 RDX: ffffc9000c4b1000 RSI: 000000000000018f RDI: 0000000000000190 RBP: 1ffff1100fa47c5d R08: ffffffff8f4df9e7 R09: 1ffffffff1e9bf3c R10: dffffc0000000000 R11: fffffbfff1e9bf3d R12: 00000000000001f8 R13: dffffc0000000000 R14: ffff88807d23e000 R15: ffff88807d23e2e8 FS: 00007f421d2e56c0(0000) GS:ffff888125d0f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000001280 CR3: 000000004aa40000 CR4: 00000000003526f0 Call Trace: ib_get_eth_speed+0x15e/0x7b0 drivers/infiniband/core/verbs.c:1996 rxe_query_port+0x93/0x3b0 drivers/infiniband/sw/rxe/rxe_verbs.c:62 __ib_query_port drivers/infiniband/core/device.c:2148 [inline] ib_query_port+0x170/0x830 drivers/infiniband/core/device.c:2180 fill_port_info+0x1b9/0x5b0 drivers/infiniband/core/nldev.c:357 nldev_port_get_doit+0x57f/0x840 drivers/infiniband/core/nldev.c:1252 rdma_nl_rcv_msg drivers/infiniband/core/netlink.c:-1 [inline] rdma_nl_rcv_skb drivers/infiniband/core/netlink.c:239 [inline] rdma_nl_rcv+0x6ae/0x980 drivers/infiniband/core/netlink.c:259 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x82c/0x9e0 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x805/0xb30 net/netlink/af_netlink.c:1896 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg+0x219/0x270 net/socket.c:742 ____sys_sendmsg+0x505/0x830 net/socket.c:2630 ___sys_sendmsg+0x21f/0x2a0 net/socket.c:2684 __sys_sendmsg net/socket.c:2716 [inline] __do_sys_sendmsg net/socket.c:2721 [inline] __se_sys_sendmsg net/socket.c:2719 [inline] __x64_sys_sendmsg+0x19b/0x260 net/socket.c:2719 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f421c38eec9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f421d2e5038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f421c5e5fa0 RCX: 00007f421c38eec9 RDX: 0000000000000000 RSI: 0000200000001280 RDI: 0000000000000007 RBP: 00007f421c411f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f421c5e6038 R14: 00007f421c5e5fa0 R15: 00007ffe3cb78958 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__ethtool_get_link_ksettings+0x7e/0x190 net/ethtool/ioctl.c:443 Code: 02 00 00 4c 89 fd 48 c1 ed 03 42 80 7c 2d 00 00 74 08 4c 89 ff e8 32 60 b6 f8 41 bc f8 01 00 00 4d 03 27 4c 89 e0 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 e7 e8 13 60 b6 f8 49 83 3c 24 00 74 4e RSP: 0018:ffffc9001bdeed28 EFLAGS: 00010206 RAX: 000000000000003f RBX: ffffc9001bdeeda0 RCX: 0000000000080000 RDX: ffffc9000c4b1000 RSI: 000000000000018f RDI: 0000000000000190 RBP: 1ffff1100fa47c5d R08: ffffffff8f4df9e7 R09: 1ffffffff1e9bf3c R10: dffffc0000000000 R11: fffffbfff1e9bf3d R12: 00000000000001f8 R13: dffffc0000000000 R14: ffff88807d23e000 R15: ffff88807d23e2e8 FS: 00007f421d2e56c0(0000) GS:ffff888125d0f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f50059d9f98 CR3: 000000004aa40000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: 02 00 add (%rax),%al 2: 00 4c 89 fd add %cl,-0x3(%rcx,%rcx,4) 6: 48 c1 ed 03 shr $0x3,%rbp a: 42 80 7c 2d 00 00 cmpb $0x0,0x0(%rbp,%r13,1) 10: 74 08 je 0x1a 12: 4c 89 ff mov %r15,%rdi 15: e8 32 60 b6 f8 call 0xf8b6604c 1a: 41 bc f8 01 00 00 mov $0x1f8,%r12d 20: 4d 03 27 add (%r15),%r12 23: 4c 89 e0 mov %r12,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 e7 mov %r12,%rdi 34: e8 13 60 b6 f8 call 0xf8b6604c 39: 49 83 3c 24 00 cmpq $0x0,(%r12) 3e: 74 4e je 0x8e