{
  "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-38695",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-38695",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-09-04T15:32:48.168Z",
    "updatedAt": "2026-05-12T12:05:31.923Z",
    "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: Check for hdwq null ptr when cleaning up lpfc_vport structure",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: lpfc: Check for hdwq null ptr when cleaning up lpfc_vport structure\n\nIf a call to lpfc_sli4_read_rev() from lpfc_sli4_hba_setup() fails, the\nresultant cleanup routine lpfc_sli4_vport_delete_fcp_xri_aborted() may\noccur before sli4_hba.hdwqs are allocated.  This may result in a null\npointer dereference when attempting to take the abts_io_buf_list_lock for\nthe first hardware queue.  Fix by adding a null ptr check on\nphba->sli4_hba.hdwq and early return because this situation means there\nmust have been an error during port initialization.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "5e5b511d8bfaf765cb92a695cda336c936cb86dc",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6711ce7e9de4eb1a541ef30638df1294ea4267f8"
            },
            {
              "version": "5e5b511d8bfaf765cb92a695cda336c936cb86dc",
              "status": "affected",
              "versionType": "git",
              "lessThan": "74bdf54a847dab209d2a8f65852f59b7fa156175"
            },
            {
              "version": "5e5b511d8bfaf765cb92a695cda336c936cb86dc",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5e25ee1ecec91c61a8acf938ad338399cad464de"
            },
            {
              "version": "5e5b511d8bfaf765cb92a695cda336c936cb86dc",
              "status": "affected",
              "versionType": "git",
              "lessThan": "add68606a01dcccf18837a53e85b85caf0693b4b"
            },
            {
              "version": "5e5b511d8bfaf765cb92a695cda336c936cb86dc",
              "status": "affected",
              "versionType": "git",
              "lessThan": "7925dd68807cc8fd755b04ca99e7e6f1c04392e8"
            },
            {
              "version": "5e5b511d8bfaf765cb92a695cda336c936cb86dc",
              "status": "affected",
              "versionType": "git",
              "lessThan": "571617f171f723b05f02d154a2e549a17eab4935"
            },
            {
              "version": "5e5b511d8bfaf765cb92a695cda336c936cb86dc",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d3f55f46bb37a8ec73bfe3cfe36e3ecfa2945dfa"
            },
            {
              "version": "5e5b511d8bfaf765cb92a695cda336c936cb86dc",
              "status": "affected",
              "versionType": "git",
              "lessThan": "46a0602c24d7d425dd8e00c749cd64a934aac7ec"
            },
            {
              "version": "5e5b511d8bfaf765cb92a695cda336c936cb86dc",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6698796282e828733cde3329c887b4ae9e5545e9"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "5.1",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "5.1"
            },
            {
              "version": "5.4.297",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.241",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.190",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.149",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.103",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.43",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.15.11",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.15.*"
            },
            {
              "version": "6.16.2",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.16.*"
            },
            {
              "version": "6.17",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}