{"id":21346,"date":"2026-09-12T04:31:04","date_gmt":"2026-09-11T20:31:04","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-81013"},"modified":"2026-09-12T04:31:04","modified_gmt":"2026-09-11T20:31:04","slug":"cve-2026-81013","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-81013","title":{"rendered":"CVE-2026-81013 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nplatform\/x86: hp-bios"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>platform\/x86: hp-bioscfg: fix heap OOB read on empty password write<\/p>\n<p>validate_password_input() computes length = strlen(buf) and then<br \/>\nchecks buf[length &#8211; 1] to strip a trailing newline, without checking<br \/>\nthat length is nonzero first. Writing an empty string (a bare &#8216;n&#8217;)<br \/>\nto current_password or new_password gives length == 0, and<br \/>\nbuf[length &#8211; 1] reads buf[-1], one byte before the heap allocation<br \/>\nholding the copied input.<\/p>\n<p>KASAN confirms this directly:<\/p>\n<p>  BUG: KASAN: slab-out-of-bounds in store_password_instance.constprop.0+0x223\/0x2a0 [hp_bioscfg]<br \/>\n  Read of size 1 at addr ffff88811bd8da9f by task sh\/13740<br \/>\n  &#8230;<br \/>\n  store_password_instance.constprop.0+0x223\/0x2a0 [hp_bioscfg]<br \/>\n  current_password_store+0x14\/0x20 [hp_bioscfg]<br \/>\n  &#8230;<br \/>\n  The buggy address is located 23 bytes to the right of<br \/>\n  allocated 8-byte region [ffff88811bd8da80, ffff88811bd8da88)<\/p>\n<p>Reproduced identically via new_password_store. Execution continues<br \/>\npast the bad read (the garbage byte only affects whether &#8220;length&#8221; is<br \/>\ndecremented by one), so the write completes and returns success; this<br \/>\nis a pure information read past the buffer, not a crash, but it is<br \/>\nstill an out-of-bounds access KASAN correctly flags.<\/p>\n<p>Fix by only checking buf[length &#8211; 1] when length is nonzero.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>platform\/x86: hp-bioscfg: fix heap OOB read on empty password write<\/p>\n<p>validate_password_input() computes length = strlen(buf) and th<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-21346","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/21346","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=21346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}