CVE-2026-43461
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Summary
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, nothing needs cleanup. Use direct return instead of goto.
- 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.
- 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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 4670db6f32e9379f5ab6c9bb2a6787cd9b9230a9 < 0a83d6c9e149a176340190fa9cbadf2266db4c9a | affected |
| Linux | Linux | 4670db6f32e9379f5ab6c9bb2a6787cd9b9230a9 < c0b88f1176074f80140ed77fce909f254b7180ab | affected |
| Linux | Linux | 4670db6f32e9379f5ab6c9bb2a6787cd9b9230a9 < b20b437666e1cb26a7c499d1664e8f2a0ac67000 | affected |
| Linux | Linux | 6.18 | affected |
| Linux | Linux | 0 < 6.18 | unaffected |
| Linux | Linux | 6.18.19 <= 6.18.* | unaffected |
| Linux | Linux | 6.19.9 <= 6.19.* | unaffected |
| Linux | Linux | 7.0 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/0a83d6c9e149a176340190fa9cbadf2266db4c9a
- https://git.kernel.org/stable/c/c0b88f1176074f80140ed77fce909f254b7180ab
- https://git.kernel.org/stable/c/b20b437666e1cb26a7c499d1664e8f2a0ac67000
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.