netlink: 8 bytes leftover after parsing attributes in process `syz.3.4823'. veth0: entered promiscuous mode Oops: general protection fault, probably for non-canonical address 0xdffffc000000003e: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x00000000000001f0-0x00000000000001f7] CPU: 1 UID: 0 PID: 21888 Comm: syz.3.4823 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/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 f2 52 7f f8 41 bc f0 01 00 00 4d 03 27 4c 89 e0 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 e7 e8 d3 52 7f f8 49 83 3c 24 00 74 4e RSP: 0018:ffffc9000e666d28 EFLAGS: 00010202 RAX: 000000000000003e RBX: ffffc9000e666da0 RCX: 0000000000080000 RDX: ffffc90014197000 RSI: 000000000000017b RDI: 000000000000017c RBP: 1ffff110096ae45d R08: ffffffff8f539f27 R09: 1ffffffff1ea73e4 R10: dffffc0000000000 R11: fffffbfff1ea73e5 R12: 00000000000001f0 R13: dffffc0000000000 R14: ffff88804b572000 R15: ffff88804b5722e8 FS: 00007f2f4a3d56c0(0000) GS:ffff888125d15000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000001b40 CR3: 0000000078a2c000 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+0x16d/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+0x82f/0x9e0 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x805/0xb30 net/netlink/af_netlink.c:1896 sock_sendmsg_nosec net/socket.c:714 [inline] __sock_sendmsg+0x21c/0x270 net/socket.c:729 ____sys_sendmsg+0x505/0x830 net/socket.c:2614 ___sys_sendmsg+0x21f/0x2a0 net/socket.c:2668 __sys_sendmsg net/socket.c:2700 [inline] __do_sys_sendmsg net/socket.c:2705 [inline] __se_sys_sendmsg net/socket.c:2703 [inline] __x64_sys_sendmsg+0x19b/0x260 net/socket.c:2703 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2f4c18eba9 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:00007f2f4a3d5038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f2f4c3d6090 RCX: 00007f2f4c18eba9 RDX: 0000000000000000 RSI: 0000200000001280 RDI: 0000000000000008 RBP: 00007f2f4c211e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f2f4c3d6128 R14: 00007f2f4c3d6090 R15: 00007ffecbc480f8 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 f2 52 7f f8 41 bc f0 01 00 00 4d 03 27 4c 89 e0 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 e7 e8 d3 52 7f f8 49 83 3c 24 00 74 4e RSP: 0018:ffffc9000e666d28 EFLAGS: 00010202 RAX: 000000000000003e RBX: ffffc9000e666da0 RCX: 0000000000080000 RDX: ffffc90014197000 RSI: 000000000000017b RDI: 000000000000017c RBP: 1ffff110096ae45d R08: ffffffff8f539f27 R09: 1ffffffff1ea73e4 R10: dffffc0000000000 R11: fffffbfff1ea73e5 R12: 00000000000001f0 R13: dffffc0000000000 R14: ffff88804b572000 R15: ffff88804b5722e8 FS: 00007f2f4a3d56c0(0000) GS:ffff888125c15000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055557f8c25c8 CR3: 0000000078a2c000 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 f2 52 7f f8 call 0xf87f530c 1a: 41 bc f0 01 00 00 mov $0x1f0,%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 d3 52 7f f8 call 0xf87f530c 39: 49 83 3c 24 00 cmpq $0x0,(%r12) 3e: 74 4e je 0x8e