CVE-2025-38332

Source
https://cve.org/CVERecord?id=CVE-2025-38332
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38332.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38332
Downstream
Related
Published
2025-07-10T08:15:05.102Z
Modified
2026-03-12T02:16:31.092854Z
Summary
scsi: lpfc: Use memcpy() for BIOS version
Details

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 lpfcprintflog() which expects a properly terminated string.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38332.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b3b4f3e1d575fe142fd437158425c2359b695ff1
Fixed
ac7bfaa099ec3e4d7dfd0ab9726fc3bc7911365d
Fixed
b699bda5db818b684ff62d140defd6394f38f3d6
Fixed
d34f2384d6df11a6c67039b612c2437f46e587e8
Fixed
75ea8375c5a83f46c47bfb3de6217c7589a8df93
Fixed
34c0a670556b24d36c9f8934227edb819ca5609e
Fixed
2f63bf0d2b146956a2f2ff3b25cee71019e64561
Fixed
003baa7a1a152576d744bd655820449bbdb0248e
Fixed
ae82eaf4aeea060bb736c3e20c0568b67c701d7d

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38332.json"