{"id":"CVE-2026-64145","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-64145","summary":"wifi: wilc1000: fix dma_buffer leak on bus acquire failure","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: wilc1000: fix dma_buffer leak on bus acquire failure\n\nwilc_wlan_firmware_download() allocates dma_buffer with kmalloc() at\nthe top of the function and uses a 'fail:' label to free it via\nkfree(dma_buffer) on error.\n\nAll later error paths correctly use 'goto fail' to route through this\ncleanup. However, the early failure path after the first acquire_bus()\ncall uses a bare 'return ret;', which leaks dma_buffer whenever the bus\nacquire fails.\n\nReplace the early return with goto fail so the existing cleanup path\nruns.\n\nFound via a custom Coccinelle semantic patch hunting for kmalloc'd\nlocals leaked on early-return error paths in driver firmware-download\ncode.","published":"2026-07-19T15:40:36.767Z","modified":"2026-08-12T03:51:14.882513337Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Linux","name":"Kernel","fixedVersion":"6.18.34"}],"fix":null,"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/32d7584441b9ecb279a03653b432612546e5efbe"},{"type":"WEB","url":"https://git.kernel.org/stable/c/95c82d498d74c4e587db30021ca1aec90e29b5a5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dd7b6a8671939708cc4b7a46786d8c11297e8f69"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64145.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64145"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:14.882513337Z"}}