CVE-2026-92519 (GCVE-0-2026-92519)
Vulnerability from cvelistv5
Published
2026-09-17 16:10
Modified
2026-10-21 12:51
Severity ?
Summary
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().
Impacted products
Vendor Product Version
Linux Linux Version: 48a8f78c50bd6f7f08fd40daa62252fd043f2f18
Version: 48a8f78c50bd6f7f08fd40daa62252fd043f2f18
Version: 48a8f78c50bd6f7f08fd40daa62252fd043f2f18
Version: 48a8f78c50bd6f7f08fd40daa62252fd043f2f18
Version: 48a8f78c50bd6f7f08fd40daa62252fd043f2f18
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "arch/riscv/net/bpf_jit_core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "7285f004293e7dc043c55369c0dbe8350b28cc45",
              "status": "affected",
              "version": "48a8f78c50bd6f7f08fd40daa62252fd043f2f18",
              "versionType": "git"
            },
            {
              "lessThan": "b594c23f584ab032a5eae809eee81b809dd27330",
              "status": "affected",
              "version": "48a8f78c50bd6f7f08fd40daa62252fd043f2f18",
              "versionType": "git"
            },
            {
              "lessThan": "5cadc66b534fe8140441916200a20c7efb06a388",
              "status": "affected",
              "version": "48a8f78c50bd6f7f08fd40daa62252fd043f2f18",
              "versionType": "git"
            },
            {
              "lessThan": "2a3a29e90021806ea00527f6458cfd2edb58b42a",
              "status": "affected",
              "version": "48a8f78c50bd6f7f08fd40daa62252fd043f2f18",
              "versionType": "git"
            },
            {
              "lessThan": "369e4635d04801f394d5bd42556f21029e95ff93",
              "status": "affected",
              "version": "48a8f78c50bd6f7f08fd40daa62252fd043f2f18",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "arch/riscv/net/bpf_jit_core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.6"
            },
            {
              "lessThan": "6.6",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.160",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.110",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.52",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.160",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.110",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.52",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.6",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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()."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-21T12:51:45.726Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/7285f004293e7dc043c55369c0dbe8350b28cc45"
        },
        {
          "url": "https://git.kernel.org/stable/c/b594c23f584ab032a5eae809eee81b809dd27330"
        },
        {
          "url": "https://git.kernel.org/stable/c/5cadc66b534fe8140441916200a20c7efb06a388"
        },
        {
          "url": "https://git.kernel.org/stable/c/2a3a29e90021806ea00527f6458cfd2edb58b42a"
        },
        {
          "url": "https://git.kernel.org/stable/c/369e4635d04801f394d5bd42556f21029e95ff93"
        }
      ],
      "title": "riscv, bpf: Fix memory leak in bpf_jit_free",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-92519",
    "datePublished": "2026-09-17T16:10:26.791Z",
    "dateReserved": "2026-09-16T12:21:13.874Z",
    "dateUpdated": "2026-10-21T12:51:45.726Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…