Instituto Nacional de ciberseguridad. Sección Incibe
Instituto Nacional de Ciberseguridad. Sección INCIBE-CERT

CVE-2026-64034

Gravedad CVSS v3.1:
CRÍTICA
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
19/07/2026
Última modificación:
20/07/2026

Descripción

*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> net: mana: Fix TOCTOU double-fetch of hwc_msg_id from DMA buffer<br /> <br /> In mana_hwc_rx_event_handler(), resp-&gt;response.hwc_msg_id is read from<br /> DMA-coherent memory and bounds-checked, then mana_hwc_handle_resp()<br /> re-reads the same field from the same DMA buffer for test_bit() and<br /> pointer arithmetic.<br /> <br /> DMA-coherent memory is mapped uncacheable on x86 and is shared,<br /> unencrypted, in Confidential VMs (SEV-SNP/TDX), so each load goes<br /> directly to host-visible memory. A H/W can modify the value<br /> between the check and the use, bypassing the bounds validation.<br /> <br /> Fix this by reading hwc_msg_id exactly once using READ_ONCE() into a<br /> stack-local variable in mana_hwc_rx_event_handler(), and passing the<br /> validated value as a parameter to mana_hwc_handle_resp().