{"id":5428,"date":"2026-09-04T18:47:49","date_gmt":"2026-09-04T10:47:49","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-68330"},"modified":"2026-09-04T18:47:49","modified_gmt":"2026-09-04T10:47:49","slug":"cve-2026-68330","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-68330","title":{"rendered":"CVE-2026-68330 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nnet: airoha: Fix DMA"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>net: airoha: Fix DMA direction for NPU mailbox buffer<\/p>\n<p>airoha_npu_send_msg() always maps the mailbox buffer with DMA_TO_DEVICE,<br \/>\nbut some callers expect the NPU to write response data back into the<br \/>\nsame buffer:<\/p>\n<p>&#8211; airoha_npu_wlan_msg_get() (NPU_OP_GET): NPU writes response into<br \/>\n  the buffer, then the caller reads it via memcpy()<br \/>\n&#8211; airoha_npu_ppe_stats_setup() (NPU_OP_SET): NPU writes back<br \/>\n  npu_stats_addr field in the response<\/p>\n<p>On non-cache-coherent architectures like EN7581 (Cortex-A53 without<br \/>\nhardware cache coherency for NPU DMA), DMA_TO_DEVICE unmap is a no-op<br \/>\n\u2014 it does not invalidate the CPU cache. If the NPU-written cache line<br \/>\nis still present in the CPU cache when the caller reads the buffer,<br \/>\nthe CPU observes stale data instead of the NPU response.<\/p>\n<p>This is a timing-sensitive bug: small mailbox buffers (~24 bytes)<br \/>\ntypically fit in a single cache line and may survive in the cache<br \/>\nuntil the caller reads them, producing silent data corruption rather<br \/>\nthan a crash. The bug is more likely to trigger when the caller reads<br \/>\nthe response immediately after dma_unmap_single() without intervening<br \/>\ncache-evicting operations.<\/p>\n<p>Fix by using DMA_BIDIRECTIONAL for both map and unmap, which ensures<br \/>\ndma_unmap_single() invalidates the CPU cache on non-coherent systems.<br \/>\nThe mailbox buffers are small so there is no performance concern.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>net: airoha: Fix DMA direction for NPU mailbox buffer<\/p>\n<p>airoha_npu_send_msg() always maps the mailbox buffer with DMA_TO_DEVICE,<br \/>\nbut<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-5428","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/5428","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5428"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5428"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}