bpf: Fix overflow of jump offset in may_goto expansion

Summary

CVECVE-2026-139622
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:19:45 UTC
Updated2026-11-30 14:19:45 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: bpf: Fix overflow of jump offset in may_goto expansion may_goto is expanded into 'if AX == 0 goto off + 5' when it's timed, off + 2 when it's not and off - 1 when it jumps backward. The sum is stored into 16-bit off without a range check, so may_goto +32763 turns into: if r12 == 0x0 goto pc-32768 and the prog jumps backward when may_goto expires. Emit 'if AX != 0 goto +1; gotol' when the offset doesn't fit and compute the offset from the number of insns in the expansion. JITs that don't support gotol will reject such prog.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 011832b97b311bb9e3c27945bc0d1089a14209c9 90bf9ec4c063f478a0a822f664b819eb0a7b4a00 git Not specified
CNA Linux Linux affected 011832b97b311bb9e3c27945bc0d1089a14209c9 cd6f4f06637dff4df789ff733585c93ddbec8fb8 git Not specified
CNA Linux Linux affected 011832b97b311bb9e3c27945bc0d1089a14209c9 65014bb72d9ad73118ca2fe1936e1847b4556762 git Not specified
CNA Linux Linux affected 011832b97b311bb9e3c27945bc0d1089a14209c9 8a12a00f6c5dba70a6d908fe27a3c980d42b9515 git Not specified
CNA Linux Linux affected 6.9 Not specified
CNA Linux Linux unaffected 6.9 semver Not specified
CNA Linux Linux unaffected 6.12.120 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.66 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.6 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/65014bb72d9ad73118ca2fe1936e1847b4556762 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/90bf9ec4c063f478a0a822f664b819eb0a7b4a00 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/cd6f4f06637dff4df789ff733585c93ddbec8fb8 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8a12a00f6c5dba70a6d908fe27a3c980d42b9515 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report