scsi: lpfc: Avoid potential ndlp use-after-free in dev_loss_tmo_callbk
In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Avoid potential ndlp use-after-free in dev_loss_tmo_callbk Smatch detected a potential use-after-free of an ndlp oject in dev_loss_tmo_callbk during driver unload or fatal error handling. Fix by reordering code to avoid potential use-after-free if initial nodelist reference has been previously removed.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.37, 6.15.3
- CVEs
- CVE-2025-38289
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 01:51 UTC · Revision 1
Source evidence
scsi: lpfc: Avoid potential ndlp use-after-free in dev_loss_tmo_callbk
core-osv · Original sourcePublished 10 Jul 2025, 07:42 UTC
In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Avoid potential ndlp use-after-free in dev_loss_tmo_callbk Smatch detected a potential use-after-free of an ndlp oject in dev_loss_tmo_callbk during driver unload or fatal error handling. Fix by reordering code to avoid potential use-after-free if initial nodelist reference has been previously removed.
osv:CVE-2025-38289
Kernel
Fixed versions: 6.12.37, 6.15.3
Complete source record
{
"id": "d8452f2ed932b0100d7a0004f486da9dc18448c67d568f6c37e322309dda886b",
"url": "https://osv.dev/vulnerability/CVE-2025-38289",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "scsi: lpfc: Avoid potential ndlp use-after-free in dev_loss_tmo_callbk",
"summary": "In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Avoid potential ndlp use-after-free in dev_loss_tmo_callbk Smatch detected a potential use-after-free of an ndlp oject in dev_loss_tmo_callbk during driver unload or fatal error handling. Fix by reordering code to avoid potential use-after-free if initial nodelist reference has been previously removed.",
"evidence": "osv:CVE-2025-38289",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.12.37",
"evidence": "/affected/1/ranges"
},
{
"value": "6.15.3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2025-38289",
"aliases": [
"CVE-2025-38289"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "e4913d4bc59227fbdfe6b8f5541f49aaea1cb41c"
},
{
"fixed": "ea405fb4144985d5c60f49c2abd9ba47ea44fdb4"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "4281f44ea8bfedd25938a0031bebba1473ece9ad"
},
{
"fixed": "4f09940b5581e44069eb31a66cf7f05c3c35ed04"
},
{
"fixed": "b5162bb6aa1ec04dff4509b025883524b6d7e7ca"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "6.12.5"
},
{
"fixed": "6.12.37"
}
]
}
],
"versions": [
"v6.12.36",
"v6.12.35",
"v6.12.34",
"v6.12.33",
"v6.12.32",
"v6.12.31",
"v6.12.30",
"v6.12.29",
"v6.12.28",
"v6.12.27",
"v6.12.26",
"v6.12.25",
"v6.12.24",
"v6.12.23",
"v6.12.22",
"v6.12.21",
"v6.12.20",
"v6.12.19",
"v6.12.18",
"v6.12.17",
"v6.12.16",
"v6.12.15",
"v6.12.14",
"v6.12.13",
"v6.12.12",
"v6.12.11",
"v6.12.10",
"v6.12.9",
"v6.12.8",
"v6.12.7",
"v6.12.6",
"v6.12.5"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38289.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "6.12.37"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.15.3"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38289.json"
}
}
],
"modified": "2026-10-28T02:30:52.942821293Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/4f09940b5581e44069eb31a66cf7f05c3c35ed04",
"https://git.kernel.org/stable/c/b5162bb6aa1ec04dff4509b025883524b6d7e7ca",
"https://git.kernel.org/stable/c/ea405fb4144985d5c60f49c2abd9ba47ea44fdb4",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38289.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-38289",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38289.json"
}
},
"related_cves": [
{
"value": "CVE-2025-38289",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 521517,
"published_at": "2025-07-10T07:42:05.645+00:00"
}