Oops: general protection fault, probably for non-canonical address 0xdffffc000000003f: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x00000000000001f8-0x00000000000001ff] CPU: 2 UID: 0 PID: 24065 Comm: syz.4.2995 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP 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/0x1c0 net/ethtool/ioctl.c:443 Code: 03 80 3c 02 00 0f 85 34 01 00 00 48 8b ab e8 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d bd f8 01 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 39 01 00 00 48 83 bd f8 01 00 00 00 0f 84 f6 00 RSP: 0018:ffffc9000de2ed30 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff888036090000 RCX: ffffc900280dc000 RDX: 000000000000003f RSI: ffffffff898adc42 RDI: 00000000000001f8 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffffc9000de2edb8 R13: ffff8880360902e8 R14: ffffc9000de2edb8 R15: 00000000ffffffff FS: 00007fa9f70756c0(0000) GS:ffff8880d6af6000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa9f7074f98 CR3: 0000000048d14000 CR4: 0000000000352ef0 Call Trace: __ethtool_get_link_ksettings+0x144/0x1c0 net/ethtool/ioctl.c:450 ib_get_eth_speed+0x122/0xb50 drivers/infiniband/core/verbs.c:1999 siw_query_port+0x3c/0x4e0 drivers/infiniband/sw/siw/siw_verbs.c:179 iw_query_port drivers/infiniband/core/device.c:2137 [inline] ib_query_port drivers/infiniband/core/device.c:2178 [inline] ib_query_port+0x3d5/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+0x539/0xd30 net/netlink/af_netlink.c:2325 __netlink_dump_start+0x6d6/0x990 net/netlink/af_netlink.c:2440 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:1318 [inline] netlink_unicast+0x5aa/0x870 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x8c8/0xdd0 net/netlink/af_netlink.c:1894 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg net/socket.c:742 [inline] ____sys_sendmsg+0xa5d/0xc30 net/socket.c:2592 ___sys_sendmsg+0x134/0x1d0 net/socket.c:2646 __sys_sendmsg+0x16d/0x220 net/socket.c:2678 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa9f618f7c9 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:00007fa9f7075038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fa9f63e5fa0 RCX: 00007fa9f618f7c9 RDX: 0000000000000806 RSI: 00002000000001c0 RDI: 0000000000000003 RBP: 00007fa9f6213f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fa9f63e6038 R14: 00007fa9f63e5fa0 R15: 00007ffcfb1074a8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__ethtool_get_link_ksettings+0x73/0x1c0 net/ethtool/ioctl.c:443 Code: 03 80 3c 02 00 0f 85 34 01 00 00 48 8b ab e8 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d bd f8 01 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 39 01 00 00 48 83 bd f8 01 00 00 00 0f 84 f6 00 RSP: 0018:ffffc9000de2ed30 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff888036090000 RCX: ffffc900280dc000 RDX: 000000000000003f RSI: ffffffff898adc42 RDI: 00000000000001f8 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffffc9000de2edb8 R13: ffff8880360902e8 R14: ffffc9000de2edb8 R15: 00000000ffffffff FS: 00007fa9f70756c0(0000) GS:ffff8880d6af6000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdab0f49f98 CR3: 0000000048d14000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: 03 80 3c 02 00 0f add 0xf00023c(%rax),%eax 6: 85 34 01 test %esi,(%rcx,%rax,1) 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 f8 01 00 00 lea 0x1f8(%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 39 01 00 00 jne 0x16d 34: 48 83 bd f8 01 00 00 cmpq $0x0,0x1f8(%rbp) 3b: 00 3c: 0f .byte 0xf 3d: 84 f6 test %dh,%dh