CVE-2024-43821: scsi: lpfc: Fix a possible null pointer dereference
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
Remediation
Event History
Frequently Asked Questions
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.
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.
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.
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.
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.