CVE-2026-68330
Received Received - Intake

DMA Direction Bug in Airoha NPU Mailbox Handling

Vulnerability report for CVE-2026-68330, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-10

Last updated on: 2026-08-10

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: net: airoha: Fix DMA direction for NPU mailbox buffer airoha_npu_send_msg() always maps the mailbox buffer with DMA_TO_DEVICE, but some callers expect the NPU to write response data back into the same buffer: - airoha_npu_wlan_msg_get() (NPU_OP_GET): NPU writes response into the buffer, then the caller reads it via memcpy() - airoha_npu_ppe_stats_setup() (NPU_OP_SET): NPU writes back npu_stats_addr field in the response On non-cache-coherent architectures like EN7581 (Cortex-A53 without hardware cache coherency for NPU DMA), DMA_TO_DEVICE unmap is a no-op β€” it does not invalidate the CPU cache. If the NPU-written cache line is still present in the CPU cache when the caller reads the buffer, the CPU observes stale data instead of the NPU response. This is a timing-sensitive bug: small mailbox buffers (~24 bytes) typically fit in a single cache line and may survive in the cache until the caller reads them, producing silent data corruption rather than a crash. The bug is more likely to trigger when the caller reads the response immediately after dma_unmap_single() without intervening cache-evicting operations. Fix by using DMA_BIDIRECTIONAL for both map and unmap, which ensures dma_unmap_single() invalidates the CPU cache on non-coherent systems. The mailbox buffers are small so there is no performance concern.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-10
Last Modified
2026-08-10
Generated
2026-08-10
AI Q&A
2026-08-10
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
airoha linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves incorrect DMA mapping for NPU mailbox buffers. The function airoha_npu_send_msg() uses DMA_TO_DEVICE to map buffers, but some callers expect the NPU to write response data back into the same buffer. On non-cache-coherent systems, this leads to stale data being read from CPU cache instead of the NPU response, causing silent data corruption.

Detection Guidance

This vulnerability is specific to the Linux kernel's airoha NPU driver and involves DMA mapping issues. Detection requires checking kernel logs for DMA-related errors or examining the airoha driver code for improper DMA direction usage. No direct network detection commands exist; focus on kernel logs and driver inspection.

Impact Analysis

The impact depends on affected systems. On non-cache-coherent architectures like EN7581, this bug can cause silent data corruption when reading NPU responses. The corruption is timing-sensitive and more likely with small buffers read immediately after DMA unmapping. It may not crash the system but could lead to incorrect data processing.

Mitigation Strategies

Apply the kernel patch that changes DMA mapping from DMA_TO_DEVICE to DMA_BIDIRECTIONAL for airoha NPU operations. Update to a Linux kernel version containing the fix. If patching is not possible, avoid using affected airoha NPU features until patched.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-68330. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart