# CVE-2026-63930: iio: buffer: hw-consumer: fix use-after-free in error path

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 6, 2026-12-04)
- **CWE:** CWE-416
- **Published:** 2026-07-19T14:55:30.016Z
- **Modified:** 2026-10-30T14:28:54.070Z

## Who should check

- Anyone running Linux \>= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, \< b71893c57730809c222766e5718bb33610f11963; \>= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, \< 2ff615fc455acda5425c4900160cbe11cfea4449; \>= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, \< d2759d49860b9a39b5cde2fb88e4b822ddf5f58f; \>= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, \< 29783e6b6ec0b7152a15e53a063f17537e81177d; \>= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, \< e965627f0d442bfcae3f496c90cb653fb0917a61; \>= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, \< a3763ae33476328cf8d661742deb9daec78eac96; \>= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, \< 9319c94f63ed10723afd738d79f5617daba87cc8; \>= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, \< 6f5ed4f2c7c83f33344e0ba179f72a12e5dad4a4
- Anyone running Linux 4.16

## 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 and fixed versions

- Linux: \>= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, \< b71893c57730809c222766e5718bb33610f11963; \>= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, \< 2ff615fc455acda5425c4900160cbe11cfea4449; \>= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, \< d2759d49860b9a39b5cde2fb88e4b822ddf5f58f; \>= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, \< 29783e6b6ec0b7152a15e53a063f17537e81177d; \>= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, \< e965627f0d442bfcae3f496c90cb653fb0917a61; \>= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, \< a3763ae33476328cf8d661742deb9daec78eac96; \>= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, \< 9319c94f63ed10723afd738d79f5617daba87cc8; \>= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, \< 6f5ed4f2c7c83f33344e0ba179f72a12e5dad4a4 (cvelist)
- Linux: 4.16 (cvelist)

## Mitigation

- Upgrade Linux to 6f5ed4f2c7c83f33344e0ba179f72a12e5dad4a4 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-63930. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-63930.md
Affected: Linux >= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, < b71893c57730809c222766e5718bb33610f11963; >= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, < 2ff615fc455acda5425c4900160cbe11cfea4449; >= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, < d2759d49860b9a39b5cde2fb88e4b822ddf5f58f; >= 48b66f8f936f369bb1a43c1…
Fixed in: Linux 2ff615fc455acda5425c4900160cbe11cfea4449, Linux 29783e6b6ec0b7152a15e53a063f17537e81177d, Linux 9319c94f63ed10723afd738d79f5617daba87cc8, Linux 6f5ed4f2c7c83f33344e0ba179f72a12e5dad4a4

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-63930 being exploited?

There is no confirmed exploitation: CVE-2026-63930 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-12-04).

### How serious is CVE-2026-63930?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-63930?

Linux \>= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, \< b71893c57730809c222766e5718bb33610f11963; \>= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, \< 2ff615fc455acda5425c4900160cbe11cfea4449; \>= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, \< d2759d49860b9a39b5cde2fb88e4b822ddf5f58f; \>= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, \< 29783e6b6ec0b7152a15e53a063f17537e81177d; \>= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, \< e965627f0d442bfcae3f496c90cb653fb0917a61; \>= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, \< a3763ae33476328cf8d661742deb9daec78eac96; \>= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, \< 9319c94f63ed10723afd738d79f5617daba87cc8; \>= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, \< 6f5ed4f2c7c83f33344e0ba179f72a12e5dad4a4; Linux 4.16.

### Is there a fix for CVE-2026-63930?

Yes. Fixed in Linux 2ff615fc455acda5425c4900160cbe11cfea4449, Linux 29783e6b6ec0b7152a15e53a063f17537e81177d, Linux 9319c94f63ed10723afd738d79f5617daba87cc8, Linux 6f5ed4f2c7c83f33344e0ba179f72a12e5dad4a4. Upgrade Linux to 6f5ed4f2c7c83f33344e0ba179f72a12e5dad4a4 or later.

### How do I check if I'm affected by CVE-2026-63930?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/b71893c57730809c222766e5718bb33610f11963>
- patch: <https://git.kernel.org/stable/c/2ff615fc455acda5425c4900160cbe11cfea4449>
- patch: <https://git.kernel.org/stable/c/d2759d49860b9a39b5cde2fb88e4b822ddf5f58f>
- patch: <https://git.kernel.org/stable/c/29783e6b6ec0b7152a15e53a063f17537e81177d>
- patch: <https://git.kernel.org/stable/c/e965627f0d442bfcae3f496c90cb653fb0917a61>
- patch: <https://git.kernel.org/stable/c/a3763ae33476328cf8d661742deb9daec78eac96>
- patch: <https://git.kernel.org/stable/c/9319c94f63ed10723afd738d79f5617daba87cc8>
- patch: <https://git.kernel.org/stable/c/6f5ed4f2c7c83f33344e0ba179f72a12e5dad4a4>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-63930>

HTML: <https://flawdb.com/CVE-2026-63930> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-63930>
