{
  "id": "CVE-2025-40058",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-40058",
  "published_at": "2025-10-28T11:48:31.567Z",
  "title": "iommu/vt-d: Disallow dirty tracking if incoherent page walk",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/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\niommu/vt-d: Disallow dirty tracking if incoherent page walk\n\nDirty page tracking relies on the IOMMU atomically updating the dirty bit\nin the paging-structure entry. For this operation to succeed, the paging-\nstructure memory must be coherent between the IOMMU and the CPU. In\nanother word, if the iommu page walk is incoherent, dirty page tracking\ndoesn't work.\n\nThe Intel VT-d specification, Section 3.10 \"Snoop Behavior\" states:\n\n\"Remapping hardware encountering the need to atomically update A/EA/D bits\n in a paging-structure entry that is not snooped will result in a non-\n recoverable fault.\"\n\nTo prevent an IOMMU from being incorrectly configured for dirty page\ntracking when it is operating in an incoherent mode, mark SSADS as\nsupported only when both ecap_slads and ecap_smpwc are supported.",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= f35f22cc760eb2c7034bf53251399685d611e03f, \u003c ebe16d245a00626bb87163862a1b07daf5475a3e",
          "\u003e= f35f22cc760eb2c7034bf53251399685d611e03f, \u003c 8d096ce0e87bdc361f0b25d7943543bc53aa0b9e",
          "\u003e= f35f22cc760eb2c7034bf53251399685d611e03f, \u003c 57f55048e564dedd8a4546d018e29d6bbfff0a7e"
        ],
        "fixed_in": [
          "ebe16d245a00626bb87163862a1b07daf5475a3e",
          "8d096ce0e87bdc361f0b25d7943543bc53aa0b9e",
          "57f55048e564dedd8a4546d018e29d6bbfff0a7e"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.7"
        ],
        "fixed_in": [
          "0",
          "6.12.53",
          "6.17.3",
          "6.18"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to ebe16d245a00626bb87163862a1b07daf5475a3e or 8d096ce0e87bdc361f0b25d7943543bc53aa0b9e or 57f55048e564dedd8a4546d018e29d6bbfff0a7e or later.",
      "Upgrade Linux to 0 or 6.12.53 or 6.17.3 or 6.18 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
