CVE-2023-52809

scsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup()

MEDIUM
5.5
CVSS Score
Published: May 21, 2024 at 03:31 PM UTC
Updated: June 17, 2026 at 06:43 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.14.3312.6.29 ≤ v < 4.14.3312.6.29 ≤ v < 4.19.3002.6.29 ≤ v < 5.10.2022.6.29 ≤ v < 5.15.1402.6.29 ≤ v < 5.4.2622.6.29 ≤ v < 6.1.642.6.29 ≤ v < 6.5.132.6.29 ≤ v < 6.6.32.6.29 ≤ v < 6.74.15 ≤ v < 4.19.3004.20 ≤ v < 5.4.2625.11 ≤ v < 5.15.1405.16 ≤ v < 6.1.645.5 ≤ v < 5.10.2026.2 ≤ v < 6.5.136.6 ≤ v < 6.6.32.6.2942e9a92fe6a9095bd68a379aaec7ad2be0337f7a
Vendor states this is fixed in 442fd24d7b6b29e4a9cd9225afba4142d5f522ba (fixed)
Vendor states this is fixed in 4df105f0ce9f6f30cda4e99f577150d23f0c9c5f (fixed)
Vendor states this is fixed in 56d78b5495ebecbb9395101f3be177cd0a52450b (fixed)
Vendor states this is fixed in 6b9ecf4e1032e645873933e5b43cbb84cac19106 (fixed)
Vendor states this is fixed in 77072ec41d6ab3718c3fc639bc149b8037caedfa (fixed)
Vendor states this is fixed in 930f0aaba4820d6362de4e6ed569eaf444f1ea4e (fixed)
Vendor states this is fixed in b549acf999824d4f751ca57965700372f2f3ad00 (fixed)
Vendor states this is fixed in bb83f79f90e92f46466adcfd4fd264a7ae0f0f01 (fixed)
Vendor states this is fixed in f6fe7261b92b21109678747f36df9fdab1e30c34 (fixed)
Vendor states this is fixed in 2.6.29 (unaffected)
Vendor states this is fixed in 4.14.331 (unaffected)
Vendor states this is fixed in 4.19.300 (unaffected)
Vendor states this is fixed in 5.10.202 (unaffected)
Vendor states this is fixed in 5.15.140 (unaffected)
Vendor states this is fixed in 5.4.262 (unaffected)
Vendor states this is fixed in 6.1.64 (unaffected)
Vendor states this is fixed in 6.5.13 (unaffected)
Vendor states this is fixed in 6.6.3 (unaffected)
Vendor states this is fixed in 6.7 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/442fd24d7b6b29e4a9cd9225afba4142d5f522ba
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4df105f0ce9f6f30cda4e99f577150d23f0c9c5f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/56d78b5495ebecbb9395101f3be177cd0a52450b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6b9ecf4e1032e645873933e5b43cbb84cac19106
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/77072ec41d6ab3718c3fc639bc149b8037caedfa
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/930f0aaba4820d6362de4e6ed569eaf444f1ea4e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b549acf999824d4f751ca57965700372f2f3ad00
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bb83f79f90e92f46466adcfd4fd264a7ae0f0f01

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card