GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2025-68378 (GCVE-0-2025-68378)

Vulnerability from cvelistv5 – Published: 2025-12-24 10:33 – Updated: 2026-05-23 16:02
VLAI
Title
bpf: Fix stackmap overflow check in __bpf_get_stackid()
Summary
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix stackmap overflow check in __bpf_get_stackid() Syzkaller reported a KASAN slab-out-of-bounds write in __bpf_get_stackid() when copying stack trace data. The issue occurs when the perf trace contains more stack entries than the stack map bucket can hold, leading to an out-of-bounds write in the bucket's data array.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: ee2a098851bfbe8bcdd964c0121f4246f00ff41e , < d1f424a77b6bd27b361737ed73df49a0158f1590 (git)
Affected: ee2a098851bfbe8bcdd964c0121f4246f00ff41e , < 2a008f6de163279deffd488c1deab081bce5667c (git)
Affected: ee2a098851bfbe8bcdd964c0121f4246f00ff41e , < 4669a8db976c8cbd5427fe9945f12c5fa5168ff3 (git)
Affected: ee2a098851bfbe8bcdd964c0121f4246f00ff41e , < 23f852daa4bab4d579110e034e4d513f7d490846 (git)
Affected: 90805175a206f784b6a77f16f07b07f6803e286b (git)
Affected: 398ac11f4425d1e52aaf0d05d4fc90524e1a5b5e (git)
Affected: e750f78c4ed7cefbcefb9769b3b9e08033db39da (git)
Affected: 6c4f243b58f5362e983386488b2d563764c567af (git)
Affected: 5.10.110 , < 5.11 (semver)
Affected: 5.15.33 , < 5.16 (semver)
Affected: 5.16.19 , < 5.17 (semver)
Affected: 5.17.2 , < 5.18 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 5.18
Unaffected: 0 , < 5.18 (semver)
Unaffected: 6.12.63 , ≤ 6.12.* (semver)
Unaffected: 6.17.13 , ≤ 6.17.* (semver)
Unaffected: 6.18.2 , ≤ 6.18.* (semver)
Unaffected: 6.19 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "kernel/bpf/stackmap.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "d1f424a77b6bd27b361737ed73df49a0158f1590",
              "status": "affected",
              "version": "ee2a098851bfbe8bcdd964c0121f4246f00ff41e",
              "versionType": "git"
            },
            {
              "lessThan": "2a008f6de163279deffd488c1deab081bce5667c",
              "status": "affected",
              "version": "ee2a098851bfbe8bcdd964c0121f4246f00ff41e",
              "versionType": "git"
            },
            {
              "lessThan": "4669a8db976c8cbd5427fe9945f12c5fa5168ff3",
              "status": "affected",
              "version": "ee2a098851bfbe8bcdd964c0121f4246f00ff41e",
              "versionType": "git"
            },
            {
              "lessThan": "23f852daa4bab4d579110e034e4d513f7d490846",
              "status": "affected",
              "version": "ee2a098851bfbe8bcdd964c0121f4246f00ff41e",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "90805175a206f784b6a77f16f07b07f6803e286b",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "398ac11f4425d1e52aaf0d05d4fc90524e1a5b5e",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "e750f78c4ed7cefbcefb9769b3b9e08033db39da",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "6c4f243b58f5362e983386488b2d563764c567af",
              "versionType": "git"
            },
            {
              "lessThan": "5.11",
              "status": "affected",
              "version": "5.10.110",
              "versionType": "semver"
            },
            {
              "lessThan": "5.16",
              "status": "affected",
              "version": "5.15.33",
              "versionType": "semver"
            },
            {
              "lessThan": "5.17",
              "status": "affected",
              "version": "5.16.19",
              "versionType": "semver"
            },
            {
              "lessThan": "5.18",
              "status": "affected",
              "version": "5.17.2",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "kernel/bpf/stackmap.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.18"
            },
            {
              "lessThan": "5.18",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.63",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.17.*",
              "status": "unaffected",
              "version": "6.17.13",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.19",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.63",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.17.13",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.2",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.10.110",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.15.33",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.16.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.17.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix stackmap overflow check in __bpf_get_stackid()\n\nSyzkaller reported a KASAN slab-out-of-bounds write in __bpf_get_stackid()\nwhen copying stack trace data. The issue occurs when the perf trace\n contains more stack entries than the stack map bucket can hold,\n leading to an out-of-bounds write in the bucket\u0027s data array."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-23T16:02:48.893Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/d1f424a77b6bd27b361737ed73df49a0158f1590"
        },
        {
          "url": "https://git.kernel.org/stable/c/2a008f6de163279deffd488c1deab081bce5667c"
        },
        {
          "url": "https://git.kernel.org/stable/c/4669a8db976c8cbd5427fe9945f12c5fa5168ff3"
        },
        {
          "url": "https://git.kernel.org/stable/c/23f852daa4bab4d579110e034e4d513f7d490846"
        }
      ],
      "title": "bpf: Fix stackmap overflow check in __bpf_get_stackid()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-68378",
    "datePublished": "2025-12-24T10:33:06.859Z",
    "dateReserved": "2025-12-16T14:48:05.311Z",
    "dateUpdated": "2026-05-23T16:02:48.893Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2025-68378",
      "date": "2026-09-16",
      "epss": "0.00184",
      "percentile": "0.08199"
    },
    "microsoft_vex": {
      "current_release_date": "2026-06-28T01:56:24.000Z",
      "cve": "CVE-2025-68378",
      "id": "msrc_CVE-2025-68378",
      "initial_release_date": "2025-12-02T00:00:00.000Z",
      "product_status:known_affected": "12",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "bpf: Fix stackmap overflow check in __bpf_get_stackid()",
      "url": "https://msrc.microsoft.com/csaf/vex/2025/msrc_cve-2025-68378.json",
      "version": "13"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-68378\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-24T11:16:01.390\",\"lastModified\":\"2026-06-17T09:59:01.750\",\"vulnStatus\":\"Deferred\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nbpf: Fix stackmap overflow check in __bpf_get_stackid()\\n\\nSyzkaller reported a KASAN slab-out-of-bounds write in __bpf_get_stackid()\\nwhen copying stack trace data. The issue occurs when the perf trace\\n contains more stack entries than the stack map bucket can hold,\\n leading to an out-of-bounds write in the bucket\u0027s data array.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"kernel/bpf/stackmap.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"ee2a098851bfbe8bcdd964c0121f4246f00ff41e\",\"lessThan\":\"d1f424a77b6bd27b361737ed73df49a0158f1590\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ee2a098851bfbe8bcdd964c0121f4246f00ff41e\",\"lessThan\":\"2a008f6de163279deffd488c1deab081bce5667c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ee2a098851bfbe8bcdd964c0121f4246f00ff41e\",\"lessThan\":\"4669a8db976c8cbd5427fe9945f12c5fa5168ff3\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ee2a098851bfbe8bcdd964c0121f4246f00ff41e\",\"lessThan\":\"23f852daa4bab4d579110e034e4d513f7d490846\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"90805175a206f784b6a77f16f07b07f6803e286b\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"398ac11f4425d1e52aaf0d05d4fc90524e1a5b5e\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"e750f78c4ed7cefbcefb9769b3b9e08033db39da\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"6c4f243b58f5362e983386488b2d563764c567af\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"5.10.110\",\"lessThan\":\"5.11\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"5.15.33\",\"lessThan\":\"5.16\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"5.16.19\",\"lessThan\":\"5.17\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"5.17.2\",\"lessThan\":\"5.18\",\"versionType\":\"semver\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"kernel/bpf/stackmap.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.18\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.18\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.63\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.17.13\",\"lessThanOrEqual\":\"6.17.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.2\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.19\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/23f852daa4bab4d579110e034e4d513f7d490846\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/2a008f6de163279deffd488c1deab081bce5667c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/4669a8db976c8cbd5427fe9945f12c5fa5168ff3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d1f424a77b6bd27b361737ed73df49a0158f1590\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-06-30T10:13:45+00:00",
      "cve": "CVE-2025-68378",
      "id": "CVE-2025-68378",
      "initial_release_date": "2025-12-24T00:00:00+00:00",
      "product_status:known_affected": "184",
      "product_status:known_not_affected": "90",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: bpf: Fix stackmap overflow check in __bpf_get_stackid()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-68378.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-30T17:15:12Z",
      "cve": "CVE-2025-68378",
      "id": "CVE-2025-68378",
      "initial_release_date": "2025-12-25T00:24:03Z",
      "product_status:first_fixed": "2",
      "product_status:known_affected": "554",
      "product_status:known_not_affected": "321",
      "product_status:recommended": "295",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2025-68378",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2025-68378.json",
      "version": "37"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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.

Loading…

Detection rules are retrieved from Rulezet.

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.


Loading…