{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2025-40030",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-40030",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-10-28T11:48:01.608Z",
    "updatedAt": "2026-05-11T21:41:07.740Z",
    "importedAt": "2026-10-24T01:57:34.152Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "pinctrl: check the return value of pinmux_ops::get_function_name()",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: check the return value of pinmux_ops::get_function_name()\n\nWhile the API contract in docs doesn't specify it explicitly, the\ngeneric implementation of the get_function_name() callback from struct\npinmux_ops - pinmux_generic_get_function_name() - can fail and return\nNULL. This is already checked in pinmux_check_ops() so add a similar\ncheck in pinmux_func_name_to_selector() instead of passing the returned\npointer right down to strcmp() where the NULL can get dereferenced. This\nis normal operation when adding new pinfunctions.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "f913cfce4ee49a3382a9ff95696f49a46e56e974",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1a7fc8fed2bb2e113604fde7a45432ace2056b97"
            },
            {
              "version": "f913cfce4ee49a3382a9ff95696f49a46e56e974",
              "status": "affected",
              "versionType": "git",
              "lessThan": "e7265dc4c670b89611bcf5fe33acf99bc0aa294f"
            },
            {
              "version": "f913cfce4ee49a3382a9ff95696f49a46e56e974",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d77ef2f621cd1d605372c4c6ce667c496f6990c3"
            },
            {
              "version": "f913cfce4ee49a3382a9ff95696f49a46e56e974",
              "status": "affected",
              "versionType": "git",
              "lessThan": "ba7f7c2b2b3261e7def67018c38c69b626e0e66e"
            },
            {
              "version": "f913cfce4ee49a3382a9ff95696f49a46e56e974",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1a2ea887a5cd7d47bab599f733d89444df018b1a"
            },
            {
              "version": "f913cfce4ee49a3382a9ff95696f49a46e56e974",
              "status": "affected",
              "versionType": "git",
              "lessThan": "688c688e0bf55824f4a38f8c2180046f089a3e3b"
            },
            {
              "version": "f913cfce4ee49a3382a9ff95696f49a46e56e974",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b7e0535060a60cc99eafc19cc665d979714cd73a"
            },
            {
              "version": "f913cfce4ee49a3382a9ff95696f49a46e56e974",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4002ee98c022d671ecc1e4a84029e9ae7d8a5603"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.19",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.19"
            },
            {
              "version": "5.4.301",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.246",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.195",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.156",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.112",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.53",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.17.3",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.17.*"
            },
            {
              "version": "6.18",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}