CVE-2026-64034
net: mana: Fix TOCTOU double-fetch of hwc_msg_id from DMA buffer
Reported by linux · Published July 19, 2026
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().
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-rt-modules | errata.rockylinux.org | 6.12.0-211.62.1.el10 |
| kernel-debug-debuginfo | errata.rockylinux.org | 5.14.0-687.46.1.el9 |
| kernel-modules | errata.rockylinux.org | 5.14.0-687.46.1.el9, 4.18.0-553.169.1.el8 |
| kernel-rt-core | errata.rockylinux.org | 6.12.0-211.62.1.el10 |
| kernel-abi-stablelists | errata.rockylinux.org | 6.12.0-211.62.1.el10, 4.18.0-553.169.1.el8 |
| kernel-rt-debug-modules-extra | errata.rockylinux.org | 6.12.0-211.62.1.el10, 5.14.0-687.46.1.el9 |
| kernel-rt-devel | errata.rockylinux.org | 5.14.0-687.46.1.el9, 4.18.0-553.169.1.rt7.510.el8 |
| kernel-devel | errata.rockylinux.org | 6.12.0-211.62.1.el10, 5.14.0-687.46.1.el9 |
| kernel-64k-debug-devel | errata.rockylinux.org | 6.12.0-211.62.1.el10 |
| python3-perf-debuginfo | errata.rockylinux.org | 6.12.0-211.62.1.el10, 4.18.0-553.169.1.el8 |
| perf-debuginfo | errata.rockylinux.org | 6.12.0-211.62.1.el10, 5.14.0-687.46.1.el9, 4.18.0-553.169.1.el8 |
| kernel-rt-64k-devel | errata.rockylinux.org | 6.12.0-211.62.1.el10 |
33 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f |
| Linux | Linux | 5.13, 0, 5.15.209 |
| linux | linux_kernel | 5.13, 5.13, 5.13 |
| Linux | Linux | *, *, * |
Timeline
- Jul 19, 2026 CVE Published
- Jul 20, 2026 Coalition ESS Score
- Jul 20, 2026 Security Advisory (33 in total, the first dated here)
- Aug 7, 2026 EPSS Score (9 in total, the first dated here)
- Aug 12, 2026 Distribution Patch (36 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-64034
vulnetix vdb fixes CVE-2026-64034
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64034/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart