{"id":3383,"date":"2026-09-04T04:59:40","date_gmt":"2026-09-03T20:59:40","guid":{"rendered":"https:\/\/www.54iter.cn\/?p=3383"},"modified":"2026-09-04T04:59:40","modified_gmt":"2026-09-03T20:59:40","slug":"cve-2026-80731","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-80731","title":{"rendered":"CVE-2026-80731 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nnet: remove CAP_SYS_R"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>net: remove CAP_SYS_RAWIO zero-padding in dev_validate_header<\/p>\n<p>dev_validate_header() reads dev-&gt;hard_header_len directly when<br \/>\nzero-padding short link layer headers for CAP_SYS_RAWIO holders:<\/p>\n<p>    if (capable(CAP_SYS_RAWIO)) {<br \/>\n        memset(ll_header + len, 0, dev-&gt;hard_header_len &#8211; len);<br \/>\n        return true;<br \/>\n    }<\/p>\n<p>Packet send paths call dev_validate_header() on skbs whose headroom was<br \/>\nallocated from an earlier hard_header_len read. If the device is<br \/>\nreconfigured so that dev-&gt;hard_header_len increases before validation,<br \/>\nthe memset writes past the reserved buffer, an out-of-bounds write.<\/p>\n<p>This out-of-bounds write is masked in some SOCK_RAW paths today because<br \/>\nthe same concurrent increase can first make skb_push() exceed the<br \/>\nreserved headroom and trigger skb_under_panic(). Remove the zero-padding<br \/>\nbranch before making those hard_header_len reads consistent, so the<br \/>\nsnapshot fixes do not turn a loud panic into a silent overwrite.<\/p>\n<p>This path is only reached for variable length L2 protocols, where<br \/>\nlen = min_header_len. No remaining in-tree<br \/>\nvariable length L2 protocol implements header_ops-&gt;validate, and the<br \/>\nCAP_SYS_RAWIO bypass that zero-pads and accepts short headers has no<br \/>\nreal value beyond allowing testing of intentionally malformed input.<\/p>\n<p>Drop the CAP_SYS_RAWIO branch. The remaining reads of<br \/>\ndev-&gt;hard_header_len in dev_validate_header() are comparisons only and<br \/>\nhave no memory safety impact.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>net: remove CAP_SYS_RAWIO zero-padding in dev_validate_header<\/p>\n<p>dev_validate_header() reads dev-&gt;hard_header_len directly when<br \/>\nzero-<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-3383","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/3383","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=3383"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3383"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}