CVE-2024-43821

Source
https://cve.org/CVERecord?id=CVE-2024-43821
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-43821.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-43821
Downstream
Related
Published
2024-08-17T09:21:42.343Z
Modified
2026-03-20T12:37:43.922047Z
Summary
scsi: lpfc: Fix a possible null pointer dereference
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43821.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
479b0917e4477f49df2e3be454aac3cfa5dec171
Fixed
57600a7dd2b52c904f7c8d2cac0fd8c23868e680
Fixed
45b2a23e00d448a9e6d1f371ca3a4d4b073fe78c
Fixed
5e0bf3e8aec2cbc51123f84b29aaacbd91fc56fa

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-43821.json"