scsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a · < 442fd24d7b6b29e4a9cd9225afba4142d5f522ba| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s libfc component can dereference a NULL pointer if fc_rport_create() fails during fc_lport_ptp_setup(). The input does not specify how an attacker could trigger the failure or whether access or user interaction is required.
Engineers running the Linux kernel should check their versions; affected versions are not specified.