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

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

- **Severity:** CRITICAL 9.3
- **CVSS:** 9.3 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); 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.16% (percentile 3, 2026-11-26)
- **CWE:** CWE-367
- **Published:** 2026-07-19T15:39:23.470Z
- **Modified:** 2026-10-19T21:17:20.953Z

## Who should check

- Anyone running Linux \>= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, \< a201c66edf2ebc6cfdc3813a889ba20fecebfae3; \>= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, \< 70ad2dff8d052a85dfef15715b531f38a29108cf; \>= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, \< 566f42fb67a7ebfed6650e407e5b72e6b3e83bf7; \>= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, \< 6180a06bbc99fd9114b8db4be6c4d46e40f046ef; \>= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, \< 09ec063d87c2dd3fa6f3561361a017bd882e9f37; \>= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, \< 3c4db56ccd13dd020fbf43afabaee74a40ec75e4; \>= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, \< 35f0f0a2536a4d604b4dbad92c85c4a8fdebb870
- Anyone running Linux 5.13

## Description

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().

## Affected and fixed versions

- Linux: \>= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, \< a201c66edf2ebc6cfdc3813a889ba20fecebfae3; \>= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, \< 70ad2dff8d052a85dfef15715b531f38a29108cf; \>= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, \< 566f42fb67a7ebfed6650e407e5b72e6b3e83bf7; \>= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, \< 6180a06bbc99fd9114b8db4be6c4d46e40f046ef; \>= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, \< 09ec063d87c2dd3fa6f3561361a017bd882e9f37; \>= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, \< 3c4db56ccd13dd020fbf43afabaee74a40ec75e4; \>= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, \< 35f0f0a2536a4d604b4dbad92c85c4a8fdebb870 (cvelist)
- Linux: 5.13 (cvelist)

## Mitigation

- Upgrade Linux to 35f0f0a2536a4d604b4dbad92c85c4a8fdebb870 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-64034.md
Affected: Linux >= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, < a201c66edf2ebc6cfdc3813a889ba20fecebfae3; >= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, < 70ad2dff8d052a85dfef15715b531f38a29108cf; >= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, < 566f42fb67a7ebfed6650e407e5b72e6b3e83bf7; >= ca9c54d2d6a5ab2430c4eda…
Fixed in: Linux 70ad2dff8d052a85dfef15715b531f38a29108cf, Linux 566f42fb67a7ebfed6650e407e5b72e6b3e83bf7, Linux 6180a06bbc99fd9114b8db4be6c4d46e40f046ef, Linux 09ec063d87c2dd3fa6f3561361a017bd882e9f37, Linux 3c4db56ccd13dd020fbf43afabaee74a40ec75e4, Linux 35f0f0a2536a4d604b4dbad92c85c4a8fdebb870

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-2026-64034 being exploited?

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

### How serious is CVE-2026-64034?

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

### Which versions are affected by CVE-2026-64034?

Linux \>= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, \< a201c66edf2ebc6cfdc3813a889ba20fecebfae3; \>= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, \< 70ad2dff8d052a85dfef15715b531f38a29108cf; \>= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, \< 566f42fb67a7ebfed6650e407e5b72e6b3e83bf7; \>= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, \< 6180a06bbc99fd9114b8db4be6c4d46e40f046ef; \>= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, \< 09ec063d87c2dd3fa6f3561361a017bd882e9f37; \>= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, \< 3c4db56ccd13dd020fbf43afabaee74a40ec75e4; \>= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, \< 35f0f0a2536a4d604b4dbad92c85c4a8fdebb870; Linux 5.13.

### Is there a fix for CVE-2026-64034?

Yes. Fixed in Linux 70ad2dff8d052a85dfef15715b531f38a29108cf, Linux 566f42fb67a7ebfed6650e407e5b72e6b3e83bf7, Linux 6180a06bbc99fd9114b8db4be6c4d46e40f046ef, Linux 09ec063d87c2dd3fa6f3561361a017bd882e9f37, Linux 3c4db56ccd13dd020fbf43afabaee74a40ec75e4, Linux 35f0f0a2536a4d604b4dbad92c85c4a8fdebb870. Upgrade Linux to 35f0f0a2536a4d604b4dbad92c85c4a8fdebb870 or later.

### How do I check if I'm affected by CVE-2026-64034?

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

- patch: <https://git.kernel.org/stable/c/a201c66edf2ebc6cfdc3813a889ba20fecebfae3>
- patch: <https://git.kernel.org/stable/c/70ad2dff8d052a85dfef15715b531f38a29108cf>
- patch: <https://git.kernel.org/stable/c/566f42fb67a7ebfed6650e407e5b72e6b3e83bf7>
- patch: <https://git.kernel.org/stable/c/6180a06bbc99fd9114b8db4be6c4d46e40f046ef>
- patch: <https://git.kernel.org/stable/c/09ec063d87c2dd3fa6f3561361a017bd882e9f37>
- patch: <https://git.kernel.org/stable/c/3c4db56ccd13dd020fbf43afabaee74a40ec75e4>
- patch: <https://git.kernel.org/stable/c/35f0f0a2536a4d604b4dbad92c85c4a8fdebb870>

## 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-2026-64034>

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