{"id":"CVE-2026-68285","published":"2026-08-10T12:02:18Z","modified":"2026-08-17T05:02:20Z","title":"LoongArch: BPF: Fix memory leak in bpf_jit_free()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: BPF: Fix memory leak in bpf_jit_free()\n\nWhen bpf_int_jit_compile() is called for subprograms, it returns early\nduring the first pass (!prog->is_func || extra_pass is false), keeping\nctx->offset alive for the subsequent extra pass.\n\nIf JIT compilation fails for a later subprogram, the BPF core aborts and\ncalls bpf_jit_free() to clean up the first subprogram. However,\nbpf_jit_free() fails to free jit_data->ctx.offset, which causes a memory\nleak of the JIT context offsets array.\n\nSo fix this by adding the missing kvfree(jit_data->ctx.offset) in\nbpf_jit_free().","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00198,"percentile":0.09427,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/f1557e0a64736b63aed24e285108a7bc3b7de294","tags":[]},{"url":"https://git.kernel.org/stable/c/47e20d4b3da97ef3881d1e55e43545c22424f3fc","tags":[]}],"priority":{"score":1.9,"factors":[{"name":"EPSS percentile","points":1.89}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 4ab17e762b34c847478f694932c4cd4b1ac2c343, < f1557e0a64736b63aed24e285108a7bc3b7de294",">= 4ab17e762b34c847478f694932c4cd4b1ac2c343, < 47e20d4b3da97ef3881d1e55e43545c22424f3fc"]},{"vendor":"Linux","product":"Linux","versions":["7.0"]}],"euvd":{"id":"EUVD-2026-55386","exploited":false,"provenance":"source"}}