{
  "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-40005",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-40005",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-10-20T15:26:52.315Z",
    "updatedAt": "2026-06-01T16:05:33.466Z",
    "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": "spi: cadence-quadspi: Implement refcount to handle unbind during busy",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nspi: cadence-quadspi: Implement refcount to handle unbind during busy\n\ndriver support indirect read and indirect write operation with\nassumption no force device removal(unbind) operation. However\nforce device removal(removal) is still available to root superuser.\n\nUnbinding driver during operation causes kernel crash. This changes\nensure driver able to handle such operation for indirect read and\nindirect write by implementing refcount to track attached devices\nto the controller and gracefully wait and until attached devices\nremove operation completed before proceed with removal operation.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "a314f6367787ee1d767df9a2120f17e4511144d0",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8ce3ebbe5c718940b4e94f5c25f5720223f893f8"
            },
            {
              "version": "a314f6367787ee1d767df9a2120f17e4511144d0",
              "status": "affected",
              "versionType": "git",
              "lessThan": "56787f4a75907ae99b5f5842b756fa68e2482f6d"
            },
            {
              "version": "a314f6367787ee1d767df9a2120f17e4511144d0",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8df235f768cea7a5829cb02525622646eb0df5f5"
            },
            {
              "version": "a314f6367787ee1d767df9a2120f17e4511144d0",
              "status": "affected",
              "versionType": "git",
              "lessThan": "65ed52200080eafce3eead05cf22ce01238defca"
            },
            {
              "version": "a314f6367787ee1d767df9a2120f17e4511144d0",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b7ec8a2b094a33d0464958c2cbf75b8f229098b0"
            },
            {
              "version": "a314f6367787ee1d767df9a2120f17e4511144d0",
              "status": "affected",
              "versionType": "git",
              "lessThan": "7446284023e8ef694fb392348185349c773eefb3"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "5.9",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "5.9"
            },
            {
              "version": "5.15.209",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.167",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.125",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.78",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.16.10",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.16.*"
            },
            {
              "version": "6.17",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}