In the Linux kernel, the following vulnerability has been resolved: powerpc/bpf: fix buffer overflow in JIT for large BPF programs During…
CVE-2026-138941
In the Linux kernel, the following vulnerability has been resolved: powerpc/bpf: fix buffer overflow in JIT for large BPF programs During size calculation in pass-0, exitaddr is 0 since addrs[fp->len] is not yet populated. bpfjitemitexitinsn() treats a zero exitaddr as in-range and skips bpfjitbuildepilogue(), so the alternate inline epilogue instructions are not counted in alloclen. In later passes, if the real exitaddr falls outside the 32MB branch range, the full inline epilogue is emitted into the already-allocated buffer, writing past its end and corrupting adjacent memory. Fix by ensuring exitaddr is non-zero before treating it as in-range, so pass-0 always falls through to bpfjitbuildepilogue() and conservatively accounts for all epilogue instructions in alloclen. Also range check altexitaddr directly in the else-if condition. Since exitaddr handling now falls through to the epilogue, two related issues in bpfintjitcompile() must also be addressed: 1. Reset cgctx.altexitaddr before the second size-calculation pass. Without this, a stale altexitaddr from the first pass causes the second pass to emit a single jump instead of the full epilogue, undercounting alloclen and…
Assessment
- CVSS
- Not yet scored
- Severity
- Unscored
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 30 November 2026
- Last updated
- 30 November 2026
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
At the source
References
- https://git.kernel.org/stable/c/033a1e4f56c29b4244d4f504f4b7704dfefa7afd
- https://git.kernel.org/stable/c/0e7ec5fe2fc914e611cd0f9cfeb76a17ffbf5d6f
- https://git.kernel.org/stable/c/3b9710e1d312bf0c3b48e1e1f121255ff3346e25
- https://git.kernel.org/stable/c/5d79818c18172beedb9e1121496ee15bd195ff93
- https://git.kernel.org/stable/c/78ce55b7913a78e1687306668e078b86bc6508ee
- https://git.kernel.org/stable/c/b17348a6187b348bc30b74dbc207b98c72dd7b26
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-138941