{"id":"CVE-2026-92519","revision":"b5a86890538046a9980634ff876314de","records":[{"revision":"b5a86890538046a9980634ff876314de","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-92519","aliases":[],"title":"riscv, bpf: Fix memory leak in bpf_jit_free","description":"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().","state":0,"publishedAt":"2026-09-17T16:10:26.791+00:00","modifiedAt":"2026-10-21T12:51:45.726+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"arch/riscv/net/bpf_jit_core.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"48a8f78c50bd6f7f08fd40daa62252fd043f2f18\",\n                            \"lessThan\": \"7285f004293e7dc043c55369c0dbe8350b28cc45\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"48a8f78c50bd6f7f08fd40daa62252fd043f2f18\",\n                            \"lessThan\": \"b594c23f584ab032a5eae809eee81b809dd27330\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"48a8f78c50bd6f7f08fd40daa62252fd043f2f18\",\n                            \"lessThan\": \"5cadc66b534fe8140441916200a20c7efb06a388\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"48a8f78c50bd6f7f08fd40daa62252fd043f2f18\",\n                            \"lessThan\": \"2a3a29e90021806ea00527f6458cfd2edb58b42a\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"48a8f78c50bd6f7f08fd40daa62252fd043f2f18\",\n                            \"lessThan\": \"369e4635d04801f394d5bd42556f21029e95ff93\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"arch/riscv/net/bpf_jit_core.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.6\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.6\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.160\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.110\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.52\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.6\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/7285f004293e7dc043c55369c0dbe8350b28cc45","https://git.kernel.org/stable/c/b594c23f584ab032a5eae809eee81b809dd27330","https://git.kernel.org/stable/c/5cadc66b534fe8140441916200a20c7efb06a388","https://git.kernel.org/stable/c/2a3a29e90021806ea00527f6458cfd2edb58b42a","https://git.kernel.org/stable/c/369e4635d04801f394d5bd42556f21029e95ff93"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-92519","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-92519","identifiers":["CVE-2026-92519"]},"retained":false,"historicalAffected":[]}],"coverage":[]}