CVE-2023-53038
Severity CVSS v4.0:
Pending analysis
Type:
CWE-476
NULL Pointer Dereference
Publication date:
02/05/2025
Last modified:
12/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
scsi: lpfc: Check kzalloc() in lpfc_sli4_cgn_params_read()<br />
<br />
If kzalloc() fails in lpfc_sli4_cgn_params_read(), then we rely on<br />
lpfc_read_object()&#39;s routine to NULL check pdata.<br />
<br />
Currently, an early return error is thrown from lpfc_read_object() to<br />
protect us from NULL ptr dereference, but the errno code is -ENODEV.<br />
<br />
Change the errno code to a more appropriate -ENOMEM.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.15.105 (excluding) | |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 6.1.22 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (including) | 6.2.9 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.3:rc1:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



