{"id":"CVE-2026-63930","aliases":["CVE-2026-63930"],"related":[],"kind":"vulnerability","state":"published","title":"iio: buffer: hw-consumer: fix use-after-free in error path","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: buffer: hw-consumer: fix use-after-free in error path\n\nIn the err_put_buffers cleanup path of iio_hw_consumer_alloc(), the code\nwas using list_for_each_entry() to iterate through buffers while calling\niio_buffer_put() which can free the current buffer if refcount drops to 0.\nThe list_for_each_entry() loop macro then evaluates buf->head.next to\ncontinue iteration, accessing the freed buffer.\n\nFix this by using list_for_each_entry_safe().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: buffer: hw-consumer: fix use-after-free in error path\n\nIn the err_put_buffers cleanup path of iio_hw_consumer_alloc(), the code\nwas using list_for_each_entry() to iterate through buffers while calling\niio_buffer_put() which can free the current buffer if refcount drops to 0.\nThe list_for_each_entry() loop macro then evaluates buf->head.next to\ncontinue iteration, accessing the freed buffer.\n\nFix this by using list_for_each_entry_safe().","source":"cvelist"}],"published":"2026-07-19T14:55:30.016Z","modified":"2026-10-30T14:28:54.070Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"48b66f8f936f369bb1a43c12aedbfeb2975baf4c","fixed":"b71893c57730809c222766e5718bb33610f11963","status":"affected"},{"type":"git","introduced":"48b66f8f936f369bb1a43c12aedbfeb2975baf4c","fixed":"2ff615fc455acda5425c4900160cbe11cfea4449","status":"affected"},{"type":"git","introduced":"48b66f8f936f369bb1a43c12aedbfeb2975baf4c","fixed":"d2759d49860b9a39b5cde2fb88e4b822ddf5f58f","status":"affected"},{"type":"git","introduced":"48b66f8f936f369bb1a43c12aedbfeb2975baf4c","fixed":"29783e6b6ec0b7152a15e53a063f17537e81177d","status":"affected"},{"type":"git","introduced":"48b66f8f936f369bb1a43c12aedbfeb2975baf4c","fixed":"e965627f0d442bfcae3f496c90cb653fb0917a61","status":"affected"},{"type":"git","introduced":"48b66f8f936f369bb1a43c12aedbfeb2975baf4c","fixed":"a3763ae33476328cf8d661742deb9daec78eac96","status":"affected"},{"type":"git","introduced":"48b66f8f936f369bb1a43c12aedbfeb2975baf4c","fixed":"9319c94f63ed10723afd738d79f5617daba87cc8","status":"affected"},{"type":"git","introduced":"48b66f8f936f369bb1a43c12aedbfeb2975baf4c","fixed":"6f5ed4f2c7c83f33344e0ba179f72a12e5dad4a4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.16","status":"unaffected"},{"type":"semver","introduced":"5.10.259","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.210","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.176","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.143","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.93","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.35","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.12","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.16","fixed":"5.10.259"},{"status":"affected","introduced":"5.11","fixed":"5.15.210"},{"status":"affected","introduced":"5.16","fixed":"6.1.176"},{"status":"affected","introduced":"6.2","fixed":"6.6.143"},{"status":"affected","introduced":"6.7","fixed":"6.12.93"},{"status":"affected","introduced":"6.13","fixed":"6.18.35"},{"status":"affected","introduced":"6.19","fixed":"7.0.12"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/b71893c57730809c222766e5718bb33610f11963","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2ff615fc455acda5425c4900160cbe11cfea4449","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d2759d49860b9a39b5cde2fb88e4b822ddf5f58f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/29783e6b6ec0b7152a15e53a063f17537e81177d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e965627f0d442bfcae3f496c90cb653fb0917a61","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a3763ae33476328cf8d661742deb9daec78eac96","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9319c94f63ed10723afd738d79f5617daba87cc8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6f5ed4f2c7c83f33344e0ba179f72a12e5dad4a4","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-63930","url":"https://www.cve.org/CVERecord?id=CVE-2026-63930","licence":"CVE Terms of Use","modified":"2026-08-05T12:37:23.422Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-63930","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63930","licence":"Public domain","modified":"2026-10-30T14:28:54.070Z"}],"updatedAt":"2026-11-25T22:59:28.838Z","epss":{"score":0.00164,"percentile":0.05832,"date":"2026-12-01T12:00:22.000Z"}}