{"id":"CVE-2026-92519","summary":"riscv, bpf: Fix memory leak in bpf_jit_free","details":"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-\u003eis_func || extra_pass is false), keeping\nctx-\u003eoffset 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-\u003ectx.offset, which causes a\nmemory leak of the JIT context offsets array.\n\nFix this by adding the missing kfree(jit_data-\u003ectx.offset) in\nbpf_jit_free().","modified":"2026-09-19T03:47:30.943018819Z","published":"2026-09-17T16:10:26.791Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/92xxx/CVE-2026-92519.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2a3a29e90021806ea00527f6458cfd2edb58b42a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/369e4635d04801f394d5bd42556f21029e95ff93"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5cadc66b534fe8140441916200a20c7efb06a388"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b594c23f584ab032a5eae809eee81b809dd27330"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/92xxx/CVE-2026-92519.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-92519"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"48a8f78c50bd6f7f08fd40daa62252fd043f2f18"},{"fixed":"b594c23f584ab032a5eae809eee81b809dd27330"},{"fixed":"5cadc66b534fe8140441916200a20c7efb06a388"},{"fixed":"2a3a29e90021806ea00527f6458cfd2edb58b42a"},{"fixed":"369e4635d04801f394d5bd42556f21029e95ff93"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-92519.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.6.0"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.52"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-92519.json"}}],"schema_version":"1.9.0"}