{"id":"CVE-2023-52809","summary":"scsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup()","details":"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.","modified":"2026-04-11T12:46:36.343915Z","published":"2024-05-21T15:31:18.982Z","related":["ALSA-2024:4928","ALSA-2024:7000","SUSE-SU-2024:2008-1","SUSE-SU-2024:2019-1","SUSE-SU-2024:2190-1","SUSE-SU-2024:2360-1","SUSE-SU-2024:2381-1","SUSE-SU-2024:2561-1","SUSE-SU-2024:2571-1","SUSE-SU-2024:2896-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52809.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/442fd24d7b6b29e4a9cd9225afba4142d5f522ba"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4df105f0ce9f6f30cda4e99f577150d23f0c9c5f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/56d78b5495ebecbb9395101f3be177cd0a52450b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6b9ecf4e1032e645873933e5b43cbb84cac19106"},{"type":"WEB","url":"https://git.kernel.org/stable/c/77072ec41d6ab3718c3fc639bc149b8037caedfa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/930f0aaba4820d6362de4e6ed569eaf444f1ea4e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b549acf999824d4f751ca57965700372f2f3ad00"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bb83f79f90e92f46466adcfd4fd264a7ae0f0f01"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f6fe7261b92b21109678747f36df9fdab1e30c34"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52809.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52809"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"42e9a92fe6a9095bd68a379aaec7ad2be0337f7a"},{"fixed":"930f0aaba4820d6362de4e6ed569eaf444f1ea4e"},{"fixed":"77072ec41d6ab3718c3fc639bc149b8037caedfa"},{"fixed":"b549acf999824d4f751ca57965700372f2f3ad00"},{"fixed":"bb83f79f90e92f46466adcfd4fd264a7ae0f0f01"},{"fixed":"56d78b5495ebecbb9395101f3be177cd0a52450b"},{"fixed":"442fd24d7b6b29e4a9cd9225afba4142d5f522ba"},{"fixed":"f6fe7261b92b21109678747f36df9fdab1e30c34"},{"fixed":"6b9ecf4e1032e645873933e5b43cbb84cac19106"},{"fixed":"4df105f0ce9f6f30cda4e99f577150d23f0c9c5f"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52809.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.29"},{"fixed":"4.14.331"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"4.19.300"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.262"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.202"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.140"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.64"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.5.13"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.6.0"},{"fixed":"6.6.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52809.json"}}],"schema_version":"1.7.5"}