Oops: general protection fault, probably for non-canonical address 0xdffffc000000003e: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x00000000000001f0-0x00000000000001f7] CPU: 2 UID: 0 PID: 26621 Comm: syz.3.9552 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:__ethtool_get_link_ksettings+0x73/0x200 net/ethtool/ioctl.c:443 Code: 03 80 3c 02 00 0f 85 63 01 00 00 48 8b ab e8 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d bd f0 01 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 6b 01 00 00 48 83 bd f0 01 00 00 00 0f 84 25 01 RSP: 0018:ffffc900042f6d38 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88802a14c000 RCX: ffffc9000c001000 RDX: 000000000000003e RSI: ffffffff89b144b2 RDI: 00000000000001f0 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffc900042f6dc0 R13: ffff88802a14c2e8 R14: ffffc900042f6dc0 R15: 00000000ffffffff FS: 00007ff2f99ae6c0(0000) GS:ffff8880d68b9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000000480 CR3: 000000005a00b000 CR4: 0000000000352ef0 Call Trace: __ethtool_get_link_ksettings+0x148/0x200 net/ethtool/ioctl.c:450 ib_get_eth_speed+0x122/0xb50 drivers/infiniband/core/verbs.c:1996 rxe_query_port+0x108/0x330 drivers/infiniband/sw/rxe/rxe_verbs.c:62 __ib_query_port drivers/infiniband/core/device.c:2148 [inline] ib_query_port drivers/infiniband/core/device.c:2180 [inline] ib_query_port+0x441/0x8a0 drivers/infiniband/core/device.c:2170 fill_port_info+0x118/0x5a0 drivers/infiniband/core/nldev.c:357 nldev_port_get_dumpit+0x5d7/0x860 drivers/infiniband/core/nldev.c:1312 netlink_dump+0x536/0xd30 net/netlink/af_netlink.c:2327 __netlink_dump_start+0x6d6/0x990 net/netlink/af_netlink.c:2442 netlink_dump_start include/linux/netlink.h:341 [inline] rdma_nl_rcv_msg+0x558/0x6e0 drivers/infiniband/core/netlink.c:190 rdma_nl_rcv_skb.constprop.0.isra.0+0x2d0/0x430 drivers/infiniband/core/netlink.c:239 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x5aa/0x870 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x8d1/0xdd0 net/netlink/af_netlink.c:1896 sock_sendmsg_nosec net/socket.c:714 [inline] __sock_sendmsg net/socket.c:729 [inline] ____sys_sendmsg+0xa98/0xc70 net/socket.c:2614 ___sys_sendmsg+0x134/0x1d0 net/socket.c:2668 __sys_sendmsg+0x16d/0x220 net/socket.c:2700 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff2f8b8ebe9 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:00007ff2f99ae038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007ff2f8db5fa0 RCX: 00007ff2f8b8ebe9 RDX: 0000000000000000 RSI: 0000200000000480 RDI: 0000000000000003 RBP: 00007ff2f8c11e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ff2f8db6038 R14: 00007ff2f8db5fa0 R15: 00007ffedf3d2688 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__ethtool_get_link_ksettings+0x73/0x200 net/ethtool/ioctl.c:443 Code: 03 80 3c 02 00 0f 85 63 01 00 00 48 8b ab e8 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d bd f0 01 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 6b 01 00 00 48 83 bd f0 01 00 00 00 0f 84 25 01 RSP: 0018:ffffc900042f6d38 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88802a14c000 RCX: ffffc9000c001000 RDX: 000000000000003e RSI: ffffffff89b144b2 RDI: 00000000000001f0 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffc900042f6dc0 R13: ffff88802a14c2e8 R14: ffffc900042f6dc0 R15: 00000000ffffffff FS: 00007ff2f99ae6c0(0000) GS:ffff8880d68b9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000000480 CR3: 000000005a00b000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: 03 80 3c 02 00 0f add 0xf00023c(%rax),%eax 6: 85 63 01 test %esp,0x1(%rbx) 9: 00 00 add %al,(%rax) b: 48 8b ab e8 02 00 00 mov 0x2e8(%rbx),%rbp 12: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 19: fc ff df 1c: 48 8d bd f0 01 00 00 lea 0x1f0(%rbp),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 6b 01 00 00 jne 0x19f 34: 48 83 bd f0 01 00 00 cmpq $0x0,0x1f0(%rbp) 3b: 00 3c: 0f .byte 0xf 3d: 84 .byte 0x84 3e: 25 .byte 0x25 3f: 01 .byte 0x1