In the Linux kernel, the following vulnerability has been resolved:
iio: buffer: hw-consumer: fix use-after-free in error path
In the errputbuffers cleanup path of iiohwconsumeralloc(), the code was using listforeachentry() to iterate through buffers while calling iiobufferput() which can free the current buffer if refcount drops to 0. The listforeach_entry() loop macro then evaluates buf->head.next to continue iteration, accessing the freed buffer.
Fix this by using listforeachentrysafe().
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63930.json",
"cna_assigner": "Linux"
}