Skip to contentSkip to conversation

CVE-2026-43094: ixgbevf: add missing negotiate_features op to Hyper-V ops table

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 6

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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.

The Linux kernel CVE team has assigned CVE-2026-43094 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.6.114 with commit 2e0aab9ddaf1428602c78f12064cd1e6ffcc4d18 and fixed in 6.6.136 with commit d8a747057a17ffc79e31df1abb11d05e1669d8e5
	Issue introduced in 6.12.55 with commit bf580112ed61736c2645a893413a04732505d4b1 and fixed in 6.12.83 with commit 2270ebab53128fb73c4a70a292be09094074737f
	Issue introduced in 6.18 with commit a7075f501bd33c93570af759b6f4302ef0175168 and fixed in 6.18.24 with commit 4db7b61ec1d1b2b67c0881b62fc4f9583bc21484
	Issue introduced in 6.18 with commit a7075f501bd33c93570af759b6f4302ef0175168 and fixed in 6.19.14 with commit 1455ff8809843e6e83f1f5b5c0bcc2224c99a3cb
	Issue introduced in 6.18 with commit a7075f501bd33c93570af759b6f4302ef0175168 and fixed in 7.0 with commit 4821d563cd7f251ae728be1a6d04af82a294a5b9
	Issue introduced in 6.1.158 with commit 871ac1cd4ce4804defcb428cbb003fd84c415ff4
	Issue introduced in 6.17.5 with commit a376e29b1b196dc90b50df7e5e3947e3026300c4

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-43094

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/net/ethernet/intel/ixgbevf/vf.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/d8a747057a17ffc79e31df1abb11d05e1669d8e5
	https://git.kernel.org/stable/c/2270ebab53128fb73c4a70a292be09094074737f
	https://git.kernel.org/stable/c/4db7b61ec1d1b2b67c0881b62fc4f9583bc21484
	https://git.kernel.org/stable/c/1455ff8809843e6e83f1f5b5c0bcc2224c99a3cb
	https://git.kernel.org/stable/c/4821d563cd7f251ae728be1a6d04af82a294a5b9