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

Vulnerability from cvelistv5 – Published: 2025-12-24 10:33 – Updated: 2026-10-30 12:23
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.
Assigner
Linux CNA under the mitre root
CNA scorecard D 53/100 over 7033 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: ee2a098851bfbe8bcdd964c0121f4246f00ff41e , < 03fe4c886667b3a09b9d6afc03bbc68afb35c82b (git)
Affected: ee2a098851bfbe8bcdd964c0121f4246f00ff41e , < d6028caa0ee39dccd005468adfa3223b92bd3ad3 (git)
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.1.191 , ≤ 6.1.* (semver)
Unaffected: 6.6.160 , ≤ 6.6.* (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": "03fe4c886667b3a09b9d6afc03bbc68afb35c82b",
              "status": "affected",
              "version": "ee2a098851bfbe8bcdd964c0121f4246f00ff41e",
              "versionType": "git"
            },
            {
              "lessThan": "d6028caa0ee39dccd005468adfa3223b92bd3ad3",
              "status": "affected",
              "version": "ee2a098851bfbe8bcdd964c0121f4246f00ff41e",
              "versionType": "git"
            },
            {
              "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.1.*",
              "status": "unaffected",
              "version": "6.1.191",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.160",
              "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.1.191",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.160",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                },
                {
                  "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-10-30T12:23:15.844Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/03fe4c886667b3a09b9d6afc03bbc68afb35c82b"
        },
        {
          "url": "https://git.kernel.org/stable/c/d6028caa0ee39dccd005468adfa3223b92bd3ad3"
        },
        {
          "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-10-30T12:23:15.844Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2025-68378",
      "date": "2026-10-30",
      "epss": "0.00214",
      "percentile": "0.11848"
    },
    "microsoft_vex": {
      "current_release_date": "2026-09-24T02:19:02.000Z",
      "cve": "CVE-2025-68378",
      "id": "msrc_CVE-2025-68378",
      "initial_release_date": "2025-12-25T01:05:35.000Z",
      "product_status:known_affected": "17",
      "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": "19"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "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": "03fe4c886667b3a09b9d6afc03bbc68afb35c82b",
                    "status": "affected",
                    "version": "ee2a098851bfbe8bcdd964c0121f4246f00ff41e",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "d6028caa0ee39dccd005468adfa3223b92bd3ad3",
                    "status": "affected",
                    "version": "ee2a098851bfbe8bcdd964c0121f4246f00ff41e",
                    "versionType": "git"
                  },
                  {
                    "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.1.*",
                    "status": "unaffected",
                    "version": "6.1.191",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.160",
                    "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"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "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."
          },
          {
            "lang": "es",
            "value": "En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nbpf: Correcci\u00f3n de la comprobaci\u00f3n de desbordamiento de stackmap en __bpf_get_stackid()\n\nSyzkaller inform\u00f3 de una escritura fuera de l\u00edmites de slab de KASAN en __bpf_get_stackid() al copiar datos de traza de pila. El problema ocurre cuando la traza de perf contiene m\u00e1s entradas de pila de las que puede contener el cubo del mapa de pila, lo que lleva a una escritura fuera de l\u00edmites en el array de datos del cubo."
          }
        ],
        "id": "CVE-2025-68378",
        "lastModified": "2026-10-30T13:18:22.017",
        "metrics": {},
        "published": "2025-12-24T11:16:01.390",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/03fe4c886667b3a09b9d6afc03bbc68afb35c82b"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "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",
            "url": "https://git.kernel.org/stable/c/d6028caa0ee39dccd005468adfa3223b92bd3ad3"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Deferred"
      }
    },
    "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"
    }
  }
}



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
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.