In the Linux kernel, the following vulnerability has been resolved:
scsi: lpfc: Avoid potential ndlp use-after-free in devlosstmo_callbk
Smatch detected a potential use-after-free of an ndlp oject in devlosstmo_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.
[
{
"id": "CVE-2025-38289-9594ab2c",
"signature_type": "Line",
"signature_version": "v1",
"digest": {
"line_hashes": [
"107826329200448309000358014350024259430",
"290146375095453839566922510414167778517",
"181275072619590369573114534744108240388",
"168114463619969142942113555759345711685",
"99017275328554017666954621310870662229",
"99942024841467970072498068877671988404",
"130963393863595400637810948494710663116",
"34290163259791622967474726858797276993",
"207280345102280614348187352160835444698",
"190720559207585251224778186604658536447",
"117536888700695426973357321713286008754",
"247421434889220001002016025209939502068",
"339153968634145123149251699870842154775",
"156681553368997963929192418130780641208",
"251017947119893783652864073266034520063",
"170735749926445889114981766199683350336",
"296517783864484078911940685753092657828",
"67444384318940137321025103284989652720",
"241737604554190981498125496048652131364",
"201555548456842743607225800017335626609",
"2179571878404171842086523456954153959",
"277693504032453716753628828419430359160"
],
"threshold": 0.9
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b5162bb6aa1ec04dff4509b025883524b6d7e7ca",
"target": {
"file": "drivers/scsi/lpfc/lpfc_hbadisc.c"
}
},
{
"id": "CVE-2025-38289-9e9c16c9",
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"length": 3252.0,
"function_hash": "155267500694629485704122080490599727880"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4f09940b5581e44069eb31a66cf7f05c3c35ed04",
"target": {
"function": "lpfc_dev_loss_tmo_callbk",
"file": "drivers/scsi/lpfc/lpfc_hbadisc.c"
}
},
{
"id": "CVE-2025-38289-cc7eaa81",
"signature_type": "Line",
"signature_version": "v1",
"digest": {
"line_hashes": [
"107826329200448309000358014350024259430",
"290146375095453839566922510414167778517",
"181275072619590369573114534744108240388",
"168114463619969142942113555759345711685",
"99017275328554017666954621310870662229",
"99942024841467970072498068877671988404",
"130963393863595400637810948494710663116",
"34290163259791622967474726858797276993",
"207280345102280614348187352160835444698",
"190720559207585251224778186604658536447",
"117536888700695426973357321713286008754",
"247421434889220001002016025209939502068",
"339153968634145123149251699870842154775",
"156681553368997963929192418130780641208",
"251017947119893783652864073266034520063",
"170735749926445889114981766199683350336",
"296517783864484078911940685753092657828",
"67444384318940137321025103284989652720",
"241737604554190981498125496048652131364",
"201555548456842743607225800017335626609",
"2179571878404171842086523456954153959",
"277693504032453716753628828419430359160"
],
"threshold": 0.9
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4f09940b5581e44069eb31a66cf7f05c3c35ed04",
"target": {
"file": "drivers/scsi/lpfc/lpfc_hbadisc.c"
}
},
{
"id": "CVE-2025-38289-d16076b9",
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"length": 3252.0,
"function_hash": "155267500694629485704122080490599727880"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b5162bb6aa1ec04dff4509b025883524b6d7e7ca",
"target": {
"function": "lpfc_dev_loss_tmo_callbk",
"file": "drivers/scsi/lpfc/lpfc_hbadisc.c"
}
}
]