CVE-2022-50467: scsi: lpfc: Fix null ndlp ptr dereference in abnormal exit path for GFT_ID
In the Linux kernel, the following vulnerability has been resolved:
scsi: lpfc: Fix null ndlp ptr dereference in abnormal exit path for GFTID
An error case exit from lpfccmplctcmdgftid() results in a call to lpfcnlpput() with a null pointer to a nodelist structure.
Changed lpfccmplctcmdgftid() to initialize nodelist pointer upon entry.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.0.3-1 - Compensating control
Initialize the nodelist pointer upon entry to lpfc_cmpl_ct_cmd_gft_id() to prevent lpfc_nlp_put() from receiving a null pointer on the abnormal GFT_ID exit path.
Event History
Frequently Asked Questions
What is the severity of CVE-2022-50467?
CVE-2022-50467 has a medium severity rating due to its potential to cause denial of service.
How do I fix CVE-2022-50467?
To fix CVE-2022-50467, update the Linux kernel to the latest stable version where the vulnerability has been patched.
What impact does CVE-2022-50467 have on Linux systems?
CVE-2022-50467 can result in a system crash or denial of service when the vulnerable code path is triggered.
Which versions of the Linux kernel are affected by CVE-2022-50467?
CVE-2022-50467 affects specific versions of the Linux kernel prior to the patch release.
Is CVE-2022-50467 exploitable remotely?
CVE-2022-50467 requires local access, making remote exploitation unlikely.