In the Linux kernel, the following vulnerability has been resolved:
scsi: lpfc: Fix a possible null pointer dereference
In function lpfc_xcvr_data_show, the memory allocation with kmalloc might
fail, thereby making rdp_context 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.
References
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2024-08-17 10:15
Updated : 2024-09-03 17:49
NVD link : CVE-2024-43821
Mitre link : CVE-2024-43821
CVE.ORG link : CVE-2024-43821
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-476
NULL Pointer Dereference