{"id":"CVE-2026-43461","summary":"spi: amlogic: spifc-a4: Fix DMA mapping error handling","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: amlogic: spifc-a4: Fix DMA mapping error handling\n\nFix three bugs in aml_sfc_dma_buffer_setup() error paths:\n1. Unnecessary goto: When the first DMA mapping (sfc-\u003edaddr) fails,\n   nothing needs cleanup. Use direct return instead of goto.\n2. Double-unmap bug: When info DMA mapping failed, the code would\n   unmap sfc-\u003edaddr inline, then fall through to out_map_data which\n   would unmap it again, causing a double-unmap.\n3. Wrong unmap size: The out_map_info label used datalen instead of\n   infolen when unmapping sfc-\u003eiaddr, which could lead to incorrect\n   DMA sync behavior.","modified":"2026-08-12T03:51:33.716741401Z","published":"2026-05-08T14:22:23.999Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43461.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0a83d6c9e149a176340190fa9cbadf2266db4c9a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b20b437666e1cb26a7c499d1664e8f2a0ac67000"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c0b88f1176074f80140ed77fce909f254b7180ab"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43461.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43461"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4670db6f32e9379f5ab6c9bb2a6787cd9b9230a9"},{"fixed":"0a83d6c9e149a176340190fa9cbadf2266db4c9a"},{"fixed":"c0b88f1176074f80140ed77fce909f254b7180ab"},{"fixed":"b20b437666e1cb26a7c499d1664e8f2a0ac67000"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43461.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.18.0"},{"fixed":"6.18.19"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43461.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}