CVE-2026-63930
HIGH 7.8CVSS 3.1In 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().
- Published
- 19 Jul 2026
- Last modified
- 30 Oct 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Analyzed
- Weakness
- CWE-416
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.16, < 5.10.259 | 5.10.259 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.11, < 5.15.210 | 5.15.210 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.16, < 6.1.176 | 6.1.176 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.2, < 6.6.143 | 6.6.143 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.7, < 6.12.93 | 6.12.93 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.13, < 6.18.35 | 6.18.35 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.19, < 7.0.12 | 7.0.12 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* |
= 7.1 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* |
= 7.1 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:* |
= 7.1 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:* |
= 7.1 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:* |
= 7.1 |
References
- https://git.kernel.org/stable/c/29783e6b6ec0b7152a15e53a063f17537e81177d · Patch
- https://git.kernel.org/stable/c/2ff615fc455acda5425c4900160cbe11cfea4449 · Patch
- https://git.kernel.org/stable/c/6f5ed4f2c7c83f33344e0ba179f72a12e5dad4a4 · Patch
- https://git.kernel.org/stable/c/9319c94f63ed10723afd738d79f5617daba87cc8 · Patch
- https://git.kernel.org/stable/c/a3763ae33476328cf8d661742deb9daec78eac96 · Patch
- https://git.kernel.org/stable/c/b71893c57730809c222766e5718bb33610f11963 · Patch
- https://git.kernel.org/stable/c/d2759d49860b9a39b5cde2fb88e4b822ddf5f58f · Patch
- https://git.kernel.org/stable/c/e965627f0d442bfcae3f496c90cb653fb0917a61 · Patch
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 19 Jul 2026)