{"id":41149,"date":"2026-10-19T00:32:21","date_gmt":"2026-10-18T16:32:21","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98677"},"modified":"2026-10-19T00:32:21","modified_gmt":"2026-10-18T16:32:21","slug":"cve-2026-98677","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98677","title":{"rendered":"CVE-2026-98677 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: ad_sigma_de"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>iio: adc: ad_sigma_delta: fix use-after-free on unbind<\/p>\n<p>ad_sd_buffer_postenable() allocates sigma_delta-&gt;samples_buf with<br \/>\ndevm_krealloc() at runtime, so its devres entry sits after all<br \/>\nprobe-time entries of the driver. devm resources are released in<br \/>\nreverse allocation order, which means unbind frees samples_buf before<br \/>\niio_device_unregister() disables the buffers and detaches the trigger<br \/>\npollfunc. The data ready IRQ is still enabled at that point, so<br \/>\nad_sd_trigger_handler() can still run and memcpy() incoming samples<br \/>\ninto the freed samples_buf.<\/p>\n<p>Fix this by preallocating the buffer in<br \/>\ndevm_ad_sd_setup_buffer_and_trigger(), before the triggered buffer and<br \/>\nthe IRQ are set up, so it is freed only after iio_device_unregister()<br \/>\nhas drained the trigger handler via free_irq(). Size it for the worst<br \/>\ncase of all sequencer slots being active; ad_sd_validate_scan_mask()<br \/>\nalready caps the number of active channels at num_slots.<\/p>\n<p>This issue was found by an in-house static analysis tool.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>iio: adc: ad_sigma_delta: fix use-after-free on unbind<\/p>\n<p>ad_sd_buffer_postenable() allocates sigma_delta-&gt;samples_buf with<br \/>\ndevm_krea<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-41149","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/41149","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=41149"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=41149"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=41149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}