Linux hwe edge: In the Linux kernel, the following vulnerability has been resolved: iio: buffer: hw-consumer: free scan_mask on buffer release The scan_mask… (CVE-2026-64498)
In the Linux kernel, the following vulnerability has been resolved: iio: buffer: hw-consumer: free scan_mask on buffer release The scan_mask lifetime changed in commit 9a2e1233d38c ("iio: buffer: hw-consumer: remove redundant scan_mask flexible array"). Before that change, the scan mask storage was embedded in struct hw_consumer_buffer, so iio_hw_buf_release() could free the whole allocation with a single kfree(hw_buf). That commit moved the scan mask to a separate bitmap_zalloc() allocation stored in buffer.scan_mask, but left iio_hw_buf_release() unchanged. Free the scan mask in iio_hw_buf_release() before freeing the buffer wrapper.
AI Analysis
Technical Summary
The vulnerability (CVE-2026-64498) in the Linux kernel's IIO subsystem involves improper memory management of the scan_mask bitmap in the hw-consumer buffer. A prior commit separated scan_mask into its own allocation, but the buffer release function (iio_hw_buf_release) did not free this allocation, causing a potential use-after-free or memory leak. The fix involves explicitly freeing the scan_mask bitmap before freeing the buffer wrapper, ensuring proper cleanup.
Potential Impact
Improper freeing of the scan_mask bitmap could lead to kernel memory corruption or leaks, potentially destabilizing the system or causing denial of service. No known exploits are reported in the wild. The vulnerability affects kernel stability and security but does not have a reported CVSS score or documented exploitation impact.
Mitigation Recommendations
A fix has been implemented in the Linux kernel source code to free the scan_mask bitmap on buffer release. Users should update to the fixed kernel version once available. Patch status is not explicitly confirmed in the provided data; users should consult the official Linux kernel advisories or repositories for the patch and apply it accordingly.
Linux hwe edge: In the Linux kernel, the following vulnerability has been resolved: iio: buffer: hw-consumer: free scan_mask on buffer release The scan_mask… (CVE-2026-64498)
Description
In the Linux kernel, the following vulnerability has been resolved: iio: buffer: hw-consumer: free scan_mask on buffer release The scan_mask lifetime changed in commit 9a2e1233d38c ("iio: buffer: hw-consumer: remove redundant scan_mask flexible array"). Before that change, the scan mask storage was embedded in struct hw_consumer_buffer, so iio_hw_buf_release() could free the whole allocation with a single kfree(hw_buf). That commit moved the scan mask to a separate bitmap_zalloc() allocation stored in buffer.scan_mask, but left iio_hw_buf_release() unchanged. Free the scan mask in iio_hw_buf_release() before freeing the buffer wrapper.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability (CVE-2026-64498) in the Linux kernel's IIO subsystem involves improper memory management of the scan_mask bitmap in the hw-consumer buffer. A prior commit separated scan_mask into its own allocation, but the buffer release function (iio_hw_buf_release) did not free this allocation, causing a potential use-after-free or memory leak. The fix involves explicitly freeing the scan_mask bitmap before freeing the buffer wrapper, ensuring proper cleanup.
Potential Impact
Improper freeing of the scan_mask bitmap could lead to kernel memory corruption or leaks, potentially destabilizing the system or causing denial of service. No known exploits are reported in the wild. The vulnerability affects kernel stability and security but does not have a reported CVSS score or documented exploitation impact.
Mitigation Recommendations
A fix has been implemented in the Linux kernel source code to free the scan_mask bitmap on buffer release. Users should update to the fixed kernel version once available. Patch status is not explicitly confirmed in the provided data; users should consult the official Linux kernel advisories or repositories for the patch and apply it accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-vmjp-jvmv-9wwr
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64498"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a6542069c2644c7f8081d8f
Added to database: 07/25/2026, 23:08:54 UTC
Last enriched: 07/25/2026, 23:12:40 UTC
Last updated: 09/08/2026, 10:52:11 UTC
Views: 47
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.