In the Linux kernel, the following vulnerability has been resolved:
LoongArch: BPF: Fix memory leak in bpfjitfree()
When bpfintjitcompile() is called for subprograms, it returns early during the first pass (!prog->isfunc || extra_pass is false), keeping ctx->offset alive for the subsequent extra pass.
If JIT compilation fails for a later subprogram, the BPF core aborts and calls bpfjitfree() to clean up the first subprogram. However, bpfjitfree() fails to free jit_data->ctx.offset, which causes a memory leak of the JIT context offsets array.
So fix this by adding the missing kvfree(jitdata->ctx.offset) in bpfjit_free().
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68285.json",
"cna_assigner": "Linux"
}