Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 92%

In the Linux kernel, the following vulnerability has been resolved: net: mana: Fix TOCTOU double-fetch of hwc_msg_id from DMA buffer In… (CVE-2026-64034)

0
Critical
Published: 07/19/2026 (07/19/2026, 18:31:50 UTC)
Source: GCVE Database

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

CVSS v3.1

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/19/2026, 19:54:19 UTC

Technical Analysis

The Linux kernel's mana network driver contained a TOCTOU vulnerability (CVE-2026-64034) where the hwc_msg_id field was read twice from DMA-coherent memory in mana_hwc_rx_event_handler() and mana_hwc_handle_resp(). Because DMA-coherent memory is uncacheable and shared, hardware could modify hwc_msg_id between the initial bounds check and later use, bypassing validation. The vulnerability was resolved by reading hwc_msg_id exactly once using READ_ONCE() into a stack-local variable and passing the validated value to subsequent handlers, preventing the double-fetch race condition.

Potential Impact

This vulnerability could allow an attacker with hardware-level access to modify the hwc_msg_id value between validation and use, potentially bypassing bounds checks. This could lead to undefined behavior or security issues in the mana network driver. However, exploitation requires hardware capability to modify DMA memory during execution, limiting practical impact. No known exploits are reported.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to address this vulnerability by changing the code to read hwc_msg_id once atomically. Users should update to a Linux kernel version that includes this fix. Since no patch links or specific versions are provided, check the official Linux kernel advisories or repositories for the fixed version. No additional mitigations are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-r5hj-4chx-57cx
Osv Schema Version
1.4.0
Aliases
["CVE-2026-64034"]
Ecosystems
[]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a5d27a92a4a8d598912c888

Added to database: 07/19/2026, 19:38:17 UTC

Last enriched: 07/19/2026, 19:54:19 UTC

Last updated: 07/20/2026, 19:41:22 UTC

Views: 12

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses