CVE-2026-92518 (GCVE-0-2026-92518)

Vulnerability from cvelistv5 – Published: 2026-09-17 16:10 – Updated: 2026-10-19 09:04
VLAI
Title
riscv, bpf: Fix kernel stack corruption in tailcall with CFI
Summary
In the Linux kernel, the following vulnerability has been resolved: riscv, bpf: Fix kernel stack corruption in tailcall with CFI When CONFIG_CFI_CLANG is enabled, prog->bpf_func already skips the kcfi instruction during setup. Including it again in the tailcall jump offset causes it to jump over an extra 4 bytes, skipping the stack pointer adjustment, which will result in kernel stack corruption.
Assigner
Linux CNA under the mitre root
CNA scorecard D 53/100 over 6641 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 30a59cc79754fd9ff3f41b7ee2eb21da85988548 , < 34b1bb33a025787e05f966e74de18cd36276f801 (git)
Affected: 30a59cc79754fd9ff3f41b7ee2eb21da85988548 , < a6e11a81da3420fd37f1518d4f238c4d5784086e (git)
Affected: 30a59cc79754fd9ff3f41b7ee2eb21da85988548 , < 52fb1756ea1d2759dfef2d86245be00b05dac3a2 (git)
Affected: fe5b68fdcec0f3d97a32f4c4acfef59cf90718f7 (git)
Affected: 6.11.6 , < 6.12 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 6.12
Unaffected: 0 , < 6.12 (semver)
Unaffected: 6.18.52 , ≤ 6.18.* (semver)
Unaffected: 7.2.6 , ≤ 7.2.* (semver)
Unaffected: 7.3 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "arch/riscv/net/bpf_jit_comp64.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "34b1bb33a025787e05f966e74de18cd36276f801",
              "status": "affected",
              "version": "30a59cc79754fd9ff3f41b7ee2eb21da85988548",
              "versionType": "git"
            },
            {
              "lessThan": "a6e11a81da3420fd37f1518d4f238c4d5784086e",
              "status": "affected",
              "version": "30a59cc79754fd9ff3f41b7ee2eb21da85988548",
              "versionType": "git"
            },
            {
              "lessThan": "52fb1756ea1d2759dfef2d86245be00b05dac3a2",
              "status": "affected",
              "version": "30a59cc79754fd9ff3f41b7ee2eb21da85988548",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "fe5b68fdcec0f3d97a32f4c4acfef59cf90718f7",
              "versionType": "git"
            },
            {
              "lessThan": "6.12",
              "status": "affected",
              "version": "6.11.6",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "arch/riscv/net/bpf_jit_comp64.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.12"
            },
            {
              "lessThan": "6.12",
              "status": "unaffected",
              "version": "0",
              "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.18.52",
                  "versionStartIncluding": "6.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.6",
                  "versionStartIncluding": "6.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "6.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.11.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 kernel stack corruption in tailcall with CFI\n\nWhen CONFIG_CFI_CLANG is enabled, prog-\u003ebpf_func already skips the kcfi\ninstruction during setup. Including it again in the tailcall jump offset\ncauses it to jump over an extra 4 bytes, skipping the stack pointer\nadjustment, which will result in kernel stack corruption."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The attacker-controlled input is a BPF program that uses bpf_tail_call, loaded via bpf(BPF_PROG_LOAD) in __sys_bpf(). emit_bpf_tail_call() then calls __build_epilogue(true), which emits the miscomputed jalr; no remote protocol carries that bytecode.\nAC:L - On CONFIG_CFI, bpf_int_jit_compile() sets prog-\u003ebpf_func to ro_insns+cfi_get_offset() (skipping the kcfi word), while __build_epilogue() still adds RV_KCFI_NINSNS to the jalr immediate, so every tail call lands past the prologue addi-to-SP. The attacker loads the caller/callee and runs them; no race or uninfluenced layout is required.\nPR:L - bpf_prog_load() allows BPF_PROG_TYPE_SOCKET_FILTER without CAP_BPF when unprivileged BPF is enabled, BPF_MAP_TYPE_PROG_ARRAY is created without CAP_BPF, and bpf_base_func_proto() returns bpf_tail_call_proto before the CAP_PERFMON gate. Otherwise only CAP_BPF or a delegated BPF token is required, not init-namespace root.\nUI:N - The attacker loads both programs, updates the PROG_ARRAY, and runs the caller with bpf(BPF_PROG_TEST_RUN) (sk_filter_prog_ops.test_run = bpf_prog_test_run_skb) or setsockopt(SO_ATTACH_BPF) on a socket they own. No other user must mount, open, or click.\nS:U - The skipped stack allocation corrupts the host kernel stack of the thread running the JITed image (bpf_prog_test_run_skb or sk_filter_trim_cap). That is in-kernel memory corruption on the same authority, not a KVM/Xen guest-to-host or IOMMU boundary crossing.\nC:H - After the tailcall jalr skips emit_addi(SP, SP, -stack_adjust), bpf_jit_build_prologue() still does emit_addi(S5, SP, bpf_stack_adjust), so BPF_REG_FP addresses the kernel caller\u0027s frame. FP-relative LDX then reads saved return addresses and locals from that frame.\nI:H - The same missed SP subtract means prologue sd of RA/FP/S1\u2013S6 and BPF STX through S5 write into the kernel frame above SP. The callee epilogue then addi SP, SP, stack_adjust and jalr RA on that smashed frame, enabling a stack pivot and control-flow hijack.\nA:H - Returning from the tail-call target with SP still at the pre-BPF kernel SP, then adding stack_adjust in __build_epilogue(), misaligns the caller of bpf_prog_run so the kernel oopses or panics; any such crash is Availability High."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T09:04:24.705Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/34b1bb33a025787e05f966e74de18cd36276f801"
        },
        {
          "url": "https://git.kernel.org/stable/c/a6e11a81da3420fd37f1518d4f238c4d5784086e"
        },
        {
          "url": "https://git.kernel.org/stable/c/52fb1756ea1d2759dfef2d86245be00b05dac3a2"
        }
      ],
      "title": "riscv, bpf: Fix kernel stack corruption in tailcall with CFI",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-92518",
    "datePublished": "2026-09-17T16:10:26.136Z",
    "dateReserved": "2026-09-16T12:21:13.873Z",
    "dateUpdated": "2026-10-19T09:04:24.705Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-92518",
      "date": "2026-11-14",
      "epss": "0.00173",
      "percentile": "0.06854"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "arch/riscv/net/bpf_jit_comp64.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "34b1bb33a025787e05f966e74de18cd36276f801",
                    "status": "affected",
                    "version": "30a59cc79754fd9ff3f41b7ee2eb21da85988548",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "a6e11a81da3420fd37f1518d4f238c4d5784086e",
                    "status": "affected",
                    "version": "30a59cc79754fd9ff3f41b7ee2eb21da85988548",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "52fb1756ea1d2759dfef2d86245be00b05dac3a2",
                    "status": "affected",
                    "version": "30a59cc79754fd9ff3f41b7ee2eb21da85988548",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "fe5b68fdcec0f3d97a32f4c4acfef59cf90718f7",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "6.12",
                    "status": "affected",
                    "version": "6.11.6",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "arch/riscv/net/bpf_jit_comp64.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.12"
                  },
                  {
                    "lessThan": "6.12",
                    "status": "unaffected",
                    "version": "0",
                    "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"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nriscv, bpf: Fix kernel stack corruption in tailcall with CFI\n\nWhen CONFIG_CFI_CLANG is enabled, prog-\u003ebpf_func already skips the kcfi\ninstruction during setup. Including it again in the tailcall jump offset\ncauses it to jump over an extra 4 bytes, skipping the stack pointer\nadjustment, which will result in kernel stack corruption."
          }
        ],
        "id": "CVE-2026-92518",
        "lastModified": "2026-10-19T10:16:52.303",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-09-17T17:17:54.687",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/34b1bb33a025787e05f966e74de18cd36276f801"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/52fb1756ea1d2759dfef2d86245be00b05dac3a2"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/a6e11a81da3420fd37f1518d4f238c4d5784086e"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-06T01:49:52+00:00",
      "cve": "CVE-2026-92518",
      "id": "CVE-2026-92518",
      "initial_release_date": "2026-09-17T00:00:00+00:00",
      "product_status:known_not_affected": "203",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: riscv, bpf: Fix kernel stack corruption in tailcall with CFI",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-92518.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.