{
  "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-40343",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-40343",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-12-09T04:10:00.973Z",
    "updatedAt": "2026-10-15T22:02:46.366Z",
    "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": "nvmet-fc: avoid scheduling association deletion twice",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-fc: avoid scheduling association deletion twice\n\nWhen forcefully shutting down a port via the configfs interface,\nnvmet_port_subsys_drop_link() first calls nvmet_port_del_ctrls() and\nthen nvmet_disable_port(). Both functions will eventually schedule all\nremaining associations for deletion.\n\nThe current implementation checks whether an association is about to be\nremoved, but only after the work item has already been scheduled. As a\nresult, it is possible for the first scheduled work item to free all\nresources, and then for the same work item to be scheduled again for\ndeletion.\n\nBecause the association list is an RCU list, it is not possible to take\na lock and remove the list entry directly, so it cannot be looked up\nagain. Instead, a flag (terminating) must be used to determine whether\nthe association is already in the process of being deleted.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "a07b4970f464f13640e28e16dad6cfa33647cc99",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2f4852db87e25d4e226b25cb6f652fef9504360e"
            },
            {
              "version": "a07b4970f464f13640e28e16dad6cfa33647cc99",
              "status": "affected",
              "versionType": "git",
              "lessThan": "85e2ce1920cb511d57aae59f0df6ff85b28bf04d"
            },
            {
              "version": "a07b4970f464f13640e28e16dad6cfa33647cc99",
              "status": "affected",
              "versionType": "git",
              "lessThan": "601ed47b2363c24d948d7bac0c23abc8bd459570"
            },
            {
              "version": "a07b4970f464f13640e28e16dad6cfa33647cc99",
              "status": "affected",
              "versionType": "git",
              "lessThan": "04d17540ef51e2c291eb863ca87fd332259b2d40"
            },
            {
              "version": "a07b4970f464f13640e28e16dad6cfa33647cc99",
              "status": "affected",
              "versionType": "git",
              "lessThan": "c09ac9a63fc3aaf4670ad7b5e4f5afd764424154"
            },
            {
              "version": "a07b4970f464f13640e28e16dad6cfa33647cc99",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f2537be4f8421f6495edfa0bc284d722f253841d"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.8",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.8"
            },
            {
              "version": "5.15.197",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.159",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.117",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.58",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.17.8",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.17.*"
            },
            {
              "version": "6.18",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}