CVE Catalog

CVE-2026-43461

High
Published: Translated: NVD NIST

Summary

A vulnerability related to DMA mapping error handling in the SPI driver for Amlogic has been fixed in the Linux kernel. Issues included unnecessary gotos, double unmap, and incorrect unmap sizes.

Risk Assessment

Improper memory management in the context of DMA can lead to system crashes or unexpected application behavior, posing risks to system stability and security.

Recommendation

It is recommended to update the Linux kernel to the latest version to eliminate this vulnerability and improve DMA mapping error handling.

Related vulnerabilities

Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: spi: amlogic: spifc-a4: Fix DMA mapping error handling Fix three bugs in aml_sfc_dma_buffer_setup() error paths: 1. Unnecessary goto: When the first DMA mapping (sfc->daddr) fails, nothing needs cleanup. Use direct return instead of goto. 2. Double-unmap bug: When info DMA mapping failed, the code would unmap sfc->daddr inline, then fall through to out_map_data which would unmap it again, causing a double-unmap. 3. Wrong unmap size: The out_map_info label used datalen instead of infolen when unmapping sfc->iaddr, which could lead to incorrect DMA sync behavior.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS