CVE-2022-49332: scsi: lpfc: Address NULL pointer dereference after starget_to_rport()
In the Linux kernel, the following vulnerability has been resolved:
scsi: lpfc: Address NULL pointer dereference after stargettorport()
Calls to stargettorport() may return NULL. Add check for NULL rport before dereference.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.18.5-1 - Compensating control
In the Linux kernel scsi: lpfc code, check whether starget_to_rport() returned NULL before dereferencing the rport.
Event History
Frequently Asked Questions
What is the severity of CVE-2022-49332?
CVE-2022-49332 has a severity rating that indicates potential for a denial-of-service condition due to a NULL pointer dereference.
How do I fix CVE-2022-49332?
To fix CVE-2022-49332, update the Linux kernel to version 5.18.4 or later, or apply the relevant patches.
What systems are affected by CVE-2022-49332?
CVE-2022-49332 affects the Linux kernel versions from 5.18 to 5.18.4 and the 5.19-rc1 version.
What kind of vulnerability is CVE-2022-49332?
CVE-2022-49332 is a vulnerability that involves a NULL pointer dereference which can lead to system instability.
What does the function starget_to_rport() do in relation to CVE-2022-49332?
The function starget_to_rport() can return NULL, leading to potential dereference issues if not properly checked.