CVE-2026-64034

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

9.3 critical EPSS 0.16%

Published 19 Jul 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-64034

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-64034 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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

Severity (CVSS)

9.3 critical CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
changed: the damage reaches other components, such as the host of a container or other users
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.62% of all scored CVEs. Scores of 30 Nov 2026.

The assessment of CISA (SSVC, 16 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, before a201c66edf2ebc6cfdc3813a889ba20fecebfae3
affected from ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, before 70ad2dff8d052a85dfef15715b531f38a29108cf
affected from ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, before 566f42fb67a7ebfed6650e407e5b72e6b3e83bf7
affected from ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, before 6180a06bbc99fd9114b8db4be6c4d46e40f046ef
affected from ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, before 09ec063d87c2dd3fa6f3561361a017bd882e9f37
affected from ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, before 3c4db56ccd13dd020fbf43afabaee74a40ec75e4
affected from ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, before 35f0f0a2536a4d604b4dbad92c85c4a8fdebb870
Other versions: unaffected
Linux
affected 5.13
unaffected before 5.13
unaffected from 5.15.209 up to and including 5.15.*
unaffected from 6.1.175 up to and including 6.1.*
unaffected from 6.6.142 up to and including 6.6.*
unaffected from 6.12.92 up to and including 6.12.*
unaffected from 6.18.34 up to and including 6.18.*
unaffected from 7.0.11 up to and including 7.0.*
unaffected 7.1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-64034 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-64034

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-64034
trivy image --scanners vuln IMAGE | grep CVE-2026-64034

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-64034 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.