CVE-2026-68285
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
10/08/2026
Last modified:
17/08/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
LoongArch: BPF: Fix memory leak in bpf_jit_free()<br />
<br />
When bpf_int_jit_compile() is called for subprograms, it returns early<br />
during the first pass (!prog->is_func || extra_pass is false), keeping<br />
ctx->offset alive for the subsequent extra pass.<br />
<br />
If JIT compilation fails for a later subprogram, the BPF core aborts and<br />
calls bpf_jit_free() to clean up the first subprogram. However,<br />
bpf_jit_free() fails to free jit_data->ctx.offset, which causes a memory<br />
leak of the JIT context offsets array.<br />
<br />
So fix this by adding the missing kvfree(jit_data->ctx.offset) in<br />
bpf_jit_free().



