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:
- Unnecessary goto: When the first DMA mapping (sfc->daddr) fails,
- Double-unmap bug: When info DMA mapping failed, the code would
- Wrong unmap size: The out_map_info label used datalen instead of