CVE-2025-38332

scsi: lpfc: Use memcpy() for BIOS version

MEDIUM
5.5
CVSS Score
Published: July 10, 2025 at 08:15 AM UTC
Updated: June 17, 2026 at 09:16 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.4.2955.11 ≤ v < 5.15.1865.16 ≤ v < 6.1.1425.2 ≤ v < 5.10.2395.2 ≤ v < 5.15.1865.2 ≤ v < 5.4.2955.2 ≤ v < 6.1.1425.2 ≤ v < 6.12.355.2 ≤ v < 6.15.45.2 ≤ v < 6.165.2 ≤ v < 6.6.955.5 ≤ v < 5.10.2396.13 ≤ v < 6.15.46.2 ≤ v < 6.6.956.7 ≤ v < 6.12.355.2b3b4f3e1d575fe142fd437158425c2359b695ff1
Vendor states this is fixed in 003baa7a1a152576d744bd655820449bbdb0248e (fixed)
Vendor states this is fixed in 2f63bf0d2b146956a2f2ff3b25cee71019e64561 (fixed)
Vendor states this is fixed in 34c0a670556b24d36c9f8934227edb819ca5609e (fixed)
Vendor states this is fixed in 75ea8375c5a83f46c47bfb3de6217c7589a8df93 (fixed)
Vendor states this is fixed in ac7bfaa099ec3e4d7dfd0ab9726fc3bc7911365d (fixed)
Vendor states this is fixed in ae82eaf4aeea060bb736c3e20c0568b67c701d7d (fixed)
Vendor states this is fixed in b699bda5db818b684ff62d140defd6394f38f3d6 (fixed)
Vendor states this is fixed in d34f2384d6df11a6c67039b612c2437f46e587e8 (fixed)
Vendor states this is fixed in 5.10.239 (unaffected)
Vendor states this is fixed in 5.15.186 (unaffected)
Vendor states this is fixed in 5.2 (unaffected)
Vendor states this is fixed in 5.4.295 (unaffected)
Vendor states this is fixed in 6.1.142 (unaffected)
Vendor states this is fixed in 6.12.35 (unaffected)
Vendor states this is fixed in 6.15.4 (unaffected)
Vendor states this is fixed in 6.16 (unaffected)
Vendor states this is fixed in 6.6.95 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/003baa7a1a152576d744bd655820449bbdb0248e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2f63bf0d2b146956a2f2ff3b25cee71019e64561
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/34c0a670556b24d36c9f8934227edb819ca5609e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/75ea8375c5a83f46c47bfb3de6217c7589a8df93
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ac7bfaa099ec3e4d7dfd0ab9726fc3bc7911365d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ae82eaf4aeea060bb736c3e20c0568b67c701d7d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b699bda5db818b684ff62d140defd6394f38f3d6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d34f2384d6df11a6c67039b612c2437f46e587e8

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card