CVE-2025-38332

Source
https://nvd.nist.gov/vuln/detail/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
2025-11-28T02:34:48.531403Z
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
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Fixed
ac7bfaa099ec3e4d7dfd0ab9726fc3bc7911365d
Fixed
b699bda5db818b684ff62d140defd6394f38f3d6
Fixed
d34f2384d6df11a6c67039b612c2437f46e587e8
Fixed
75ea8375c5a83f46c47bfb3de6217c7589a8df93
Fixed
34c0a670556b24d36c9f8934227edb819ca5609e
Fixed
2f63bf0d2b146956a2f2ff3b25cee71019e64561
Fixed
003baa7a1a152576d744bd655820449bbdb0248e
Fixed
ae82eaf4aeea060bb736c3e20c0568b67c701d7d

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.4.295
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.239
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.186
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.142
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.95
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.35
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.15.4