Description
In the Linux kernel, the following vulnerability has been resolved:

riscv, bpf: Fix memory leak in bpf_jit_free

When bpf_int_jit_compile() is called for subprograms, it returns early
during the first pass (!prog->is_func || extra_pass is false), keeping
ctx->offset alive for the subsequent extra pass.

If JIT compilation fails for a later subprogram, the BPF core aborts
and calls bpf_jit_free() to clean up the first subprogram. However,
bpf_jit_free() fails to free jit_data->ctx.offset, which causes a
memory leak of the JIT context offsets array.

Fix this by adding the missing kfree(jit_data->ctx.offset) in
bpf_jit_free().
Published: 2026-09-17
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: Memory Leak leading to Availability Impact
Action: Immediate Patch
AI Analysis

Impact

A memory leak was discovered in the Linux kernel’s Berkeley Packet Filter (BPF) just-in-time (JIT) compiler. The bug occurs when JIT compilation of a subprogram fails after a successful first pass; the cleanup routine bpf_jit_free fails to release the jit_data->ctx.offset array. Repeated failures therefore cause the offsets array to remain allocated, incrementally consuming kernel memory. While the defect does not grant an attacker direct code execution, it can lead to resource exhaustion and potentially a denial‑of‑service condition if memory usage grows unchecked.

Affected Systems

All Linux kernel releases that contain the unpatched BPF JIT implementation are affected. The exact kernel version range is not specified in the advisory, so any system running a current kernel prior to the patch should be considered vulnerable.

Risk and Exploitability

The EPSS score is below 1 %, indicating a very low probability of exploitation. The CVSS score is not provided, but the vulnerability’s impact is limited to a gradual memory leak that could overwhelm the system over time. It is not listed in the CISA KEV catalog, and no public exploit is known. The likely attack vector is a local or remote user with permission to program BPF programs that trigger repeated JIT compilation failures. Given the low exploitation probability, monitoring and applying the patch remain the most prudent measures.

Generated by OpenCVE AI on September 19, 2026 at 06:18 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the kernel update that contains the bpf_jit_free memory‑free patch
  • Reboot the system to ensure the updated kernel is in use
  • Limit or audit the use of BPF programs that trigger expensive JIT compilation, especially in environments where memory resources are constrained

Generated by OpenCVE AI on September 19, 2026 at 06:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6528-1 linux security update
History

Sat, 19 Sep 2026 06:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Thu, 17 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: riscv, bpf: Fix memory leak in bpf_jit_free When bpf_int_jit_compile() is called for subprograms, it returns early during the first pass (!prog->is_func || extra_pass is false), keeping ctx->offset alive for the subsequent extra pass. If JIT compilation fails for a later subprogram, the BPF core aborts and calls bpf_jit_free() to clean up the first subprogram. However, bpf_jit_free() fails to free jit_data->ctx.offset, which causes a memory leak of the JIT context offsets array. Fix this by adding the missing kfree(jit_data->ctx.offset) in bpf_jit_free().
Title riscv, bpf: Fix memory leak in bpf_jit_free
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-17T16:10:26.791Z

Reserved: 2026-09-16T12:21:13.874Z

Link: CVE-2026-92519

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-17T17:17:54.787

Modified: 2026-09-17T17:17:54.787

Link: CVE-2026-92519

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-19T17:30:07Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime