CVE-2025-38332

scsi: lpfc: Use memcpy() for BIOS version

published July 10, 2025

CVSS
—
EPSS
0%
Percentile
11.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00216 · 11.4th percentile
Published
2025-07-10T08:15Z
EPSS history
Timeline
  • 10 JUL 08:15Z
    scsi: lpfc: Use memcpy() for BIOS version
    cvelistv5