{"id":"CVE-2026-64498","published":"2026-07-25T08:51:54Z","modified":"2026-08-17T04:56:47Z","title":"iio: buffer: hw-consumer: free scan_mask on buffer release","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00107,"percentile":0.01198,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/fb8e18f8ca724bd4de4643cad5b7c7230b9a5a71","tags":[]},{"url":"https://git.kernel.org/stable/c/6325d6e2204327965b849c0a16efb6ac9202e5a8","tags":[]}],"priority":{"score":0.2,"factors":[{"name":"EPSS percentile","points":0.24}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 9a2e1233d38c460ad07f36901931f3674a32d1ed, < fb8e18f8ca724bd4de4643cad5b7c7230b9a5a71",">= 9a2e1233d38c460ad07f36901931f3674a32d1ed, < 6325d6e2204327965b849c0a16efb6ac9202e5a8"]},{"vendor":"Linux","product":"Linux","versions":["7.1"]}],"euvd":{"id":"EUVD-2026-48842","exploited":false,"provenance":"source"}}