CVE-2026-63930
iio: buffer: hw-consumer: fix use-after-free in error path
Check your servers for CVE-2026-63930
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-63930 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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().
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.82% of all scored CVEs. Scores of 2 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, before b71893c57730809c222766e5718bb33610f11963 affected from 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, before 2ff615fc455acda5425c4900160cbe11cfea4449 affected from 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, before d2759d49860b9a39b5cde2fb88e4b822ddf5f58f affected from 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, before 29783e6b6ec0b7152a15e53a063f17537e81177d affected from 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, before e965627f0d442bfcae3f496c90cb653fb0917a61 affected from 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, before a3763ae33476328cf8d661742deb9daec78eac96 affected from 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, before 9319c94f63ed10723afd738d79f5617daba87cc8 affected from 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, before 6f5ed4f2c7c83f33344e0ba179f72a12e5dad4a4
Other versions: unaffected
|
| Linux |
affected 4.16 unaffected before 4.16 unaffected from 5.10.259 up to and including 5.10.* unaffected from 5.15.210 up to and including 5.15.* unaffected from 6.1.176 up to and including 6.1.* unaffected from 6.6.143 up to and including 6.6.* unaffected from 6.12.93 up to and including 6.12.* unaffected from 6.18.35 up to and including 6.18.* unaffected from 7.0.12 up to and including 7.0.* unaffected 7.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-63930 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-63930
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-63930
trivy image --scanners vuln IMAGE | grep CVE-2026-63930
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/b71893c57730809c222766e5718bb33610f11963 git.kernel.org
- https://git.kernel.org/stable/c/2ff615fc455acda5425c4900160cbe11cfea4449 git.kernel.org
- https://git.kernel.org/stable/c/d2759d49860b9a39b5cde2fb88e4b822ddf5f58f git.kernel.org
- https://git.kernel.org/stable/c/29783e6b6ec0b7152a15e53a063f17537e81177d git.kernel.org
- https://git.kernel.org/stable/c/e965627f0d442bfcae3f496c90cb653fb0917a61 git.kernel.org
- https://git.kernel.org/stable/c/a3763ae33476328cf8d661742deb9daec78eac96 git.kernel.org
- https://git.kernel.org/stable/c/9319c94f63ed10723afd738d79f5617daba87cc8 git.kernel.org
- https://git.kernel.org/stable/c/6f5ed4f2c7c83f33344e0ba179f72a12e5dad4a4 git.kernel.org
Source: the record CVE-2026-63930 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse