In the Linux kernel, the following vulnerability has been resolved:
iio: buffer: hw-consumer: free scan_mask on buffer release
The scanmask lifetime changed in commit 9a2e1233d38c ("iio: buffer: hw-consumer: remove redundant scanmask flexible array").
Before that change, the scan mask storage was embedded in struct hwconsumerbuffer, so iiohwbufrelease() could free the whole allocation with a single kfree(hwbuf).
That commit moved the scan mask to a separate bitmapzalloc() allocation stored in buffer.scanmask, but left iiohwbuf_release() unchanged.
Free the scan mask in iiohwbuf_release() before freeing the buffer wrapper.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64498.json"
}