{
  "id": "CVE-2025-40104",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-40104",
  "published_at": "2025-10-30T09:48:09.051Z",
  "title": "ixgbevf: fix mailbox API compatibility by negotiating supported features",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nixgbevf: fix mailbox API compatibility by negotiating supported features\n\nThere was backward compatibility in the terms of mailbox API. Various\ndrivers from various OSes supporting 10G adapters from Intel portfolio\ncould easily negotiate mailbox API.\n\nThis convention has been broken since introducing API 1.4.\nCommit 0062e7cc955e (\"ixgbevf: add VF IPsec offload code\") added support\nfor IPSec which is specific only for the kernel ixgbe driver. None of the\nrest of the Intel 10G PF/VF drivers supports it. And actually lack of\nsupport was not included in the IPSec implementation - there were no such\ncode paths. No possibility to negotiate support for the feature was\nintroduced along with introduction of the feature itself.\n\nCommit 339f28964147 (\"ixgbevf: Add support for new mailbox communication\nbetween PF and VF\") increasing API version to 1.5 did the same - it\nintroduced code supported specifically by the PF ESX driver. It altered API\nversion for the VF driver in the same time not touching the version\ndefined for the PF ixgbe driver. It led to additional discrepancies,\nas the code provided within API 1.6 cannot be supported for Linux ixgbe\ndriver as it causes crashes.\n\nThe issue was noticed some time ago and mitigated by Jake within the commit\nd0725312adf5 (\"ixgbevf: stop attempting IPSEC offload on Mailbox API 1.5\").\nAs a result we have regression for IPsec support and after increasing API\nto version 1.6 ixgbevf driver stopped to support ESX MBX.\n\nTo fix this mess add new mailbox op asking PF driver about supported\nfeatures. Basing on a response determine whether to set support for IPSec\nand ESX-specific enhanced mailbox.\n\nNew mailbox op, for compatibility purposes, must be added within new API\nrevision, as API version of OOT PF \u0026 VF drivers is already increased to\n1.6 and doesn't incorporate features negotiate op.\n\nFeatures negotiation mechanism gives possibility to be extended with new\nfeatures when needed in the future.",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 0062e7cc955e0827a88570ed36ea511a7dcb391e, \u003c 871ac1cd4ce4804defcb428cbb003fd84c415ff4",
          "\u003e= 0062e7cc955e0827a88570ed36ea511a7dcb391e, \u003c 2e0aab9ddaf1428602c78f12064cd1e6ffcc4d18",
          "\u003e= 0062e7cc955e0827a88570ed36ea511a7dcb391e, \u003c bf580112ed61736c2645a893413a04732505d4b1",
          "\u003e= 0062e7cc955e0827a88570ed36ea511a7dcb391e, \u003c a376e29b1b196dc90b50df7e5e3947e3026300c4",
          "\u003e= 0062e7cc955e0827a88570ed36ea511a7dcb391e, \u003c a7075f501bd33c93570af759b6f4302ef0175168"
        ],
        "fixed_in": [
          "871ac1cd4ce4804defcb428cbb003fd84c415ff4",
          "2e0aab9ddaf1428602c78f12064cd1e6ffcc4d18",
          "bf580112ed61736c2645a893413a04732505d4b1",
          "a376e29b1b196dc90b50df7e5e3947e3026300c4",
          "a7075f501bd33c93570af759b6f4302ef0175168"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.20"
        ],
        "fixed_in": [
          "0",
          "6.1.158",
          "6.6.114",
          "6.12.55",
          "6.17.5",
          "6.18"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 871ac1cd4ce4804defcb428cbb003fd84c415ff4 or 2e0aab9ddaf1428602c78f12064cd1e6ffcc4d18 or bf580112ed61736c2645a893413a04732505d4b1 or a376e29b1b196dc90b50df7e5e3947e3026300c4 or a7075f501bd33c93570af759b6f4302ef0175168 or later.",
      "Upgrade Linux to 0 or 6.1.158 or 6.6.114 or 6.12.55 or 6.17.5 or 6.18 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
