{
  "id": "CVE-2025-38289",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38289",
  "published_at": "2025-07-10T07:42:05.645Z",
  "title": "scsi: lpfc: Avoid potential ndlp use-after-free in dev_loss_tmo_callbk",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: lpfc: Avoid potential ndlp use-after-free in dev_loss_tmo_callbk\n\nSmatch detected a potential use-after-free of an ndlp oject in\ndev_loss_tmo_callbk during driver unload or fatal error handling.\n\nFix by reordering code to avoid potential use-after-free if initial\nnodelist reference has been previously removed.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= e4913d4bc59227fbdfe6b8f5541f49aaea1cb41c, \u003c ea405fb4144985d5c60f49c2abd9ba47ea44fdb4",
          "\u003e= 4281f44ea8bfedd25938a0031bebba1473ece9ad, \u003c 4f09940b5581e44069eb31a66cf7f05c3c35ed04",
          "\u003e= 4281f44ea8bfedd25938a0031bebba1473ece9ad, \u003c b5162bb6aa1ec04dff4509b025883524b6d7e7ca",
          "\u003e= 6.12.5, \u003c 6.12.37"
        ],
        "fixed_in": [
          "ea405fb4144985d5c60f49c2abd9ba47ea44fdb4",
          "4f09940b5581e44069eb31a66cf7f05c3c35ed04",
          "b5162bb6aa1ec04dff4509b025883524b6d7e7ca",
          "6.12.37"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.13"
        ],
        "fixed_in": [
          "0",
          "6.12.37",
          "6.15.3",
          "6.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to ea405fb4144985d5c60f49c2abd9ba47ea44fdb4 or 4f09940b5581e44069eb31a66cf7f05c3c35ed04 or b5162bb6aa1ec04dff4509b025883524b6d7e7ca or 6.12.37 or later.",
      "Upgrade Linux to 0 or 6.12.37 or 6.15.3 or 6.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
