CVE-2023-53038 Details
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.
A vulnerability in the Linux kernel's SCSI lpfc driver has been addressed. The issue arose in the function lpfc_sli4_cgn_params_read(), where the failure of the memory allocation function kzalloc() was not properly handled. Instead of returning an appropriate error code, the function relied on lpfc_read_object() to check for null pointers, which could lead to a null pointer dereference. The original error code of -ENODEV has been changed to -ENOMEM to reflect the memory allocation error more accurately.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/312320b0e0ec21249a17645683fe5304d796aec1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/4829a1e1171536978b240a1438789c2e4d5c9715 | kernel.org | Patch |
| https://git.kernel.org/stable/c/67b8343998b84418bc5b5206aa01fe9b461a80ef | kernel.org | Patch |
| https://git.kernel.org/stable/c/908dd9a0853a88155a5a36018c7e2b32ccf20379 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | < 5.15.105 >= 5.16, < 6.1.22 >= 6.2, < 6.2.9 6.3 rc1 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 12, 2025 | Initial Analysis | [email protected] |
| May 2, 2025 | New CVE Received | kernel.org |