CVE-2025-40081 (GCVE-0-2025-40081)
Vulnerability from cvelistv5
Published
2025-10-28 11:48
Modified
2025-10-29 13:20
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: perf: arm_spe: Prevent overflow in PERF_IDX2OFF() Cast nr_pages to unsigned long to avoid overflow when handling large AUX buffer sizes (>= 2 GiB).
Impacted products
Vendor Product Version
Linux Linux Version: d5d9696b03808bc6be723cc85288c912c3a05606
Version: d5d9696b03808bc6be723cc85288c912c3a05606
Version: d5d9696b03808bc6be723cc85288c912c3a05606
Version: d5d9696b03808bc6be723cc85288c912c3a05606
Version: d5d9696b03808bc6be723cc85288c912c3a05606
Version: d5d9696b03808bc6be723cc85288c912c3a05606
Version: d5d9696b03808bc6be723cc85288c912c3a05606
Version: d5d9696b03808bc6be723cc85288c912c3a05606
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/perf/arm_spe_pmu.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "656e9a5d69acdd1b20462f4a33378b90ddcb9626",
              "status": "affected",
              "version": "d5d9696b03808bc6be723cc85288c912c3a05606",
              "versionType": "git"
            },
            {
              "lessThan": "9c045d4501f7f70724a3bbb561f4f22d292bbfe6",
              "status": "affected",
              "version": "d5d9696b03808bc6be723cc85288c912c3a05606",
              "versionType": "git"
            },
            {
              "lessThan": "5d01f2b81568289443d22f1e13a363f829de6343",
              "status": "affected",
              "version": "d5d9696b03808bc6be723cc85288c912c3a05606",
              "versionType": "git"
            },
            {
              "lessThan": "7500384d3c9587593d75ded3b006835e7aa73ef8",
              "status": "affected",
              "version": "d5d9696b03808bc6be723cc85288c912c3a05606",
              "versionType": "git"
            },
            {
              "lessThan": "379cae2cb982f571cda9493ac573ab71125fd299",
              "status": "affected",
              "version": "d5d9696b03808bc6be723cc85288c912c3a05606",
              "versionType": "git"
            },
            {
              "lessThan": "1a19ba8e1f4ff24ece8ca69b79df8442c431db90",
              "status": "affected",
              "version": "d5d9696b03808bc6be723cc85288c912c3a05606",
              "versionType": "git"
            },
            {
              "lessThan": "e516cfd19b0f4c774a57b17fb43a7f41991f0735",
              "status": "affected",
              "version": "d5d9696b03808bc6be723cc85288c912c3a05606",
              "versionType": "git"
            },
            {
              "lessThan": "a29fea30dd93da16652930162b177941abd8c75e",
              "status": "affected",
              "version": "d5d9696b03808bc6be723cc85288c912c3a05606",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/perf/arm_spe_pmu.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.15"
            },
            {
              "lessThan": "4.15",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.301",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.246",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.195",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.156",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.112",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.53",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.17.*",
              "status": "unaffected",
              "version": "6.17.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.18-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.301",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.246",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.195",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.156",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.112",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.53",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.17.3",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18-rc1",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nperf: arm_spe: Prevent overflow in PERF_IDX2OFF()\n\nCast nr_pages to unsigned long to avoid overflow when handling large\nAUX buffer sizes (\u003e= 2 GiB)."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-10-29T13:20:01.782Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/656e9a5d69acdd1b20462f4a33378b90ddcb9626"
        },
        {
          "url": "https://git.kernel.org/stable/c/9c045d4501f7f70724a3bbb561f4f22d292bbfe6"
        },
        {
          "url": "https://git.kernel.org/stable/c/5d01f2b81568289443d22f1e13a363f829de6343"
        },
        {
          "url": "https://git.kernel.org/stable/c/7500384d3c9587593d75ded3b006835e7aa73ef8"
        },
        {
          "url": "https://git.kernel.org/stable/c/379cae2cb982f571cda9493ac573ab71125fd299"
        },
        {
          "url": "https://git.kernel.org/stable/c/1a19ba8e1f4ff24ece8ca69b79df8442c431db90"
        },
        {
          "url": "https://git.kernel.org/stable/c/e516cfd19b0f4c774a57b17fb43a7f41991f0735"
        },
        {
          "url": "https://git.kernel.org/stable/c/a29fea30dd93da16652930162b177941abd8c75e"
        }
      ],
      "title": "perf: arm_spe: Prevent overflow in PERF_IDX2OFF()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-40081",
    "datePublished": "2025-10-28T11:48:45.392Z",
    "dateReserved": "2025-04-16T07:20:57.161Z",
    "dateUpdated": "2025-10-29T13:20:01.782Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-40081\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-10-28T12:15:42.717\",\"lastModified\":\"2025-10-30T15:05:32.197\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nperf: arm_spe: Prevent overflow in PERF_IDX2OFF()\\n\\nCast nr_pages to unsigned long to avoid overflow when handling large\\nAUX buffer sizes (\u003e= 2 GiB).\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/1a19ba8e1f4ff24ece8ca69b79df8442c431db90\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/379cae2cb982f571cda9493ac573ab71125fd299\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5d01f2b81568289443d22f1e13a363f829de6343\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/656e9a5d69acdd1b20462f4a33378b90ddcb9626\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7500384d3c9587593d75ded3b006835e7aa73ef8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9c045d4501f7f70724a3bbb561f4f22d292bbfe6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a29fea30dd93da16652930162b177941abd8c75e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e516cfd19b0f4c774a57b17fb43a7f41991f0735\",\"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…