# CVE-2026-64034: net: mana: Fix TOCTOU double-fetch of hwc\_msg\_id from DMA buffer

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.3 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-07-19 · Modified: 2026-10-19
- Aliases: UBUNTU-CVE-2026-64034, DEBIAN-CVE-2026-64034
- Record: https://cvemate.com/vulnerability/CVE-2026-64034 · JSON: https://cvemate.com/vulnerability/CVE-2026-64034/json

## Description

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

net: mana: Fix TOCTOU double-fetch of hwc_msg_id from DMA buffer

In mana_hwc_rx_event_handler(), resp->response.hwc_msg_id is read from
DMA-coherent memory and bounds-checked, then mana_hwc_handle_resp()
re-reads the same field from the same DMA buffer for test_bit() and
pointer arithmetic.

DMA-coherent memory is mapped uncacheable on x86 and is shared,
unencrypted, in Confidential VMs (SEV-SNP/TDX), so each load goes
directly to host-visible memory. A H/W can modify the value
between the check and the use, bypassing the bounds validation.

Fix this by reading hwc_msg_id exactly once using READ_ONCE() into a
stack-local variable in mana_hwc_rx_event_handler(), and passing the
validated value as a parameter to mana_hwc_handle_resp().
```

## Signals

- CVSS: 9.3 critical (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- EPSS: 0.115%, percentile 1.705%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 159)

- debian linux (Debian): \< 6.1.176-1 \| \< 6.12.94-1 \| \< 7.0.12-1
- ubuntu linux (Ubuntu): \< 5.15.0-186.196 \| \< 6.8.0-139.139 \| \< 7.0.0-28.28
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.15.0-1112.119 \| \< 6.8.0-1064.67 \| \< 7.0.0-1009.9
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1112.119~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1064.67~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1112.119+fips1 \| \< 6.8.0-1064.67+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1117.126 \| \< 6.8.0-1063.71 \| \< 7.0.0-1010.10
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 47)

- <https://git.kernel.org/stable/c/a201c66edf2ebc6cfdc3813a889ba20fecebfae3>
- <https://git.kernel.org/stable/c/70ad2dff8d052a85dfef15715b531f38a29108cf>
- <https://git.kernel.org/stable/c/566f42fb67a7ebfed6650e407e5b72e6b3e83bf7>
- <https://git.kernel.org/stable/c/6180a06bbc99fd9114b8db4be6c4d46e40f046ef>
- <https://git.kernel.org/stable/c/09ec063d87c2dd3fa6f3561361a017bd882e9f37>
- <https://git.kernel.org/stable/c/3c4db56ccd13dd020fbf43afabaee74a40ec75e4>
- <https://git.kernel.org/stable/c/35f0f0a2536a4d604b4dbad92c85c4a8fdebb870>
- <https://ubuntu.com/security/CVE-2026-64034>
- <https://www.cve.org/CVERecord?id=CVE-2026-64034>
- <https://git.kernel.org/linus/35f0f0a2536a4d604b4dbad92c85c4a8fdebb870>
- <https://ubuntu.com/security/notices/USN-8575-1>
- <https://ubuntu.com/security/notices/USN-8576-1>
- <https://ubuntu.com/security/notices/USN-8593-1>
- <https://ubuntu.com/security/notices/USN-8575-2>
- <https://ubuntu.com/security/notices/USN-8576-2>
- <https://ubuntu.com/security/notices/USN-8603-1>
- <https://ubuntu.com/security/notices/USN-8604-1>
- <https://ubuntu.com/security/notices/USN-8605-1>
- <https://ubuntu.com/security/notices/USN-8606-1>
- <https://ubuntu.com/security/notices/USN-8607-1>

---

Data as of 2026-12-05T04:20:46.943Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
