ixgbevf: add missing negotiate_features op to Hyper-V ops table
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2270ebab53128fb73c4a70a292be09094074737f, Kernel 6.12.83, Kernel 6.18 and 10 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=bf580112ed61736c2645a893413a04732505d4b1 <2270ebab53128fb73c4a70a292be09094074737f, >=6.12.55 <6.12.83, >=6.17.5 <6.18, >=6.18.1 <6.18.24, >=6.19 <6.19.14, >=6.6.114 <6.6.136, =6.18, =7.0, >=871ac1cd4ce4804defcb428cbb003fd84c415ff4 <376d74ea03589914fbe2dedcbebf418396c04fd0, >=a7075f501bd33c93570af759b6f4302ef0175168 <1455ff8809843e6e83f1f5b5c0bcc2224c99a3cb, >=a7075f501bd33c93570af759b6f4302ef0175168 <4821d563cd7f251ae728be1a6d04af82a294a5b9, >=a7075f501bd33c93570af759b6f4302ef0175168 <4db7b61ec1d1b2b67c0881b62fc4f9583bc21484, >=6.1.158 <6.2, =a376e29b1b196dc90b50df7e5e3947e3026300c4, >=2e0aab9ddaf1428602c78f12064cd1e6ffcc4d18 <d8a747057a17ffc79e31df1abb11d05e1669d8e5, >=6.1.158 <6.1.175 | 2270ebab53128fb73c4a70a292be09094074737f, 6.12.83, 6.18, 6.18.24, 6.19.14, 6.6.136, 376d74ea03589914fbe2dedcbebf418396c04fd0, 1455ff8809843e6e83f1f5b5c0bcc2224c99a3cb, 4821d563cd7f251ae728be1a6d04af82a294a5b9, 4db7b61ec1d1b2b67c0881b62fc4f9583bc21484, 6.2, d8a747057a17ffc79e31df1abb11d05e1669d8e5, 6.1.175 |
| linux-kernel: Kernel | >=6.1.158 <6.1.175, >=6.12.55 <6.12.83, >=6.17.5 <6.18, >=6.18.0 <6.18.24, >=6.19.0 <6.19.14, >=6.6.114 <6.6.136 | 6.1.175, 6.12.83, 6.18, 6.18.24, 6.19.14, 6.6.136 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket