CVE-2026-68330
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
10/08/2026
Last modified:
17/08/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
net: airoha: Fix DMA direction for NPU mailbox buffer<br />
<br />
airoha_npu_send_msg() always maps the mailbox buffer with DMA_TO_DEVICE,<br />
but some callers expect the NPU to write response data back into the<br />
same buffer:<br />
<br />
- airoha_npu_wlan_msg_get() (NPU_OP_GET): NPU writes response into<br />
the buffer, then the caller reads it via memcpy()<br />
- airoha_npu_ppe_stats_setup() (NPU_OP_SET): NPU writes back<br />
npu_stats_addr field in the response<br />
<br />
On non-cache-coherent architectures like EN7581 (Cortex-A53 without<br />
hardware cache coherency for NPU DMA), DMA_TO_DEVICE unmap is a no-op<br />
— it does not invalidate the CPU cache. If the NPU-written cache line<br />
is still present in the CPU cache when the caller reads the buffer,<br />
the CPU observes stale data instead of the NPU response.<br />
<br />
This is a timing-sensitive bug: small mailbox buffers (~24 bytes)<br />
typically fit in a single cache line and may survive in the cache<br />
until the caller reads them, producing silent data corruption rather<br />
than a crash. The bug is more likely to trigger when the caller reads<br />
the response immediately after dma_unmap_single() without intervening<br />
cache-evicting operations.<br />
<br />
Fix by using DMA_BIDIRECTIONAL for both map and unmap, which ensures<br />
dma_unmap_single() invalidates the CPU cache on non-coherent systems.<br />
The mailbox buffers are small so there is no performance concern.
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH


