{"id":"CVE-2026-92519","aliases":["CVE-2026-92519"],"related":[],"kind":"vulnerability","state":"published","title":"riscv, bpf: Fix memory leak in bpf_jit_free","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nriscv, 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\nand calls bpf_jit_free() to clean up the first subprogram. However,\nbpf_jit_free() fails to free jit_data->ctx.offset, which causes a\nmemory leak of the JIT context offsets array.\n\nFix this by adding the missing kfree(jit_data->ctx.offset) in\nbpf_jit_free().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nriscv, 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\nand calls bpf_jit_free() to clean up the first subprogram. However,\nbpf_jit_free() fails to free jit_data->ctx.offset, which causes a\nmemory leak of the JIT context offsets array.\n\nFix this by adding the missing kfree(jit_data->ctx.offset) in\nbpf_jit_free().","source":"cvelist"}],"published":"2026-09-17T16:10:26.791Z","modified":"2026-10-21T13:20:58.530Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"48a8f78c50bd6f7f08fd40daa62252fd043f2f18","fixed":"7285f004293e7dc043c55369c0dbe8350b28cc45","status":"affected"},{"type":"git","introduced":"48a8f78c50bd6f7f08fd40daa62252fd043f2f18","fixed":"b594c23f584ab032a5eae809eee81b809dd27330","status":"affected"},{"type":"git","introduced":"48a8f78c50bd6f7f08fd40daa62252fd043f2f18","fixed":"5cadc66b534fe8140441916200a20c7efb06a388","status":"affected"},{"type":"git","introduced":"48a8f78c50bd6f7f08fd40daa62252fd043f2f18","fixed":"2a3a29e90021806ea00527f6458cfd2edb58b42a","status":"affected"},{"type":"git","introduced":"48a8f78c50bd6f7f08fd40daa62252fd043f2f18","fixed":"369e4635d04801f394d5bd42556f21029e95ff93","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.6","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","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/7285f004293e7dc043c55369c0dbe8350b28cc45","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b594c23f584ab032a5eae809eee81b809dd27330","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5cadc66b534fe8140441916200a20c7efb06a388","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2a3a29e90021806ea00527f6458cfd2edb58b42a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/369e4635d04801f394d5bd42556f21029e95ff93","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-92519","url":"https://www.cve.org/CVERecord?id=CVE-2026-92519","licence":"CVE Terms of Use","modified":"2026-10-21T12:51:45.726Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-92519","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-92519","licence":"Public domain","modified":"2026-10-21T13:20:58.530Z"}],"updatedAt":"2026-11-25T22:59:39.431Z","epss":{"score":0.00209,"percentile":0.06344,"date":"2026-11-29T12:00:22.000Z"}}