netlink: 24 bytes leftover after parsing attributes in process `syz.4.1464'. Oops: general protection fault, probably for non-canonical address 0xdffffc000000003b: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x00000000000001d8-0x00000000000001df] CPU: 0 UID: 0 PID: 11080 Comm: syz.4.1464 Not tainted 6.13.0-rc2-syzkaller-00138-gc296c0bf4518 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 RIP: 0010:__ethtool_get_link_ksettings+0x7e/0x190 net/ethtool/ioctl.c:442 Code: 02 00 00 4c 89 e5 48 c1 ed 03 42 80 7c 2d 00 00 74 08 4c 89 e7 e8 22 11 2f f8 bb d8 01 00 00 49 03 1c 24 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 df e8 03 11 2f f8 48 83 3b 00 74 4d 49 RSP: 0018:ffffc900045ceb08 EFLAGS: 00010202 RAX: 000000000000003b RBX: 00000000000001d8 RCX: 0000000000080000 RDX: ffffc9000d4bd000 RSI: 0000000000003243 RDI: 0000000000003244 RBP: 1ffff1100b97a45d R08: ffffffff89d6adc9 R09: 1ffffffff1f9626c R10: dffffc0000000000 R11: fffffbfff1f9626d R12: ffff88805cbd22e8 R13: dffffc0000000000 R14: ffffc900045ceb80 R15: ffff88805cbd2000 FS: 00007f7a820056c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001280 CR3: 00000000365a8000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ib_get_eth_speed+0x160/0x800 drivers/infiniband/core/verbs.c:1996 rxe_query_port+0x76/0x260 drivers/infiniband/sw/rxe/rxe_verbs.c:55 __ib_query_port drivers/infiniband/core/device.c:2112 [inline] ib_query_port+0x166/0x7d0 drivers/infiniband/core/device.c:2144 fill_port_info+0x24f/0x9f0 drivers/infiniband/core/nldev.c:356 nldev_port_get_dumpit+0x547/0x8a0 drivers/infiniband/core/nldev.c:1311 netlink_dump+0x64d/0xe10 net/netlink/af_netlink.c:2317 __netlink_dump_start+0x5a2/0x790 net/netlink/af_netlink.c:2432 netlink_dump_start include/linux/netlink.h:340 [inline] rdma_nl_rcv_msg drivers/infiniband/core/netlink.c:190 [inline] rdma_nl_rcv_skb drivers/infiniband/core/netlink.c:239 [inline] rdma_nl_rcv+0x796/0x9e0 drivers/infiniband/core/netlink.c:259 netlink_unicast_kernel net/netlink/af_netlink.c:1321 [inline] netlink_unicast+0x7f6/0x990 net/netlink/af_netlink.c:1347 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1891 sock_sendmsg_nosec net/socket.c:711 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:726 ____sys_sendmsg+0x52a/0x7e0 net/socket.c:2583 ___sys_sendmsg net/socket.c:2637 [inline] __sys_sendmsg+0x269/0x350 net/socket.c:2669 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7a81185d19 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:00007f7a82005038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f7a81375fa0 RCX: 00007f7a81185d19 RDX: 0000000000000000 RSI: 0000000020001280 RDI: 0000000000000005 RBP: 00007f7a81201a20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f7a81375fa0 R15: 00007ffca5199b68 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__ethtool_get_link_ksettings+0x7e/0x190 net/ethtool/ioctl.c:442 Code: 02 00 00 4c 89 e5 48 c1 ed 03 42 80 7c 2d 00 00 74 08 4c 89 e7 e8 22 11 2f f8 bb d8 01 00 00 49 03 1c 24 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 df e8 03 11 2f f8 48 83 3b 00 74 4d 49 RSP: 0018:ffffc900045ceb08 EFLAGS: 00010202 RAX: 000000000000003b RBX: 00000000000001d8 RCX: 0000000000080000 RDX: ffffc9000d4bd000 RSI: 0000000000003243 RDI: 0000000000003244 RBP: 1ffff1100b97a45d R08: ffffffff89d6adc9 R09: 1ffffffff1f9626c R10: dffffc0000000000 R11: fffffbfff1f9626d R12: ffff88805cbd22e8 R13: dffffc0000000000 R14: ffffc900045ceb80 R15: ffff88805cbd2000 FS: 00007f7a820056c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001280 CR3: 00000000365a8000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 02 00 add (%rax),%al 2: 00 4c 89 e5 add %cl,-0x1b(%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 e7 mov %r12,%rdi 15: e8 22 11 2f f8 call 0xf82f113c 1a: bb d8 01 00 00 mov $0x1d8,%ebx 1f: 49 03 1c 24 add (%r12),%rbx 23: 48 89 d8 mov %rbx,%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: 48 89 df mov %rbx,%rdi 34: e8 03 11 2f f8 call 0xf82f113c 39: 48 83 3b 00 cmpq $0x0,(%rbx) 3d: 74 4d je 0x8c 3f: 49 rex.WB