scsi: lpfc: Use memcpy() for BIOS version (Linux Linux)

CVE-2025-38332
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 12 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Use memcpy() for BIOS version The strlcat() with FORTIFY support is triggering a panic because it thinks the target buffer will overflow although the correct target buffer size is passed in. Anyway, instead of memset() with 0 followed by a strlcat(), just use memcpy() and ensure that the resulting buffer is NULL terminated. BIOSVersion is only used for the lpfc_printf_log() which expects a properly terminated string.

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 b3b4f3e1d575fe142fd437158425c2359b695ff1 < ac7bfaa099ec3e4d7dfd0ab9726fc3bc7911365d ; affected b3b4f3e1d575fe142fd437158425c2359b695ff1 < b699bda5db818b684ff62d140defd6394f38f3d6 ; affected b3b4f3e1d575fe142fd437158425c2359b695ff1 < d34f2384d6df11a6c67039b612c2437f46e587e8 ; affected b3b4f3e1d575fe142fd437158425c2359b695ff1 < 75ea8375c5a83f46c47bfb3de6217c7589a8df93 ; affected b3b4f3e1d575fe142fd437158425c2359b695ff1 < 34c0a670556b24d36c9f8934227edb819ca5609e ; affected b3b4f3e1d575fe142fd437158425c2359b695ff1 < 2f63bf0d2b146956a2f2ff3b25cee71019e64561
Linux · Linuxaffected 5.2 ; unaffected 0 < 5.2 ; unaffected 5.4.295 ≤ 5.4.* ; unaffected 5.10.239 ≤ 5.10.* ; unaffected 5.15.186 ≤ 5.15.* ; unaffected 6.1.142 ≤ 6.1.*

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