{"id":"CVE-2026-63930","published":"2026-07-19T14:55:30Z","modified":"2026-08-05T12:37:23Z","title":"iio: buffer: hw-consumer: fix use-after-free in error path","vendor":"Linux","product":"Linux","tier":"tail","description":{"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().","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00171,"percentile":0.03722,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/b71893c57730809c222766e5718bb33610f11963","tags":[]},{"url":"https://git.kernel.org/stable/c/2ff615fc455acda5425c4900160cbe11cfea4449","tags":[]},{"url":"https://git.kernel.org/stable/c/d2759d49860b9a39b5cde2fb88e4b822ddf5f58f","tags":[]},{"url":"https://git.kernel.org/stable/c/29783e6b6ec0b7152a15e53a063f17537e81177d","tags":[]},{"url":"https://git.kernel.org/stable/c/e965627f0d442bfcae3f496c90cb653fb0917a61","tags":[]},{"url":"https://git.kernel.org/stable/c/a3763ae33476328cf8d661742deb9daec78eac96","tags":[]},{"url":"https://git.kernel.org/stable/c/9319c94f63ed10723afd738d79f5617daba87cc8","tags":[]},{"url":"https://git.kernel.org/stable/c/6f5ed4f2c7c83f33344e0ba179f72a12e5dad4a4","tags":[]}],"priority":{"score":6.2,"factors":[{"name":"EPSS percentile","points":0.74},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, < b71893c57730809c222766e5718bb33610f11963",">= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, < 2ff615fc455acda5425c4900160cbe11cfea4449",">= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, < d2759d49860b9a39b5cde2fb88e4b822ddf5f58f",">= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, < 29783e6b6ec0b7152a15e53a063f17537e81177d",">= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, < e965627f0d442bfcae3f496c90cb653fb0917a61",">= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, < a3763ae33476328cf8d661742deb9daec78eac96",">= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, < 9319c94f63ed10723afd738d79f5617daba87cc8",">= 48b66f8f936f369bb1a43c12aedbfeb2975baf4c, < 6f5ed4f2c7c83f33344e0ba179f72a12e5dad4a4"]},{"vendor":"Linux","product":"Linux","versions":["4.16"]}],"euvd":{"id":"EUVD-2026-45703","exploited":false,"provenance":"source"}}