Linux
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= e4913d4bc59227fbdfe6b8f5541f49aaea1cb41c, < ea405fb4144985d5c60f49c2abd9ba47ea44fdb4
- >= 4281f44ea8bfedd25938a0031bebba1473ece9ad, < 4f09940b5581e44069eb31a66cf7f05c3c35ed04
- >= 4281f44ea8bfedd25938a0031bebba1473ece9ad, < b5162bb6aa1ec04dff4509b025883524b6d7e7ca
- >= 6.12.5, < 6.12.37
Fixed in ea405fb4144985d5c60f49c2abd9ba47ea44fdb4, 4f09940b5581e44069eb31a66cf7f05c3c35ed04, b5162bb6aa1ec04dff4509b025883524b6d7e7ca, 6.12.37
- 6.13
Fixed in 0, 6.12.37, 6.15.3, 6.16
Mitigation
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.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.