CVE-2026-43461

spi: amlogic: spifc-a4: Fix DMA mapping error handling

High · published May 8, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
6.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00173 · 6.4th percentile
Published
2026-05-08T14:22Z
EPSS history
Timeline
  • 08 MAY 14:22Z
    spi: amlogic: spifc-a4: Fix DMA mapping error handling
    cvelistv5