Vulnerability · Published May 21, 2024 · Assigned by Linux
CVE-2023-52809scsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup()
Medium 5.5
In plain English
A medium-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | bpftool | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux:9 | bpftool | 7.3.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:8 | kernel | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux:9 | kernel | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-64k | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-64k-core | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-64k-debug | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-64k-debug-core | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-64k-debug-devel | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-64k-debug-devel-matched | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-64k-debug-modules | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-64k-debug-modules-core | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-64k-debug-modules-extra | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-64k-devel | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-64k-devel-matched | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-64k-modules | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-64k-modules-core | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-64k-modules-extra | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:8 | kernel-abi-stablelists | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux:9 | kernel-abi-stablelists | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:8 | kernel-core | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux:9 | kernel-core | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:8 | kernel-cross-headers | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux:9 | kernel-cross-headers | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:8 | kernel-debug | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux:9 | kernel-debug | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:8 | kernel-debug-core | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux:9 | kernel-debug-core | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:8 | kernel-debug-devel | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux:9 | kernel-debug-devel | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-debug-devel-matched | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:8 | kernel-debug-modules | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux:9 | kernel-debug-modules | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-debug-modules-core | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:8 | kernel-debug-modules-extra | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux:9 | kernel-debug-modules-extra | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-debug-uki-virt | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:8 | kernel-devel | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux:9 | kernel-devel | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-devel-matched | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:8 | kernel-doc | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux:9 | kernel-doc | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:8 | kernel-headers | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux:9 | kernel-headers | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:8 | kernel-modules | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux:9 | kernel-modules | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-modules-core | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:8 | kernel-modules-extra | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux:9 | kernel-modules-extra | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-rt | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-rt-core | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-rt-debug | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-rt-debug-core | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-rt-debug-devel | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-rt-debug-modules | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-rt-debug-modules-core | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-rt-debug-modules-extra | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-rt-devel | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-rt-modules | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-rt-modules-core | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-rt-modules-extra | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:8 | kernel-tools | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux:9 | kernel-tools | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:8 | kernel-tools-libs | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux:9 | kernel-tools-libs | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:8 | kernel-tools-libs-devel | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux:9 | kernel-tools-libs-devel | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-uki-virt | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:8 | kernel-zfcpdump | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux:9 | kernel-zfcpdump | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:8 | kernel-zfcpdump-core | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux:9 | kernel-zfcpdump-core | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:8 | kernel-zfcpdump-devel | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux:9 | kernel-zfcpdump-devel | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-zfcpdump-devel-matched | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:8 | kernel-zfcpdump-modules | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux:9 | kernel-zfcpdump-modules | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | kernel-zfcpdump-modules-core | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:8 | kernel-zfcpdump-modules-extra | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux:9 | kernel-zfcpdump-modules-extra | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | libperf | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:8 | perf | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux:9 | perf | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:8 | python3-perf | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux:9 | python3-perf | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | rtla | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| AlmaLinux:9 | rv | 5.14.0-427.28.1.el9_4 | ALSA-2024:4928 |
| Debian:12 | linux | 6.1.64-1 | DEBIAN-CVE-2023-52809 |
| Debian:13 | linux | 6.6.8-1 | DEBIAN-CVE-2023-52809 |
| Debian:14 | linux | 6.6.8-1 | DEBIAN-CVE-2023-52809 |
| Rocky Linux:8 | kernel | 0:4.18.0-553.22.1.el8_10 | RLSA-2024:7000 |
| Rocky Linux:9 | kernel | 0:5.14.0-427.28.1.el9_4 | RLSA-2024:4928 |
| Rocky Linux:9 | kernel | 0:5.14.0-427.28.1.el9_4.cloud.1.0 | RXSA-2024:4928 |
| Ubuntu:22.04:LTS | linux | 5.15.0-100.110 | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1056.61 | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1058.66 | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1058.66.1 | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1053.61 | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1052.57 | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1038.44 | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1048.51 | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1050.56 | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1052.57 | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-100.110 | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1046.46 | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | 6.5.0-1014.14 | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1025.25 | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1012.12 | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1053.59 | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1048.51 | UBUNTU-CVE-2023-52809 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2023-52809 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1030.34 | UBUNTU-CVE-2023-52809 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a – before 930f0aaba4820d6362de4e6ed569eaf444f1ea4e42e9a92fe6a9095bd68a379aaec7ad2be0337f7a – before 77072ec41d6ab3718c3fc639bc149b8037caedfa42e9a92fe6a9095bd68a379aaec7ad2be0337f7a – before b549acf999824d4f751ca57965700372f2f3ad0042e9a92fe6a9095bd68a379aaec7ad2be0337f7a – before bb83f79f90e92f46466adcfd4fd264a7ae0f0f0142e9a92fe6a9095bd68a379aaec7ad2be0337f7a – before 56d78b5495ebecbb9395101f3be177cd0a52450b42e9a92fe6a9095bd68a379aaec7ad2be0337f7a – before 442fd24d7b6b29e4a9cd9225afba4142d5f522ba42e9a92fe6a9095bd68a379aaec7ad2be0337f7a – before f6fe7261b92b21109678747f36df9fdab1e30c3442e9a92fe6a9095bd68a379aaec7ad2be0337f7a – before 6b9ecf4e1032e645873933e5b43cbb84cac19106 |
| Linux | Linux | 2.6.29 |
References
- https://git.kernel.org/stable/c/930f0aaba4820d6362de4e6ed569eaf444f1ea4e
- https://git.kernel.org/stable/c/77072ec41d6ab3718c3fc639bc149b8037caedfa
- https://git.kernel.org/stable/c/b549acf999824d4f751ca57965700372f2f3ad00
- https://git.kernel.org/stable/c/bb83f79f90e92f46466adcfd4fd264a7ae0f0f01
- https://git.kernel.org/stable/c/56d78b5495ebecbb9395101f3be177cd0a52450b
- https://git.kernel.org/stable/c/442fd24d7b6b29e4a9cd9225afba4142d5f522ba
- https://git.kernel.org/stable/c/f6fe7261b92b21109678747f36df9fdab1e30c34
- https://git.kernel.org/stable/c/6b9ecf4e1032e645873933e5b43cbb84cac19106
- https://git.kernel.org/stable/c/4df105f0ce9f6f30cda4e99f577150d23f0c9c5f