{"id":"CVE-2023-53038","aliases":["CVE-2023-53038"],"related":[],"kind":"vulnerability","state":"published","title":"scsi: lpfc: Check kzalloc() in lpfc_sli4_cgn_params_read()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: lpfc: Check kzalloc() in lpfc_sli4_cgn_params_read()\n\nIf kzalloc() fails in lpfc_sli4_cgn_params_read(), then we rely on\nlpfc_read_object()'s routine to NULL check pdata.\n\nCurrently, an early return error is thrown from lpfc_read_object() to\nprotect us from NULL ptr dereference, but the errno code is -ENODEV.\n\nChange the errno code to a more appropriate -ENOMEM.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: lpfc: Check kzalloc() in lpfc_sli4_cgn_params_read()\n\nIf kzalloc() fails in lpfc_sli4_cgn_params_read(), then we rely on\nlpfc_read_object()'s routine to NULL check pdata.\n\nCurrently, an early return error is thrown from lpfc_read_object() to\nprotect us from NULL ptr dereference, but the errno code is -ENODEV.\n\nChange the errno code to a more appropriate -ENOMEM.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: scsi: lpfc: Comprobación de kzalloc() en lpfc_sli4_cgn_params_read(). Si kzalloc() falla en lpfc_sli4_cgn_params_read(), dependemos de la rutina de lpfc_read_object() para comprobar si pdata es nulo. Actualmente, lpfc_read_object() genera un error de retorno anticipado para protegernos de la desreferencia de ptr nulo, pero el código de error es -ENODEV. Cambie el código de error a -ENOMEM, que es más apropiado.","source":"nvd"}],"published":"2025-05-02T15:54:57.091Z","modified":"2026-11-05T21:17:08.210Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"72df8a452883b0be334396acba07df77c3c3f6c7","fixed":"67b8343998b84418bc5b5206aa01fe9b461a80ef","status":"affected"},{"type":"git","introduced":"72df8a452883b0be334396acba07df77c3c3f6c7","fixed":"4829a1e1171536978b240a1438789c2e4d5c9715","status":"affected"},{"type":"git","introduced":"72df8a452883b0be334396acba07df77c3c3f6c7","fixed":"908dd9a0853a88155a5a36018c7e2b32ccf20379","status":"affected"},{"type":"git","introduced":"72df8a452883b0be334396acba07df77c3c3f6c7","fixed":"312320b0e0ec21249a17645683fe5304d796aec1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"5.15.105","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.22","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.9","lastAffected":"6.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.15.105"},{"status":"affected","introduced":"5.16","fixed":"6.1.22"},{"status":"affected","introduced":"6.2","fixed":"6.2.9"},{"status":"affected","version":"6.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/67b8343998b84418bc5b5206aa01fe9b461a80ef","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4829a1e1171536978b240a1438789c2e4d5c9715","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/908dd9a0853a88155a5a36018c7e2b32ccf20379","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/312320b0e0ec21249a17645683fe5304d796aec1","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:15:05.625Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53038","url":"https://www.cve.org/CVERecord?id=CVE-2023-53038","licence":"CVE Terms of Use","modified":"2026-11-05T20:20:55.525Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53038","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53038","licence":"Public domain","modified":"2026-11-05T21:17:08.210Z"}],"updatedAt":"2026-11-25T22:58:34.631Z","epss":{"score":0.00244,"percentile":0.1668,"date":"2026-12-01T12:00:22.000Z"}}