NetSight
medium5.5

CVE-2023-52809

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_se…

Impact

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 products

VendorProductAffected versions
LinuxLinux Kernel
before 4.14.331
from 4.15 before 4.19.300
from 4.20 before 5.4.262
from 5.5 before 5.10.202
from 5.11 before 5.15.140
from 5.16 before 6.1.64

Weakness classification

References