In the Linux kernel, the following vulnerability has been resolved:
scsi: lpfc: Check kzalloc() in lpfc_sli4_cgn_params_read()
If kzalloc() fails in lpfc_sli4_cgn_params_read(), then we rely on
lpfc_read_object()'s routine to NULL check pdata.
Currently, an early return error is thrown from lpfc_read_object() to
protect us from NULL ptr dereference, but the errno code is -ENODEV.
Change the errno code to a more appropriate -ENOMEM.
Metrics
Affected Vendors & Products
References
History
Mon, 05 May 2025 14:00:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
| |
Metrics |
threat_severity
|
cvssV3_1
|
Fri, 02 May 2025 16:00:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Description | In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Check kzalloc() in lpfc_sli4_cgn_params_read() If kzalloc() fails in lpfc_sli4_cgn_params_read(), then we rely on lpfc_read_object()'s routine to NULL check pdata. Currently, an early return error is thrown from lpfc_read_object() to protect us from NULL ptr dereference, but the errno code is -ENODEV. Change the errno code to a more appropriate -ENOMEM. | |
Title | scsi: lpfc: Check kzalloc() in lpfc_sli4_cgn_params_read() | |
References |
|

Status: PUBLISHED
Assigner: Linux
Published: 2025-05-02T15:54:57.091Z
Updated: 2025-05-04T07:48:15.283Z
Reserved: 2025-04-16T07:18:43.827Z
Link: CVE-2023-53038

No data.

Status : Awaiting Analysis
Published: 2025-05-02T16:15:22.920
Modified: 2025-05-05T20:54:45.973
Link: CVE-2023-53038
