# CVE-2025-40104: ixgbevf: fix mailbox API compatibility by negotiating supported features

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **Published:** 2025-10-30T09:48:09.051Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= 0062e7cc955e0827a88570ed36ea511a7dcb391e, \< 871ac1cd4ce4804defcb428cbb003fd84c415ff4; \>= 0062e7cc955e0827a88570ed36ea511a7dcb391e, \< 2e0aab9ddaf1428602c78f12064cd1e6ffcc4d18; \>= 0062e7cc955e0827a88570ed36ea511a7dcb391e, \< bf580112ed61736c2645a893413a04732505d4b1; \>= 0062e7cc955e0827a88570ed36ea511a7dcb391e, \< a376e29b1b196dc90b50df7e5e3947e3026300c4; \>= 0062e7cc955e0827a88570ed36ea511a7dcb391e, \< a7075f501bd33c93570af759b6f4302ef0175168
- Anyone running Linux 4.20

## Description

In the Linux kernel, the following vulnerability has been resolved:

ixgbevf: fix mailbox API compatibility by negotiating supported features

There was backward compatibility in the terms of mailbox API. Various
drivers from various OSes supporting 10G adapters from Intel portfolio
could easily negotiate mailbox API.

This convention has been broken since introducing API 1.4.
Commit 0062e7cc955e ("ixgbevf: add VF IPsec offload code") added support
for IPSec which is specific only for the kernel ixgbe driver. None of the
rest of the Intel 10G PF/VF drivers supports it. And actually lack of
support was not included in the IPSec implementation - there were no such
code paths. No possibility to negotiate support for the feature was
introduced along with introduction of the feature itself.

Commit 339f28964147 ("ixgbevf: Add support for new mailbox communication
between PF and VF") increasing API version to 1.5 did the same - it
introduced code supported specifically by the PF ESX driver. It altered API
version for the VF driver in the same time not touching the version
defined for the PF ixgbe driver. It led to additional discrepancies,
as the code provided within API 1.6 cannot be supported for Linux ixgbe
driver as it causes crashes.

The issue was noticed some time ago and mitigated by Jake within the commit
d0725312adf5 ("ixgbevf: stop attempting IPSEC offload on Mailbox API 1.5").
As a result we have regression for IPsec support and after increasing API
to version 1.6 ixgbevf driver stopped to support ESX MBX.

To fix this mess add new mailbox op asking PF driver about supported
features. Basing on a response determine whether to set support for IPSec
and ESX-specific enhanced mailbox.

New mailbox op, for compatibility purposes, must be added within new API
revision, as API version of OOT PF & VF drivers is already increased to
1.6 and doesn't incorporate features negotiate op.

Features negotiation mechanism gives possibility to be extended with new
features when needed in the future.

## Affected and fixed versions

- Linux: \>= 0062e7cc955e0827a88570ed36ea511a7dcb391e, \< 871ac1cd4ce4804defcb428cbb003fd84c415ff4; \>= 0062e7cc955e0827a88570ed36ea511a7dcb391e, \< 2e0aab9ddaf1428602c78f12064cd1e6ffcc4d18; \>= 0062e7cc955e0827a88570ed36ea511a7dcb391e, \< bf580112ed61736c2645a893413a04732505d4b1; \>= 0062e7cc955e0827a88570ed36ea511a7dcb391e, \< a376e29b1b196dc90b50df7e5e3947e3026300c4; \>= 0062e7cc955e0827a88570ed36ea511a7dcb391e, \< a7075f501bd33c93570af759b6f4302ef0175168 (cvelist)
- Linux: 4.20 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-40104. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40104.md
Affected: Linux >= 0062e7cc955e0827a88570ed36ea511a7dcb391e, < 871ac1cd4ce4804defcb428cbb003fd84c415ff4; >= 0062e7cc955e0827a88570ed36ea511a7dcb391e, < 2e0aab9ddaf1428602c78f12064cd1e6ffcc4d18; >= 0062e7cc955e0827a88570ed36ea511a7dcb391e, < bf580112ed61736c2645a893413a04732505d4b1; >= 0062e7cc955e0827a88570e…
Fixed in: Linux 871ac1cd4ce4804defcb428cbb003fd84c415ff4, Linux 2e0aab9ddaf1428602c78f12064cd1e6ffcc4d18

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-40104 being exploited?

There is no confirmed exploitation: CVE-2025-40104 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-40104?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-40104?

Linux \>= 0062e7cc955e0827a88570ed36ea511a7dcb391e, \< 871ac1cd4ce4804defcb428cbb003fd84c415ff4; \>= 0062e7cc955e0827a88570ed36ea511a7dcb391e, \< 2e0aab9ddaf1428602c78f12064cd1e6ffcc4d18; \>= 0062e7cc955e0827a88570ed36ea511a7dcb391e, \< bf580112ed61736c2645a893413a04732505d4b1; \>= 0062e7cc955e0827a88570ed36ea511a7dcb391e, \< a376e29b1b196dc90b50df7e5e3947e3026300c4; \>= 0062e7cc955e0827a88570ed36ea511a7dcb391e, \< a7075f501bd33c93570af759b6f4302ef0175168; Linux 4.20.

### Is there a fix for CVE-2025-40104?

Yes. Fixed in Linux 871ac1cd4ce4804defcb428cbb003fd84c415ff4, Linux 2e0aab9ddaf1428602c78f12064cd1e6ffcc4d18. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-40104?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/871ac1cd4ce4804defcb428cbb003fd84c415ff4>
- other: <https://git.kernel.org/stable/c/2e0aab9ddaf1428602c78f12064cd1e6ffcc4d18>
- other: <https://git.kernel.org/stable/c/bf580112ed61736c2645a893413a04732505d4b1>
- other: <https://git.kernel.org/stable/c/a376e29b1b196dc90b50df7e5e3947e3026300c4>
- other: <https://git.kernel.org/stable/c/a7075f501bd33c93570af759b6f4302ef0175168>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-40104>

HTML: <https://flawdb.com/CVE-2025-40104> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-40104>
