{"id":"CVE-2026-93135","aliases":["CVE-2026-93135"],"related":[],"kind":"vulnerability","state":"published","title":"bpf: Reject programs with inlined helpers if JIT is not available","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Reject programs with inlined helpers if JIT is not available\n\nWhen an architecture (such as LoongArch, ARM64, and RISC-V) implements\nbpf_jit_inlines_helper_call(), the verifier skips rewriting the helper\ncall offset (insn->imm) in bpf_do_misc_fixups(). This is because the\nhelper is expected to be inlined by the JIT compiler later. Therefore,\ninsn->imm remains as the raw helper enum ID.\n\nHowever, if JIT is disabled at runtime (net.core.bpf_jit_enable=0) or\nif JIT compilation fails dynamically (e.g., due to OOM), the program\nfalls back to the BPF interpreter.\n\nWhen the interpreter executes (__bpf_call_base + insn->imm) with the\nunpatched raw ID, it jumps into an invalid address space, triggering\nan instruction alignment fault or a kernel panic.\n\nAlthough these helpers have valid C implementations in the kernel, the\nomission of offset rewriting makes runtime interpreter fallback fatal.\n\nFix this by setting 'prog->jit_required = 1' when helper call rewriting\nis skipped for JIT inlining. This ensures that such programs are safely\nrejected if JIT is not available, preventing the runtime kernel panic.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Reject programs with inlined helpers if JIT is not available\n\nWhen an architecture (such as LoongArch, ARM64, and RISC-V) implements\nbpf_jit_inlines_helper_call(), the verifier skips rewriting the helper\ncall offset (insn->imm) in bpf_do_misc_fixups(). This is because the\nhelper is expected to be inlined by the JIT compiler later. Therefore,\ninsn->imm remains as the raw helper enum ID.\n\nHowever, if JIT is disabled at runtime (net.core.bpf_jit_enable=0) or\nif JIT compilation fails dynamically (e.g., due to OOM), the program\nfalls back to the BPF interpreter.\n\nWhen the interpreter executes (__bpf_call_base + insn->imm) with the\nunpatched raw ID, it jumps into an invalid address space, triggering\nan instruction alignment fault or a kernel panic.\n\nAlthough these helpers have valid C implementations in the kernel, the\nomission of offset rewriting makes runtime interpreter fallback fatal.\n\nFix this by setting 'prog->jit_required = 1' when helper call rewriting\nis skipped for JIT inlining. This ensures that such programs are safely\nrejected if JIT is not available, preventing the runtime kernel panic.","source":"cvelist"}],"published":"2026-09-17T16:11:36.771Z","modified":"2026-10-19T10:17:03.513Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"2ddec2c80b4402c293c7e6e0881cecaaf77e8cec","fixed":"21c6445366795fa3a89954e1d318e7c8afdef843","status":"affected"},{"type":"git","introduced":"2ddec2c80b4402c293c7e6e0881cecaaf77e8cec","fixed":"f1c27922576edccb99d0257827d09bd05c0304a6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.10","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/21c6445366795fa3a89954e1d318e7c8afdef843","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f1c27922576edccb99d0257827d09bd05c0304a6","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-93135","url":"https://www.cve.org/CVERecord?id=CVE-2026-93135","licence":"CVE Terms of Use","modified":"2026-10-19T09:06:08.106Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-93135","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93135","licence":"Public domain","modified":"2026-10-19T10:17:03.513Z"}],"updatedAt":"2026-11-25T22:59:39.464Z","epss":{"score":0.00198,"percentile":0.05456,"date":"2026-11-30T12:00:22.000Z"}}