PT-2026-61247 · Linux · Linux

CVE-2026-63930

·

Published

2026-07-19

·

Updated

2026-07-19

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
In the Linux kernel, the following vulnerability has been resolved:
iio: buffer: hw-consumer: fix use-after-free in error path
In the err put buffers cleanup path of iio hw consumer alloc(), the code was using list for each entry() to iterate through buffers while calling iio buffer put() which can free the current buffer if refcount drops to 0. The list for each entry() loop macro then evaluates buf->head.next to continue iteration, accessing the freed buffer.
Fix this by using list for each entry safe().

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

CVE-2026-63930

Affected Products

Linux