CVE-2022-49332: scsi: lpfc: Address NULL pointer dereference after starget_to_rport()

Published Feb 26, 2025
·
Updated

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

7 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=5.18<5.18.4
Linux Linux kernel=5.19-rc1
debian/linux<5.18.5-1
5.18.5-1
debian/linux<5.18.5-1
5.18.5-1
debian/linux<5.18.5-1
5.18.5-1
debian/linux
5.18.5-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.18.5-1
  2. Compensating control

    In the Linux kernel scsi: lpfc code, check whether starget_to_rport() returned NULL before dereferencing the rport.

Event History

Feb 26, 2025
CVE Published
via MITRE·02:10 AM
Data Sourced
via MITRE·02:10 AM
Description
Data Sourced
via Red Hat·03:05 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·07:01 AM
Description
Data Sourced
via OSV·07:01 AM
DescriptionSeverityAffected Software
Mar 13, 2025
Data Sourced
via NVD·09:52 PM
RemedySeverityWeaknessAffected Software
Oct 1, 2025
Updated
via NVD·08:16 PM
SeverityWeaknessAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203