{"id":21397,"date":"2026-09-12T04:31:08","date_gmt":"2026-09-11T20:31:08","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89475"},"modified":"2026-09-12T04:31:08","modified_gmt":"2026-09-11T20:31:08","slug":"cve-2026-89475","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89475","title":{"rendered":"CVE-2026-89475 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: bq2425"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>power: supply: bq24257: fix use-after-free on remove<\/p>\n<p>The STAT-pin interrupt is devm-managed, so it stays armed until the devm<br \/>\ncleanup that runs after remove() returns. remove() cancels<br \/>\nbq-&gt;iilimit_setup_work while the threaded handler can still fire; that<br \/>\nhandler reschedules the work and dereferences bq, so the work runs<br \/>\nagainst freed memory once devm frees bq.<\/p>\n<p>Make the delayed work device-managed with devm_delayed_work_autocancel(),<br \/>\nregistered before the interrupt request. The devm cleanup then releases<br \/>\nthe interrupt first, so the handler can no longer reschedule the work,<br \/>\nand cancels the work before bq is freed. The explicit<br \/>\ncancel_delayed_work_sync() in remove() is no longer needed and is dropped.<\/p>\n<p>Found by static analysis.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>power: supply: bq24257: fix use-after-free on remove<\/p>\n<p>The STAT-pin interrupt is devm-managed, so it stays armed until the devm<br \/>\nclea<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-21397","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/21397","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=21397"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21397"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}