{
  "id": "CVE-2026-64034",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64034",
  "published_at": "2026-07-19T15:39:23.47Z",
  "title": "net: mana: Fix TOCTOU double-fetch of hwc_msg_id from DMA buffer",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 9.3,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/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\nnet: mana: Fix TOCTOU double-fetch of hwc_msg_id from DMA buffer\n\nIn mana_hwc_rx_event_handler(), resp-\u003eresponse.hwc_msg_id is read from\nDMA-coherent memory and bounds-checked, then mana_hwc_handle_resp()\nre-reads the same field from the same DMA buffer for test_bit() and\npointer arithmetic.\n\nDMA-coherent memory is mapped uncacheable on x86 and is shared,\nunencrypted, in Confidential VMs (SEV-SNP/TDX), so each load goes\ndirectly to host-visible memory. A H/W can modify the value\nbetween the check and the use, bypassing the bounds validation.\n\nFix this by reading hwc_msg_id exactly once using READ_ONCE() into a\nstack-local variable in mana_hwc_rx_event_handler(), and passing the\nvalidated value as a parameter to mana_hwc_handle_resp().",
  "cwe": "CWE-367",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.3
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, \u003c a201c66edf2ebc6cfdc3813a889ba20fecebfae3",
          "\u003e= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, \u003c 70ad2dff8d052a85dfef15715b531f38a29108cf",
          "\u003e= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, \u003c 566f42fb67a7ebfed6650e407e5b72e6b3e83bf7",
          "\u003e= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, \u003c 6180a06bbc99fd9114b8db4be6c4d46e40f046ef",
          "\u003e= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, \u003c 09ec063d87c2dd3fa6f3561361a017bd882e9f37",
          "\u003e= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, \u003c 3c4db56ccd13dd020fbf43afabaee74a40ec75e4",
          "\u003e= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, \u003c 35f0f0a2536a4d604b4dbad92c85c4a8fdebb870"
        ],
        "fixed_in": [
          "a201c66edf2ebc6cfdc3813a889ba20fecebfae3",
          "70ad2dff8d052a85dfef15715b531f38a29108cf",
          "566f42fb67a7ebfed6650e407e5b72e6b3e83bf7",
          "6180a06bbc99fd9114b8db4be6c4d46e40f046ef",
          "09ec063d87c2dd3fa6f3561361a017bd882e9f37",
          "3c4db56ccd13dd020fbf43afabaee74a40ec75e4",
          "35f0f0a2536a4d604b4dbad92c85c4a8fdebb870"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.13"
        ],
        "fixed_in": [
          "0",
          "5.15.209",
          "6.1.175",
          "6.6.142",
          "6.12.92",
          "6.18.34",
          "7.0.11",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to a201c66edf2ebc6cfdc3813a889ba20fecebfae3 or 70ad2dff8d052a85dfef15715b531f38a29108cf or 566f42fb67a7ebfed6650e407e5b72e6b3e83bf7 or 6180a06bbc99fd9114b8db4be6c4d46e40f046ef or 09ec063d87c2dd3fa6f3561361a017bd882e9f37 or 3c4db56ccd13dd020fbf43afabaee74a40ec75e4 or 35f0f0a2536a4d604b4dbad92c85c4a8fdebb870 or later.",
      "Upgrade Linux to 0 or 5.15.209 or 6.1.175 or 6.6.142 or 6.12.92 or 6.18.34 or 7.0.11 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
