{"id":"CVE-2023-52809","aliases":["CVE-2023-52809"],"related":[],"kind":"vulnerability","state":"published","title":"scsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup()\n\nfc_lport_ptp_setup() did not check the return value of fc_rport_create()\nwhich can return NULL and would cause a NULL pointer dereference. Address\nthis issue by checking return value of fc_rport_create() and log error\nmessage on fc_rport_create() failed.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup()\n\nfc_lport_ptp_setup() did not check the return value of fc_rport_create()\nwhich can return NULL and would cause a NULL pointer dereference. Address\nthis issue by checking return value of fc_rport_create() and log error\nmessage on fc_rport_create() failed.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: scsi: libfc: corrigió la posible desreferencia del puntero NULL en fc_lport_ptp_setup() fc_lport_ptp_setup() no verificó el valor de retorno de fc_rport_create() que puede devolver NULL y causaría una desreferencia del puntero NULL. Solucione este problema verificando el valor de retorno de fc_rport_create() y el mensaje de error de registro en fc_rport_create() falló.","source":"nvd"}],"published":"2024-05-21T15:31:18.982Z","modified":"2026-06-17T06:43:37.970Z","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":"42e9a92fe6a9095bd68a379aaec7ad2be0337f7a","fixed":"930f0aaba4820d6362de4e6ed569eaf444f1ea4e","status":"affected"},{"type":"git","introduced":"42e9a92fe6a9095bd68a379aaec7ad2be0337f7a","fixed":"77072ec41d6ab3718c3fc639bc149b8037caedfa","status":"affected"},{"type":"git","introduced":"42e9a92fe6a9095bd68a379aaec7ad2be0337f7a","fixed":"b549acf999824d4f751ca57965700372f2f3ad00","status":"affected"},{"type":"git","introduced":"42e9a92fe6a9095bd68a379aaec7ad2be0337f7a","fixed":"bb83f79f90e92f46466adcfd4fd264a7ae0f0f01","status":"affected"},{"type":"git","introduced":"42e9a92fe6a9095bd68a379aaec7ad2be0337f7a","fixed":"56d78b5495ebecbb9395101f3be177cd0a52450b","status":"affected"},{"type":"git","introduced":"42e9a92fe6a9095bd68a379aaec7ad2be0337f7a","fixed":"442fd24d7b6b29e4a9cd9225afba4142d5f522ba","status":"affected"},{"type":"git","introduced":"42e9a92fe6a9095bd68a379aaec7ad2be0337f7a","fixed":"f6fe7261b92b21109678747f36df9fdab1e30c34","status":"affected"},{"type":"git","introduced":"42e9a92fe6a9095bd68a379aaec7ad2be0337f7a","fixed":"6b9ecf4e1032e645873933e5b43cbb84cac19106","status":"affected"},{"type":"git","introduced":"42e9a92fe6a9095bd68a379aaec7ad2be0337f7a","fixed":"4df105f0ce9f6f30cda4e99f577150d23f0c9c5f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.29","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.29","status":"unaffected"},{"type":"semver","introduced":"4.14.331","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.300","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.262","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.202","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.140","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.64","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.5.13","lastAffected":"6.5.*","status":"unaffected"},{"type":"semver","introduced":"6.6.3","lastAffected":"6.6.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.7","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":"4.14.331"},{"status":"affected","introduced":"4.15","fixed":"4.19.300"},{"status":"affected","introduced":"4.20","fixed":"5.4.262"},{"status":"affected","introduced":"5.5","fixed":"5.10.202"},{"status":"affected","introduced":"5.11","fixed":"5.15.140"},{"status":"affected","introduced":"5.16","fixed":"6.1.64"},{"status":"affected","introduced":"6.2","fixed":"6.5.13"},{"status":"affected","introduced":"6.6","fixed":"6.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/930f0aaba4820d6362de4e6ed569eaf444f1ea4e","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/77072ec41d6ab3718c3fc639bc149b8037caedfa","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b549acf999824d4f751ca57965700372f2f3ad00","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bb83f79f90e92f46466adcfd4fd264a7ae0f0f01","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/56d78b5495ebecbb9395101f3be177cd0a52450b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/442fd24d7b6b29e4a9cd9225afba4142d5f522ba","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f6fe7261b92b21109678747f36df9fdab1e30c34","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6b9ecf4e1032e645873933e5b43cbb84cac19106","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4df105f0ce9f6f30cda4e99f577150d23f0c9c5f","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T15:36:44.046Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-52809","url":"https://www.cve.org/CVERecord?id=CVE-2023-52809","licence":"CVE Terms of Use","modified":"2026-05-11T19:33:31.862Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-52809","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52809","licence":"Public domain","modified":"2026-06-17T06:43:37.970Z"}],"updatedAt":"2026-11-25T22:58:34.031Z","epss":{"score":0.00251,"percentile":0.17643,"date":"2026-12-01T12:00:22.000Z"}}