CVE-2023-52809 scsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup()
A missing NULL check in the Linux kernel's libfc SCSI driver can cause a crash, leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-52809?
CVE-2023-52809 is a medium-severity vulnerability in Linux kernel, published on 21 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.
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.
Weakness: CWE-476
Which versions are affected by CVE-2023-52809?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2023-52809?
Apply the vendor's patch.
Is CVE-2023-52809 being exploited?
There is no known exploitation of CVE-2023-52809 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2023-52809, DEBIAN-CVE-2023-52809, GHSA-rgr4-wrx9-jm8q, UBUNTU-CVE-2023-52809.