All reports
Medium

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-38332

Probability of exploitation in the next 30 days: 0.22%

FIRST EPSS · 2026-11-19

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.

A flaw was found in the Linux kernel's lpfc driver. When handling the storage adapter BIOS version string, string concatenation triggers kernel memory safety checks that detect an unexpected buffer size and force a kernel panic. A local user or hardware initialization event can trigger this issue to crash the system, resulting in a Denial of Service (DoS).