{"id":6714,"date":"2026-09-04T18:49:14","date_gmt":"2026-09-04T10:49:14","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-68462"},"modified":"2026-09-04T18:49:14","modified_gmt":"2026-09-04T10:49:14","slug":"cve-2026-68462","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-68462","title":{"rendered":"CVE-2026-68462 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Reject negative"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>bpf: Reject negative const offsets for buffer pointers<\/p>\n<p>The verifier rejects variable offsets for PTR_TO_TP_BUFFER and PTR_TO_BUF<br \/>\naccesses, but it currently accepts a constant negative offset produced by<br \/>\npointer arithmetic.<\/p>\n<p>Commit 022ac0750883 (&#8220;bpf: use reg-&gt;var_off instead of reg-&gt;off for<br \/>\npointers&#8221;) moved constant pointer offsets from reg-&gt;off to reg-&gt;var_off.<br \/>\nHowever, __check_buffer_access() continued to check only the instruction<br \/>\noffset. An access with reg-&gt;var_off equal to -8 and an instruction offset<br \/>\nof zero therefore passes verification.<\/p>\n<p>For writable raw tracepoints, the access end is also calculated from the<br \/>\nunsigned reg-&gt;var_off.value. An eight-byte access starting at -8 wraps<br \/>\nthe calculated end to zero, allowing the program to load and attach<br \/>\nwithout increasing max_tp_access.<\/p>\n<p>After ensuring that reg-&gt;var_off is constant, calculate the effective<br \/>\naccess start using signed arithmetic and reject it when it is negative.<br \/>\nUse the validated start to calculate the access end for both<br \/>\nPTR_TO_TP_BUFFER and PTR_TO_BUF.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>bpf: Reject negative const offsets for buffer pointers<\/p>\n<p>The verifier rejects variable offsets for PTR_TO_TP_BUFFER and PTR_TO_BUF<br \/>\na<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-6714","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/6714","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=6714"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6714"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6714"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}