CVE-2023-52809

published 21 May 2024 · updated 11 May 2026

scsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 442fd24d7b6b29e4a9cd9225afba4142d5f522ba, Kernel 4df105f0ce9f6f30cda4e99f577150d23f0c9c5f, Kernel 56d78b5495ebecbb9395101f3be177cd0a52450b and 6 more.

In the Linux kernel, the following vulnerability has been resolved: scsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup() fc_lport_ptp_setup() did not check the return value of fc_rport_create() which can return NULL and would cause a NULL pointer dereference. Address this issue by checking return value of fc_rport_create() and log error message on fc_rport_create() failed.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=2.6.29, >=42e9a92fe6a9095bd68a379aaec7ad2be0337f7a <442fd24d7b6b29e4a9cd9225afba4142d5f522ba, >=42e9a92fe6a9095bd68a379aaec7ad2be0337f7a <4df105f0ce9f6f30cda4e99f577150d23f0c9c5f, >=42e9a92fe6a9095bd68a379aaec7ad2be0337f7a <56d78b5495ebecbb9395101f3be177cd0a52450b, >=42e9a92fe6a9095bd68a379aaec7ad2be0337f7a <6b9ecf4e1032e645873933e5b43cbb84cac19106, >=42e9a92fe6a9095bd68a379aaec7ad2be0337f7a <77072ec41d6ab3718c3fc639bc149b8037caedfa, >=42e9a92fe6a9095bd68a379aaec7ad2be0337f7a <930f0aaba4820d6362de4e6ed569eaf444f1ea4e, >=42e9a92fe6a9095bd68a379aaec7ad2be0337f7a <b549acf999824d4f751ca57965700372f2f3ad00, >=42e9a92fe6a9095bd68a379aaec7ad2be0337f7a <bb83f79f90e92f46466adcfd4fd264a7ae0f0f01, >=42e9a92fe6a9095bd68a379aaec7ad2be0337f7a <f6fe7261b92b21109678747f36df9fdab1e30c34442fd24d7b6b29e4a9cd9225afba4142d5f522ba, 4df105f0ce9f6f30cda4e99f577150d23f0c9c5f, 56d78b5495ebecbb9395101f3be177cd0a52450b, 6b9ecf4e1032e645873933e5b43cbb84cac19106, 77072ec41d6ab3718c3fc639bc149b8037caedfa, 930f0aaba4820d6362de4e6ed569eaf444f1ea4e, b549acf999824d4f751ca57965700372f2f3ad00, bb83f79f90e92f46466adcfd4fd264a7ae0f0f01, f6fe7261b92b21109678747f36df9fdab1e30c34

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-52809 severity on Zeptric[![CVE-2023-52809](https://zeptric.io/badge/cve/CVE-2023-52809.svg)](https://zeptric.io/cve/CVE-2023-52809)