{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-53038","id":"CVE-2023-53038","title":"scsi: lpfc: Check kzalloc() in lpfc_sli4_cgn_params_read()","description":"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 er","descriptionLong":"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.","published":"2025-05-02T15:54:57.091Z","updated":"2026-11-07T02:30:36.829152572Z","reserved":"2025-04-16T07:18:43.827Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"72df8a452883b0be334396acba07df77c3c3f6c7","lessThan":"67b8343998b84418bc5b5206aa01fe9b461a80ef","status":"affected","versionType":"git"},{"version":"72df8a452883b0be334396acba07df77c3c3f6c7","lessThan":"4829a1e1171536978b240a1438789c2e4d5c9715","status":"affected","versionType":"git"},{"version":"72df8a452883b0be334396acba07df77c3c3f6c7","lessThan":"908dd9a0853a88155a5a36018c7e2b32ccf20379","status":"affected","versionType":"git"},{"version":"72df8a452883b0be334396acba07df77c3c3f6c7","lessThan":"312320b0e0ec21249a17645683fe5304d796aec1","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","lessThan":"5.15","status":"unaffected","versionType":"semver"},{"version":"5.15.105","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.22","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2.9","lessThanOrEqual":"6.2.*","status":"unaffected","versionType":"semver"},{"version":"6.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/67b8343998b84418bc5b5206aa01fe9b461a80ef","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/4829a1e1171536978b240a1438789c2e4d5c9715","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/908dd9a0853a88155a5a36018c7e2b32ccf20379","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/312320b0e0ec21249a17645683fe5304d796aec1","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53038.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53038","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00202,"epssPercentile":0.10374,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-53038","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53038","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-53038","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-53038","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}