{"id":21347,"date":"2026-09-12T04:31:04","date_gmt":"2026-09-11T20:31:04","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-81014"},"modified":"2026-09-12T04:31:04","modified_gmt":"2026-09-11T20:31:04","slug":"cve-2026-81014","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-81014","title":{"rendered":"CVE-2026-81014 &#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 in sk_store() and kek_store()<\/p>\n<p>sk_store() and kek_store() strip a trailing newline from the sysfs<br \/>\nwrite before allocating the key buffer:<\/p>\n<p>\tlength = count;<br \/>\n\tif (buf[length &#8211; 1] == &#8216;n&#8217;)<br \/>\n\t\tlength&#8211;;<br \/>\n\tbioscfg_drv.spm_data.signing_key = kmemdup(buf, length, GFP_KERNEL);<\/p>\n<p>but then pass the original &#8220;count&#8221; (not &#8220;length&#8221;) as the copy size to<br \/>\nhp_wmi_perform_query(), which memcpy()s that many bytes out of the<br \/>\n&#8220;length&#8221;-sized allocation, reading one byte past it whenever the write<br \/>\nends in a newline, the normal case for a shell &#8220;echo&#8221; into sysfs.<\/p>\n<p>KASAN confirms this directly:<\/p>\n<p>  BUG: KASAN: slab-out-of-bounds in hp_wmi_perform_query+0x1e9\/0x460 [hp_bioscfg]<br \/>\n  Read of size 28 at addr ffff88813c8e2b80 by task python3\/16022<br \/>\n  &#8230;<br \/>\n  sk_store+0xa7\/0x240 [hp_bioscfg]<br \/>\n  kernfs_fop_write_iter+0x3e1\/0x5d0<br \/>\n  &#8230;<br \/>\n  The buggy address is located 0 bytes inside of<br \/>\n  allocated 27-byte region [ffff88813c8e2b80, ffff88813c8e2b9b)<\/p>\n<p>Reproduced identically for kek_store, and at multiple write sizes<br \/>\n(28, 57, 201 bytes), each time reading exactly one byte past a<br \/>\nkmemdup() allocation one byte smaller than the write.<\/p>\n<p>Fix by passing &#8220;length&#8221; instead of &#8220;count&#8221; to hp_wmi_perform_query()<br \/>\nin both functions.<\/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 in sk_store() and kek_store()<\/p>\n<p>sk_store() and kek_store() strip a trailing newline from<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-21347","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/21347","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=21347"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21347"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21347"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}