{
  "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-39841",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-39841",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-09-19T15:26:16.349Z",
    "updatedAt": "2026-08-05T12:05:34.724Z",
    "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": "scsi: lpfc: Fix buffer free/clear order in deferred receive path",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: lpfc: Fix buffer free/clear order in deferred receive path\n\nFix a use-after-free window by correcting the buffer release sequence in\nthe deferred receive path. The code freed the RQ buffer first and only\nthen cleared the context pointer under the lock. Concurrent paths (e.g.,\nABTS and the repost path) also inspect and release the same pointer under\nthe lock, so the old order could lead to double-free/UAF.\n\nNote that the repost path already uses the correct pattern: detach the\npointer under the lock, then free it after dropping the lock. The\ndeferred path should do the same.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "472e146d1cf3410a898b49834500fa9e33ac41a2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "ab34084f42ee06a9028d67c78feafb911d33d111"
            },
            {
              "version": "472e146d1cf3410a898b49834500fa9e33ac41a2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "baa39f6ad79d372a6ce0aa639fbb2f1578479f57"
            },
            {
              "version": "472e146d1cf3410a898b49834500fa9e33ac41a2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "95b63d15fce5c54a73bbf195e1aacb5a75b128e2"
            },
            {
              "version": "472e146d1cf3410a898b49834500fa9e33ac41a2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "55658c7501467ca9ef3bd4453dd920010db8bc13"
            },
            {
              "version": "472e146d1cf3410a898b49834500fa9e33ac41a2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d96cc9a1b57725930c60b607423759d563b4d900"
            },
            {
              "version": "472e146d1cf3410a898b49834500fa9e33ac41a2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "367cb5ffd8a8a4c85dc89f55e7fa7cc191425b11"
            },
            {
              "version": "472e146d1cf3410a898b49834500fa9e33ac41a2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "897f64b01c1249ac730329b83f4f40bab71e86c7"
            },
            {
              "version": "472e146d1cf3410a898b49834500fa9e33ac41a2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9dba9a45c348e8460da97c450cddf70b2056deb3"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "5.1",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "5.1"
            },
            {
              "version": "5.4.299",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.243",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.192",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.151",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.105",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.46",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.16.6",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.16.*"
            },
            {
              "version": "6.17",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}