{"id":7204,"date":"2026-09-04T18:49:28","date_gmt":"2026-09-04T10:49:28","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-74269"},"modified":"2026-09-04T18:49:28","modified_gmt":"2026-09-04T10:49:28","slug":"cve-2026-74269","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-74269","title":{"rendered":"CVE-2026-74269 [CRITICAL] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nbnxt: fix head underf"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>bnxt: fix head underflow on XDP head-grow<\/p>\n<p>The xdp.py test test_xdp_native_adjst_head_grow_data crashes when run on<br \/>\na bnxt machine (and also crashes in NIPA).<\/p>\n<p>It seems that the bug is an underflow in bnxt_rx_multi_page_skb, which<br \/>\nbuilds the skb head:<\/p>\n<p>  napi_build_skb(data_ptr &#8211; bp-&gt;rx_offset, rxr-&gt;rx_page_size);<\/p>\n<p>The problem with this expression is that in page mode, rx_offset is:<\/p>\n<p>  bp-&gt;rx_offset = NET_IP_ALIGN + XDP_PACKET_HEADROOM;<\/p>\n<p>Which evaluates (at least on x86_64) to 258.<\/p>\n<p>The test test_xdp_native_adjst_head_grow_data tests a case where the<br \/>\nhead is adjusted by -256.<\/p>\n<p>When this test runs, data_ptr is shifted to frag_start + 2 (where<br \/>\nfrag_start = page_address(page) + offset).<\/p>\n<p>Then, bnxt_rx_multi_page_skb is invoked and the napi_build_skb<br \/>\nexpression subtracts 258, landing at an address before frag_start. This<br \/>\ncould be either the previous fragment or the previous physical page when<br \/>\nthe offset is = 64k, but it unintentionally broke the head grow<br \/>\ncase.<\/p>\n<p>To fix this, add an offset field to struct bnxt_sw_rx_bd, mirroring the<br \/>\nexisting offset field in struct bnxt_sw_rx_agg_bd. Populate it on<br \/>\nallocation and preserve it on reuse.<\/p>\n<p>In bnxt_rx_multi_page_skb, use the newly added offset field to compute<br \/>\nthe fragment start and pass that to napi_build_skb. Adjust the layout<br \/>\nwith skb_reserve.<\/p>\n<p>There are two cases, the non-adjustment case and the adjustment case.<\/p>\n<p>In both cases, the skb is built at page_address(page) + offset to<br \/>\naccount for the case where the native page size &gt;= 64K and skb_reserve<br \/>\nis called with data_ptr &#8211; (page_address(page) + offset). That<br \/>\ndifference equals bp-&gt;rx_offset when data_ptr was not moved, or<br \/>\nbp-&gt;rx_offset + xdp_adjust when XDP adjusted the head.<\/p>\n<p>Re-running the failing test with this commit applied causes the test to<br \/>\nrun successfully to completion.<\/p>\n<p>The other rx_skb_func implementations don&#8217;t have this issue.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>bnxt: fix head underflow on XDP head-grow<\/p>\n<p>The xdp.py test test_xdp_native_adjst_head_grow_data crashes when run on<br \/>\na bnxt machine <\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-7204","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/7204","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=7204"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7204"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}