5.5medium
ixgbevf: add missing negotiate_features op to Hyper-V ops table
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.12% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: ixgbevf: add missing negotiate_features op to Hyper-V ops table Commit a7075f501bd3 ("ixgbevf: fix mailbox API compatibility by negotiating supported features") added the .negotiate_features callback to ixgbe_mac_operations and populated it in ixgbevf_mac_ops, but forgot to add it to ixgbevf_hv_mac_ops. This leaves the function pointer NULL on Hyper-V VMs. During probe, ixgbevf_negotiate_api() calls ixgbevf_set_features(), which unconditionally dereferences hw->mac.ops.negotiate_features(). On Hyper-V this results in a NULL pointer dereference: BUG: kernel NULL pointer dereference, address: 0000000000000000 [...] Hardware name: Microsoft Corporation Virtual Machine/Virtual Machine [...] Workqueue: events work_for_cpu_fn RIP: 0010:0x0 [...] Call Trace: ixgbevf_negotiate_api+0x66/0x160 [ixgbevf] ixgbevf_sw_init+0xe4/0x1f0 [ixgbevf] ixgbevf_probe+0x20f/0x4a0 [ixgbevf] local_pci_probe+0x50/0xa0 work_for_cpu_fn+0x1a/0x30 [...] Add ixgbevf_hv_negotiate_features_vf() that returns -EOPNOTSUPP and wire it into ixgbevf_hv_mac_ops. The caller already handles -EOPNOTSUPP gracefully.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 871ac1cd4ce4804defcb428cbb003fd84c415ff4 before 376d74ea03589914fbe2dedcbebf418396c04fd0, from 2e0aab9ddaf1428602c78f12064cd1e6ffcc4d18 before d8a747057a17ffc79e31df1abb11d05e1669d8e5, from bf580112ed61736c2645a893413a04732505d4b1 before 2270ebab53128fb73c4a70a292be09094074737f, from a7075f501bd33c93570af759b6f4302ef0175168 before 4db7b61ec1d1b2b67c0881b62fc4f9583bc21484, from a7075f501bd33c93570af759b6f4302ef0175168 before 1455ff8809843e6e83f1f5b5c0bcc2224c99a3cb, from a7075f501bd33c93570af759b6f4302ef0175168 before 4821d563cd7f251ae728be1a6d04af82a294a5b9, a376e29b1b196dc90b50df7e5e3947e3026300c4, from 6.1.158 before 6.1.175 and 4 more Not affected: before 6.18, from 6.1.175 up to 6.1.*, from 6.6.136 up to 6.6.*, from 6.12.83 up to 6.12.*, from 6.18.24 up to 6.18.*, from 6.19.14 up to 6.19.* | CVE List |
| linux linux_kernel | from 6.1.158 before 6.2, from 6.6.114 before 6.6.136, from 6.12.55 before 6.12.83, from 6.17.5 before 6.18, from 6.18.1 before 6.18.24, from 6.19 before 6.19.14, 6.18, 7.0 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: ixgbevf: add missing negotiate_features op to Hyper-V ops table Commit a7075f501bd3 ("ixgbevf: fix mailbox API compatibility by negotiating supported features") added the .negotiate_features callback to ixgbe_mac_operations and populated it in ixgbevf_mac_ops, but forgot to add it to ixgbevf_hv_mac_ops. This leaves the function pointer NULL on Hyper-V VMs. During probe, ixgbevf_negotiate_api() calls ixgbevf_set_features(), which unconditionally dereferences hw->mac.ops.negotiate_features(). On Hyper-V this results in a NULL pointer dereference: BUG: kernel NULL pointer dereference, address: 0000000000000000 [...] Hardware name: Microsoft Corporation Virtual Machine/Virtual Machine [...] Workqueue: events work_for_cpu_fn RIP: 0010:0x0 [...] Call Trace: ixgbevf_negotiate_api+0x66/0x160 [ixgbevf] ixgbevf_sw_init+0xe4/0x1f0 [ixgbevf] ixgbevf_probe+0x20f/0x4a0 [ixgbevf] local_pci_probe+0x50/0xa0 work_for_cpu_fn+0x1a/0x30 [...] Add ixgbevf_hv_negotiate_features_vf() that returns -EOPNOTSUPP and wire it into ixgbevf_hv_mac_ops. The caller already handles -EOPNOTSUPP gracefully.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ixgbevf: añadir la operación negotiate_features faltante a la tabla de operaciones de Hyper-V El commit a7075f501bd3 (’ixgbevf: corregir la compatibilidad de la API del buzón negociando las características admitidas’) añadió la devolución de llamada .negotiate_features a ixgbe_mac_operations y la pobló en ixgbevf_mac_ops, pero olvidó añadirla a ixgbevf_hv_mac_ops. Esto deja el puntero de función NULL en máquinas virtuales Hyper-V. Durante la sonda, ixgbevf_negotiate_api() llama a ixgbevf_set_features(), que desreferencia incondicionalmente hw -> mac.ops.negotiate_features(). En Hyper-V esto resulta en una desreferencia de puntero NULL: ERROR: desreferencia de puntero NULL del kernel, dirección: 0000000000000000 [...] Nombre del hardware: Máquina virtual de Microsoft Corporation/Máquina virtual [...] Cola de trabajo: eventos work_for_cpu_fn RIP: 0010:0x0 [...] Traza de llamada: ixgbevf_negotiate_api+0x66/0x160 [ixgbevf] ixgbevf_sw_init+0xe4/0x1f0 [ixgbevf] ixgbevf_probe+0x20f/0x4a0 [ixgbevf] local_pci_probe+0x50/0xa0 work_for_cpu_fn+0x1a/0x30 [...] Añadir ixgbevf_hv_negotiate_features_vf() que devuelve -EOPNOTSUPP y conectarla a ixgbevf_hv_mac_ops. El llamador ya maneja -EOPNOTSUPP de forma elegante.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43094 changed 2026-11-06 | CVE Terms of Use |
| NVD | CVE-2026-43094 changed 2026-11-11 | Public domain |