CVE-2026-63930
iio: buffer: hw-consumer: fix use-after-free in error path
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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().
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
4.16
References 8
git.kernel.org
- stable/c/b71893c57730809c222766e5718bb33610f11963
- stable/c/2ff615fc455acda5425c4900160cbe11cfea4449
- stable/c/d2759d49860b9a39b5cde2fb88e4b822ddf5f58f
- stable/c/29783e6b6ec0b7152a15e53a063f17537e81177d
- stable/c/e965627f0d442bfcae3f496c90cb653fb0917a61
- stable/c/a3763ae33476328cf8d661742deb9daec78eac96
- stable/c/9319c94f63ed10723afd738d79f5617daba87cc8
- stable/c/6f5ed4f2c7c83f33344e0ba179f72a12e5dad4a4