In the Linux kernel, the following vulnerability has been resolved: wifi: wilc1000: fix dma_buffer leak on bus acquire failure… (CVE-2026-64145)
A vulnerability in the Linux kernel's wilc1000 WiFi driver was identified where a dma_buffer allocated during firmware download could leak if the bus acquisition failed early. This occurs because an early return bypasses the cleanup code that frees the allocated buffer. The issue was fixed by replacing the early return with a goto statement to ensure proper cleanup.
AI Analysis
Technical Summary
The Linux kernel's wilc1000 WiFi driver function wilc_wlan_firmware_download() allocates a dma_buffer using kmalloc() and is supposed to free it on error via a 'fail:' cleanup label. While most error paths correctly jump to this cleanup, an early failure after the first acquire_bus() call returns immediately, leaking the dma_buffer. The fix replaces this early return with a goto fail to ensure the buffer is freed properly. This vulnerability was discovered using a semantic patch tool to detect kmalloc'd local leaks on early error returns in firmware download code.
Potential Impact
The vulnerability causes a memory leak of the dma_buffer when the bus acquisition fails early in the firmware download process. While this does not directly lead to code execution or privilege escalation, repeated leaks could degrade system stability or exhaust kernel memory resources over time.
Mitigation Recommendations
A fix has been implemented in the Linux kernel source code to replace the early return with a goto fail statement, ensuring proper cleanup of the dma_buffer. Users should update to a Linux kernel version that includes this fix once it is released. Patch status is not yet confirmed in this data; check the official Linux kernel advisories for the specific fixed version.
In the Linux kernel, the following vulnerability has been resolved: wifi: wilc1000: fix dma_buffer leak on bus acquire failure… (CVE-2026-64145)
Description
A vulnerability in the Linux kernel's wilc1000 WiFi driver was identified where a dma_buffer allocated during firmware download could leak if the bus acquisition failed early. This occurs because an early return bypasses the cleanup code that frees the allocated buffer. The issue was fixed by replacing the early return with a goto statement to ensure proper cleanup.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's wilc1000 WiFi driver function wilc_wlan_firmware_download() allocates a dma_buffer using kmalloc() and is supposed to free it on error via a 'fail:' cleanup label. While most error paths correctly jump to this cleanup, an early failure after the first acquire_bus() call returns immediately, leaking the dma_buffer. The fix replaces this early return with a goto fail to ensure the buffer is freed properly. This vulnerability was discovered using a semantic patch tool to detect kmalloc'd local leaks on early error returns in firmware download code.
Potential Impact
The vulnerability causes a memory leak of the dma_buffer when the bus acquisition fails early in the firmware download process. While this does not directly lead to code execution or privilege escalation, repeated leaks could degrade system stability or exhaust kernel memory resources over time.
Mitigation Recommendations
A fix has been implemented in the Linux kernel source code to replace the early return with a goto fail statement, ensuring proper cleanup of the dma_buffer. Users should update to a Linux kernel version that includes this fix once it is released. Patch status is not yet confirmed in this data; check the official Linux kernel advisories for the specific fixed version.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-jx6x-8px6-93f6
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64145"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a5d27a82a4a8d598912abec
Added to database: 07/19/2026, 19:38:16 UTC
Last enriched: 07/19/2026, 19:44:44 UTC
Last updated: 07/20/2026, 17:26:47 UTC
Views: 14
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.