# CVE-2026-43461: spi: amlogic: spifc-a4: Fix DMA mapping error handling

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-05-08T14:22:23.999Z
- Modified: 2026-11-11T20:10:00.273Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 4670db6f32e9379f5ab6c9bb2a6787cd9b9230a9 before 0a83d6c9e149a176340190fa9cbadf2266db4c9a; from 4670db6f32e9379f5ab6c9bb2a6787cd9b9230a9 before c0b88f1176074f80140ed77fce909f254b7180ab; from 4670db6f32e9379f5ab6c9bb2a6787cd9b9230a9 before b20b437666e1cb26a7c499d1664e8f2a0ac67000; 6.18 (not affected: before 6.18; from 6.18.19 up to 6.18.*; from 6.19.9 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.18 before 6.18.19; from 6.19 before 6.19.9; 7.0

## References

- <https://git.kernel.org/stable/c/0a83d6c9e149a176340190fa9cbadf2266db4c9a> (patch)
- <https://git.kernel.org/stable/c/c0b88f1176074f80140ed77fce909f254b7180ab> (patch)
- <https://git.kernel.org/stable/c/b20b437666e1cb26a7c499d1664e8f2a0ac67000> (patch)

## Sources

- CVE List: [CVE-2026-43461](https://www.cve.org/CVERecord?id=CVE-2026-43461), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2026-43461](https://nvd.nist.gov/vuln/detail/CVE-2026-43461), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-43461 · Whole record: https://cve.day/CVE-2026-43461.json · Rebuilt by cve.day 2026-11-25T22:59:21.081Z
