CVE-2023-52809

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

MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.25 % · percentile 16 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a < 930f0aaba4820d6362de4e6ed569eaf444f1ea4e ; affected 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a < 77072ec41d6ab3718c3fc639bc149b8037caedfa ; affected 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a < b549acf999824d4f751ca57965700372f2f3ad00 ; affected 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a < bb83f79f90e92f46466adcfd4fd264a7ae0f0f01 ; affected 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a < 56d78b5495ebecbb9395101f3be177cd0a52450b ; affected 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a < 442fd24d7b6b29e4a9cd9225afba4142d5f522ba
Linux · Linuxaffected 2.6.29 ; unaffected 0 < 2.6.29 ; unaffected 4.14.331 ≤ 4.14.* ; unaffected 4.19.300 ≤ 4.19.* ; unaffected 5.4.262 ≤ 5.4.* ; unaffected 5.10.202 ≤ 5.10.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD