Description
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.
Metrics
CVSS 3.1 5.5/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a, < 930f0aaba4820d6362de4e6ed569eaf444f1ea4e; >= 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a, < 77072ec41d6ab3718c3fc639bc149b8037caedfa; >= 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a, < b549acf999824d4f751ca57965700372f2f3ad00; >= 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a, < bb83f79f90e92f46466adcfd4fd264a7ae0f0f01; >= 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a, < 56d78b5495ebecbb9395101f3be177cd0a52450b; >= 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a, < 442fd24d7b6b29e4a9cd9225afba4142d5f522ba; >= 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a, < f6fe7261b92b21109678747f36df9fdab1e30c34; >= 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a, < 6b9ecf4e1032e645873933e5b43cbb84cac19106; >= 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a, < 4df105f0ce9f6f30cda4e99f577150d23f0c9c5f |
| Linux | Linux | 2.6.29 |
References
- https://git.kernel.org/stable/c/442fd24d7b6b29e4a9cd9225afba4142d5f522baPatch
- https://git.kernel.org/stable/c/4df105f0ce9f6f30cda4e99f577150d23f0c9c5fPatch
- https://git.kernel.org/stable/c/56d78b5495ebecbb9395101f3be177cd0a52450bPatch
- https://git.kernel.org/stable/c/6b9ecf4e1032e645873933e5b43cbb84cac19106Patch
- https://git.kernel.org/stable/c/77072ec41d6ab3718c3fc639bc149b8037caedfaPatch
- https://git.kernel.org/stable/c/930f0aaba4820d6362de4e6ed569eaf444f1ea4ePatch
- https://git.kernel.org/stable/c/b549acf999824d4f751ca57965700372f2f3ad00Patch
- https://git.kernel.org/stable/c/bb83f79f90e92f46466adcfd4fd264a7ae0f0f01Patch
- https://git.kernel.org/stable/c/f6fe7261b92b21109678747f36df9fdab1e30c34Patch
- https://git.kernel.org/stable/c/442fd24d7b6b29e4a9cd9225afba4142d5f522baPatch
- https://git.kernel.org/stable/c/4df105f0ce9f6f30cda4e99f577150d23f0c9c5fPatch
- https://git.kernel.org/stable/c/56d78b5495ebecbb9395101f3be177cd0a52450bPatch
- https://git.kernel.org/stable/c/6b9ecf4e1032e645873933e5b43cbb84cac19106Patch
- https://git.kernel.org/stable/c/77072ec41d6ab3718c3fc639bc149b8037caedfaPatch
- https://git.kernel.org/stable/c/930f0aaba4820d6362de4e6ed569eaf444f1ea4ePatch
- https://git.kernel.org/stable/c/b549acf999824d4f751ca57965700372f2f3ad00Patch
- https://git.kernel.org/stable/c/bb83f79f90e92f46466adcfd4fd264a7ae0f0f01Patch
- https://git.kernel.org/stable/c/f6fe7261b92b21109678747f36df9fdab1e30c34Patch
Timeline
- Published
- May 21, 2024
- Last modified
- Jun 17, 2026
- NVD status
- Modified