CVE-2025-68378 (GCVE-0-2025-68378)
Vulnerability from cvelistv5
Published
2025-12-24 10:33
Modified
2025-12-24 10:33
Severity ?
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.
Impacted products
Vendor Product Version
Linux Linux Version: ee2a098851bfbe8bcdd964c0121f4246f00ff41e
Version: ee2a098851bfbe8bcdd964c0121f4246f00ff41e
Version: ee2a098851bfbe8bcdd964c0121f4246f00ff41e
Version: ee2a098851bfbe8bcdd964c0121f4246f00ff41e
Version: 90805175a206f784b6a77f16f07b07f6803e286b
Version: 398ac11f4425d1e52aaf0d05d4fc90524e1a5b5e
Version: e750f78c4ed7cefbcefb9769b3b9e08033db39da
Version: 6c4f243b58f5362e983386488b2d563764c567af
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"
            }
          ]
        },
        {
          "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-rc1",
              "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-rc1",
                  "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": "2025-12-24T10:33:06.859Z",
        "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": "2025-12-24T10:33:06.859Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-68378\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-24T11:16:01.390\",\"lastModified\":\"2025-12-24T11:16:01.390\",\"vulnStatus\":\"Received\",\"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.\"}],\"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\"}]}}"
  }
}


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…