CVE-2024-43821: scsi: lpfc: Fix a possible null pointer dereference

Published Aug 17, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

scsi: lpfc: Fix a possible null pointer dereference

In function lpfcxcvrdatashow, the memory allocation with kmalloc might fail, thereby making rdpcontext a null pointer. In the following context and functions that use this pointer, there are dereferencing operations, leading to null pointer dereference.

To fix this issue, a null pointer check should be added. If it is null, use scnprintf to notify the user and return len.

Affected Software

5 affected componentsFixes available
Linux Linux kernel>=6.2<6.6.44
Linux Linux kernel>=6.7<6.10.3
debian/linux<6.10.3-1
6.10.3-1
debian/linux<6.10.3-1
6.10.3-1
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-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.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
  2. Compensating control

    In lpfc_xcvr_data_show, check whether the kmalloc result rdp_context is null; if it is null, use scnprintf to notify the user and return len before dereferencing it.

Event History

Aug 17, 2024
CVE Published
via MITRE·09:21 AM
Data Sourced
via MITRE·09:21 AM
Description
Data Sourced
via OSV·10:15 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-43821?

CVE-2024-43821 has not been assigned a severity rating yet, but it involves a possible null pointer dereference in the Linux kernel.

2

How do I fix CVE-2024-43821?

To fix CVE-2024-43821, update to the latest version of the Linux kernel where the vulnerability has been patched.

3

Which versions of the Linux kernel are affected by CVE-2024-43821?

CVE-2024-43821 affects Linux kernel versions between 6.2 and 6.6.44 and also versions between 6.7 and 6.10.3.

4

What component of the Linux kernel is involved in CVE-2024-43821?

CVE-2024-43821 is related to the SCSI driver lpfc within the Linux kernel.

5

What might happen if CVE-2024-43821 is exploited?

If exploited, CVE-2024-43821 could lead to a crash or denial of service due to a null pointer dereference.

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