Bug 2363756 (CVE-2023-53038) - CVE-2023-53038 kernel: scsi: lpfc: Check kzalloc() in lpfc_sli4_cgn_params_read()
Summary: CVE-2023-53038 kernel: scsi: lpfc: Check kzalloc() in lpfc_sli4_cgn_params_re...
Keywords:
Status: NEW
Alias: CVE-2023-53038
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-02 16:04 UTC by OSIDB Bzimport
Modified: 2025-05-05 09:15 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-02 16:04:32 UTC
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.

Comment 1 Avinash Hanwate 2025-05-05 06:38:26 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025050201-CVE-2023-53038-4b5c@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.