{"vuln_id":"CVE-2026-64498","aliases":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: buffer: hw-consumer: free scan_mask on buffer release\n\nThe scan_mask lifetime changed in commit 9a2e1233d38c (\"iio: buffer:\nhw-consumer: remove redundant scan_mask flexible array\").\n\nBefore that change, the scan mask storage was embedded in struct\nhw_consumer_buffer, so iio_hw_buf_release() could free the whole\nallocation with a single kfree(hw_buf).\n\nThat commit moved the scan mask to a separate bitmap_zalloc() allocation\nstored in buffer.scan_mask, but left iio_hw_buf_release() unchanged.\n\nFree the scan mask in iio_hw_buf_release() before freeing the buffer\nwrapper.","published_at":"2026-07-25T10:17:35.753000Z","modified_at":"2026-11-18T19:00:44.603000Z","first_seen_at":"2026-11-21T19:15:46.384030Z","severity":"medium","severity_source":"nvd","cvss_score":5.5,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-401"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00107,"epss_percentile":0.01161,"nvd_status":"Analyzed","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-64498"},"matched_alias":null,"items":[{"id":3287,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"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 i…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: buffer: hw-consumer: free scan_mask on buffer release\n\nThe scan_mask lifetime changed in commit 9a2e1233d38c (\"iio: buffer:\nhw-consumer: remove redundant scan_mask flexible array\").\n\nBefore that change, the scan mask storage was embedded in struct\nhw_consumer_buffer, so iio_hw_buf_release() could free the whole\nallocation with a single kfree(hw_buf).\n\nThat commit moved the scan mask to a separate bitmap_zalloc() allocation\nstored in buffer.scan_mask, but left iio_hw_buf_release() unchanged.\n\nFree the scan mask in iio_hw_buf_release() before freeing the buffer\nwrapper.\n\nReferences:\nhttps://git.kernel.org/stable/c/6325d6e2204327965b849c0a16efb6ac9202e5a8\nhttps://git.kernel.org/stable/c/fb8e18f8ca724bd4de4643cad5b7c7230b9a5a71","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64498","published_at":"2026-07-25T10:17:35.753000Z","updated_at":"2026-11-18T19:00:44.603000Z","fetched_at":"2026-11-21T19:15:31.478876Z","severity":"medium","cvss_score":5.5,"epss":0.00107,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"linux","product":null,"vuln_id":"CVE-2026-64498","vuln_ids":["CVE-2026-64498"],"tags":["CWE-401"],"cluster_id":3378,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/3287","html":"https://vulnwatch.ve1ve2.com/item/3287"}}]}