{"id":26031,"date":"2026-09-18T04:32:15","date_gmt":"2026-09-17T20:32:15","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-93174"},"modified":"2026-09-18T04:32:15","modified_gmt":"2026-09-17T20:32:15","slug":"cve-2026-93174","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-93174","title":{"rendered":"CVE-2026-93174 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Copy per-CPU map"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>bpf: Copy per-CPU map value padding in copy_map_value_long()<\/p>\n<p>In kernel, per-CPU map elements are stored with<br \/>\nround_up(map-&gt;value_size, 8) bytes. On UAPI lookup paths, it copies the<br \/>\nrounded size for each CPU into a temporary buffer.<\/p>\n<p>However, copy_map_value_long() passes &#8216;map-&gt;value_size&#8217; to<br \/>\nbpf_obj_memcpy(). When the map has special fields, bpf_obj_memcpy() copies<br \/>\naround those fields with memcpy(), and does not copy the tail padding<br \/>\nbetween &#8216;map-&gt;value_size&#8217; and round_up(map-&gt;value_size, 8).<\/p>\n<p>The temporary UAPI lookup buffers are allocated without __GFP_ZERO. As a<br \/>\nresult, when the per-CPU map&#8217;s value size is not equal to<br \/>\nround_up(map-&gt;value_size, 8), UAPI LOOKUP_ELEM and its variants can return<br \/>\nstale heap contents from that padding to user space. The same issue<br \/>\napplies to bpf_iter for per-CPU maps.<\/p>\n<p>Pass round_up(map-&gt;value_size, 8) to bpf_obj_memcpy() from<br \/>\ncopy_map_value_long(), so per-CPU maps both with and without special<br \/>\nfields copy the entire per-CPU slot. Remove the now redundant round_up()<br \/>\nfrom bpf_obj_memcpy()&#8217;s long_memcpy path.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>bpf: Copy per-CPU map value padding in copy_map_value_long()<\/p>\n<p>In kernel, per-CPU map elements are stored with<br \/>\nround_up(map-&gt;value_s<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-26031","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/26031","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=26031"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=26031"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=26031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}