Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-64034

net: mana: Fix TOCTOU double-fetch of hwc_msg_id from DMA buffer
Back to all
CVE

CVE-2026-64034

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

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

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

In manahwcrxeventhandler(), resp->response.hwcmsgid is read from

DMA-coherent memory and bounds-checked, then manahwchandle_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 hwcmsgid exactly once using READ_ONCE() into a

stack-local variable in manahwcrxeventhandler(), and passing the

validated value as a parameter to manahwchandle_resp().

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.3
-
3.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://git.kernel.org/stable/c/09ec063d87c2dd3fa6f3561361a017bd882e9f37, https://git.kernel.org/stable/c/35f0f0a2536a4d604b4dbad92c85c4a8fdebb870, https://git.kernel.org/stable/c/3c4db56ccd13dd020fbf43afabaee74a40ec75e4, https://git.kernel.org/stable/c/566f42fb67a7ebfed6650e407e5b72e6b3e83bf7, https://git.kernel.org/stable/c/6180a06bbc99fd9114b8db4be6c4d46e40f046ef, https://git.kernel.org/stable/c/70ad2dff8d052a85dfef15715b531f38a29108cf, https://git.kernel.org/stable/c/a201c66edf2ebc6cfdc3813a889ba20fecebfae3, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64034.json, https://nvd.nist.gov/vuln/detail/CVE-2026-64034, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Severity

9.3

CVSS Score
0
10

Basic Information

Base CVSS
9.3
EPSS Probability
0.00151%
EPSS Percentile
0.04532%
Introduced Version
ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f,5.13.0,5.16.0,6.2.0,6.7.0,6.13.0,6.19.0,0
Fix Available
35f0f0a2536a4d604b4dbad92c85c4a8fdebb870,5.15.209,6.1.175,6.6.142,6.12.92,6.18.34,7.0.11,6.1.176-1,6.12.94-1,5.15.0-1112.119~20.04.1,5.15.0-1117.126~20.04.1,5.15.0-1117.126~20.04.2,5.15.0-1112.122~20.04.1,5.15.0-186.196~20.04.1,5.15.0-1106.110~20.04.1,5.15.0-1107.113~20.04.1,5.15.0-184.194~20.04.1,5.15.0-1064.66~20.04.1,5.15.0-1109.115~20.04.1,6.8.0-1063.71,6.17.0-1021.21~24.04.1,6.8.0-1062.69,7.0.0-28.28~24.04.1,7.0.0-1016.16~24.04.1,7.0.0-28.28.1~24.04.3,5.15.0-186.196,5.15.0-1112.119,5.15.0-1117.126,6.8.0-1063.71~22.04.1,6.8.0-1062.69~22.04.1,5.15.0-1112.122,5.15.0-1108.114,5.15.0-1095.103,5.15.0-1106.110,5.15.0-1107.113,5.15.0-1104.109,5.15.0-184.194,5.15.0-1107.108,5.15.0-1064.66,5.15.0-1053.53,5.15.0-1109.115,5.15.0-1075.79,0:5.15.0-323.211.3.3.el8uek,0:5.15.0-323.211.3.3.el9uek

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading