{"id":24629,"date":"2026-09-16T20:32:34","date_gmt":"2026-09-16T12:32:34","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89942"},"modified":"2026-09-16T20:32:34","modified_gmt":"2026-09-16T12:32:34","slug":"cve-2026-89942","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89942","title":{"rendered":"CVE-2026-89942 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\niio: buffer: Fix pote"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>iio: buffer: Fix potential use-after-free in anonymous buffer release<\/p>\n<p>An anonymous buffer handle holds a reference to the underlying IIO device.<br \/>\nThe reference is dropped in the buffer handle&#8217;s release function. If the<br \/>\ndevice has been removed, either through unbind or hot-unplug, the buffer<br \/>\nhandle might hold the last reference.<\/p>\n<p>The release function takes the mutex for the buffer using a guard, which<br \/>\nmeans the unlock happens after all the code in the function, including<br \/>\n`iio_device_put()`. If the anonymous buffer holds the last reference this<br \/>\nmight free both the IIO device and the buffer, which contains the mutex,<br \/>\nleading to use-after-free when the mutex is unlocked.<\/p>\n<p>Fix this by using a scoped guard just around the buffer dmabuf list access,<br \/>\nmaking sure the mutex is unlocked before releasing the IIO device.<\/p>\n<p>Version 10 of the patch that introduced this issue used this exact scheme<br \/>\nof first unlocking and then dropping the reference [1]. During review it<br \/>\nwas suggested to use a guard instead, and version 11 made that change [2].<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>iio: buffer: Fix potential use-after-free in anonymous buffer release<\/p>\n<p>An anonymous buffer handle holds a reference to the underlyi<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-24629","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/24629","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=24629"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=24629"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=24629"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}