{"id":21345,"date":"2026-09-12T04:31:04","date_gmt":"2026-09-11T20:31:04","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-81012"},"modified":"2026-09-12T04:31:04","modified_gmt":"2026-09-11T20:31:04","slug":"cve-2026-81012","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-81012","title":{"rendered":"CVE-2026-81012 &#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 off-by-one write in hp_get_string_from_buffer()<\/p>\n<p>hp_get_string_from_buffer() clamps the converted string length against<br \/>\nthe destination buffer size with &#8220;size &gt; dst_size&#8221;, so when the<br \/>\nconverted length is exactly equal to dst_size, conv_dst_size is left<br \/>\nat dst_size and the unconditional NUL terminator write<\/p>\n<p>\tdst[conv_dst_size] = 0;<\/p>\n<p>lands one byte past the destination buffer. This is the same shape of<br \/>\nbug as the previously fixed off-by-one in hp_convert_hexstr_to_str():<br \/>\nthe buffer is sized correctly for the content, but the terminator<br \/>\nwrite is never checked against that size.<\/p>\n<p>Fix by changing the comparison to &#8220;&gt;=&#8221; so conv_dst_size is always left<br \/>\nwith room for the terminator.<\/p>\n<p>All fixed-size destinations that reach this function (path[512],<br \/>\ncurrent_value[512], current_password\/current_value[64], and the<br \/>\nper-entry buffers in encodings[][512] and prerequisites[][512]) are<br \/>\naffected.<\/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 off-by-one write in hp_get_string_from_buffer()<\/p>\n<p>hp_get_string_from_buffer() clamps the converted str<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-21345","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/21345","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=21345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}