Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-38332

scsi: lpfc: Use memcpy() for BIOS version

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • b3b4f3e1d575fe142fd437158425c2359b695ff1 to < ac7bfaa099ec3e4d7dfd0ab9726fc3bc7911365daffected
  • b3b4f3e1d575fe142fd437158425c2359b695ff1 to < b699bda5db818b684ff62d140defd6394f38f3d6affected
  • b3b4f3e1d575fe142fd437158425c2359b695ff1 to < d34f2384d6df11a6c67039b612c2437f46e587e8affected
  • b3b4f3e1d575fe142fd437158425c2359b695ff1 to < 75ea8375c5a83f46c47bfb3de6217c7589a8df93affected
  • b3b4f3e1d575fe142fd437158425c2359b695ff1 to < 34c0a670556b24d36c9f8934227edb819ca5609eaffected
  • b3b4f3e1d575fe142fd437158425c2359b695ff1 to < 2f63bf0d2b146956a2f2ff3b25cee71019e64561affected
  • b3b4f3e1d575fe142fd437158425c2359b695ff1 to < 003baa7a1a152576d744bd655820449bbdb0248eaffected
  • b3b4f3e1d575fe142fd437158425c2359b695ff1 to < ae82eaf4aeea060bb736c3e20c0568b67c701d7daffected

Linux Linux

Default version status: affected

  • 5.2affected
  • 0 to < 5.2unaffected
  • 5.4.295 to ≤ 5.4.*unaffected
  • 5.10.239 to ≤ 5.10.*unaffected
  • 5.15.186 to ≤ 5.15.*unaffected
  • 6.1.142 to ≤ 6.1.*unaffected
  • 6.6.95 to ≤ 6.6.*unaffected
  • 6.12.35 to ≤ 6.12.*unaffected
  • 6.15.4 to ≤ 6.15.*unaffected
  • 6.16 to ≤ *unaffected

References