{"id":21388,"date":"2026-09-12T04:31:07","date_gmt":"2026-09-11T20:31:07","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89466"},"modified":"2026-09-12T04:31:07","modified_gmt":"2026-09-11T20:31:07","slug":"cve-2026-89466","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89466","title":{"rendered":"CVE-2026-89466 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: qcom_b"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>power: supply: qcom_battmgr: terminate the strings from firmware<\/p>\n<p>The qcom_battmgr_sc8280xp_strcpy() takes a Pascal-style string when the<br \/>\nfirmware sends one. Otherwise it copies all BATTMGR_STRING_LEN bytes and<br \/>\nleaves the destination without a terminator.<\/p>\n<p>Those destinations are model_number, serial_number and oem_info, each<br \/>\nBATTMGR_STRING_LEN and declared next to each other. They go out to user<br \/>\nspace as val-&gt;strval, which power_supply_format_property() prints with<br \/>\n&#8220;%s&#8221;, so a firmware string that fills the whole field makes that read run<br \/>\ninto the following members.<\/p>\n<p>Use strscpy() so the copy always terminates, the way the SM8350 path<br \/>\nalready does for the same field.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>power: supply: qcom_battmgr: terminate the strings from firmware<\/p>\n<p>The qcom_battmgr_sc8280xp_strcpy() takes a Pascal-style string wh<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-21388","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/21388","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=21388"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21388"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}