CVE-2026-63930

iio: buffer: hw-consumer: fix use-after-free in error path

HIGH
7.8
CVSS Score
Published: July 19, 2026 at 02:55 PM UTC
Updated: October 30, 2026 at 02:28 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

Description

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().

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.16 ≤ v < 5.10.2595.11 ≤ v < 5.15.2105.16 ≤ v < 6.1.1766.13 ≤ v < 6.18.356.19 ≤ v < 7.0.126.2 ≤ v < 6.6.1436.7 ≤ v < 6.12.934.1648b66f8f936f369bb1a43c12aedbfeb2975baf4c7.1
Vendor states this is fixed in 29783e6b6ec0b7152a15e53a063f17537e81177d (fixed)
Vendor states this is fixed in 2ff615fc455acda5425c4900160cbe11cfea4449 (fixed)
Vendor states this is fixed in 6f5ed4f2c7c83f33344e0ba179f72a12e5dad4a4 (fixed)
Vendor states this is fixed in 9319c94f63ed10723afd738d79f5617daba87cc8 (fixed)
Vendor states this is fixed in a3763ae33476328cf8d661742deb9daec78eac96 (fixed)
Vendor states this is fixed in b71893c57730809c222766e5718bb33610f11963 (fixed)
Vendor states this is fixed in d2759d49860b9a39b5cde2fb88e4b822ddf5f58f (fixed)
Vendor states this is fixed in e965627f0d442bfcae3f496c90cb653fb0917a61 (fixed)
Vendor states this is fixed in 4.16 (unaffected)
Vendor states this is fixed in 5.10.259 (unaffected)
Vendor states this is fixed in 5.15.210 (unaffected)
Vendor states this is fixed in 6.1.176 (unaffected)
Vendor states this is fixed in 6.12.93 (unaffected)
Vendor states this is fixed in 6.18.35 (unaffected)
Vendor states this is fixed in 6.6.143 (unaffected)
Vendor states this is fixed in 7.0.12 (unaffected)
Vendor states this is fixed in 7.1 (unaffected)

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusANALYZED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card