{"id":79254,"date":"2026-06-03T21:46:28","date_gmt":"2026-06-03T18:16:28","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-46270-power-supply-rt9455-fix-use-after-free-in-power_supply_changed\/"},"modified":"2026-06-03T21:46:28","modified_gmt":"2026-06-03T18:16:28","slug":"cve-2026-46270-power-supply-rt9455-fix-use-after-free-in-power_supply_changed","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-46270-power-supply-rt9455-fix-use-after-free-in-power_supply_changed\/","title":{"rendered":"CVE-2026-46270 &#8211; power: supply: rt9455: Fix use-after-free in power_supply_changed()"},"content":{"rendered":"<p>CVE ID :CVE-2026-46270<\/p>\n<p>  Published : June 3, 2026, 6:16 p.m. | 16\u00a0minutes ago<\/p>\n<p>  Description :In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>power: supply: rt9455: Fix use-after-free in power_supply_changed()<\/p>\n<p>Using the `devm_` variant for requesting IRQ _before_ the `devm_`<br \/>\nvariant for allocating\/registering the `power_supply` handle, means that<br \/>\nthe `power_supply` handle will be deallocated\/unregistered _before_ the<br \/>\ninterrupt handler (since `devm_` naturally deallocates in reverse<br \/>\nallocation order). This means that during removal, there is a race<br \/>\ncondition where an interrupt can fire just _after_ the `power_supply`<br \/>\nhandle has been freed, *but* just _before_ the corresponding<br \/>\nunregistration of the IRQ handler has run.<\/p>\n<p>This will lead to the IRQ handler calling `power_supply_changed()` with<br \/>\na freed `power_supply` handle. Which usually crashes the system or<br \/>\notherwise silently corrupts the memory&#8230;<\/p>\n<p>Note that there is a similar situation which can also happen during<br \/>\n`probe()`; the possibility of an interrupt firing _before_ registering<br \/>\nthe `power_supply` handle. This would then lead to the nasty situation<br \/>\nof using the `power_supply` handle *uninitialized* in<br \/>\n`power_supply_changed()`.<\/p>\n<p>Fix this racy use-after-free by making sure the IRQ is requested _after_<br \/>\nthe registration of the `power_supply` handle.<\/p>\n<p>  Severity: 0.0 | NA<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-46270 Published : June 3, 2026, 6:16 p.m. | 16\u00a0minutes ago Description :In the Linux kernel, the following vulnerability has been resolved: power: supply: rt9455: Fix use-after-free in power_supply_changed() Using the `devm_` variant for requesting IRQ _before_ the `devm_` variant for allocating\/registering the `power_supply` handle, means that the `power_supply` handle will be deallocated\/unregistered &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-79254","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/79254","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=79254"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/79254\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=79254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=79254"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=79254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}