CVE-2023-52809
scsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup()
Check your servers for CVE-2023-52809
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-52809 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 17.6% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a, before 930f0aaba4820d6362de4e6ed569eaf444f1ea4e affected from 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a, before 77072ec41d6ab3718c3fc639bc149b8037caedfa affected from 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a, before b549acf999824d4f751ca57965700372f2f3ad00 affected from 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a, before bb83f79f90e92f46466adcfd4fd264a7ae0f0f01 affected from 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a, before 56d78b5495ebecbb9395101f3be177cd0a52450b affected from 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a, before 442fd24d7b6b29e4a9cd9225afba4142d5f522ba affected from 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a, before f6fe7261b92b21109678747f36df9fdab1e30c34 affected from 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a, before 6b9ecf4e1032e645873933e5b43cbb84cac19106 affected from 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a, before 4df105f0ce9f6f30cda4e99f577150d23f0c9c5f
Other versions: unaffected
|
| Linux |
affected 2.6.29 unaffected before 2.6.29 unaffected from 4.14.331 up to and including 4.14.* unaffected from 4.19.300 up to and including 4.19.* unaffected from 5.4.262 up to and including 5.4.* unaffected from 5.10.202 up to and including 5.10.* unaffected from 5.15.140 up to and including 5.15.* unaffected from 6.1.64 up to and including 6.1.* unaffected from 6.5.13 up to and including 6.5.* unaffected from 6.6.3 up to and including 6.6.* unaffected 6.7 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-52809 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-52809
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-52809
trivy image --scanners vuln IMAGE | grep CVE-2023-52809
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/930f0aaba4820d6362de4e6ed569eaf444f1ea4e git.kernel.org
- https://git.kernel.org/stable/c/77072ec41d6ab3718c3fc639bc149b8037caedfa git.kernel.org
- https://git.kernel.org/stable/c/b549acf999824d4f751ca57965700372f2f3ad00 git.kernel.org
- https://git.kernel.org/stable/c/bb83f79f90e92f46466adcfd4fd264a7ae0f0f01 git.kernel.org
- https://git.kernel.org/stable/c/56d78b5495ebecbb9395101f3be177cd0a52450b git.kernel.org
- https://git.kernel.org/stable/c/442fd24d7b6b29e4a9cd9225afba4142d5f522ba git.kernel.org
- https://git.kernel.org/stable/c/f6fe7261b92b21109678747f36df9fdab1e30c34 git.kernel.org
- https://git.kernel.org/stable/c/6b9ecf4e1032e645873933e5b43cbb84cac19106 git.kernel.org
- https://git.kernel.org/stable/c/4df105f0ce9f6f30cda4e99f577150d23f0c9c5f git.kernel.org
Source: the record CVE-2023-52809 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse