CVE-2025-38332
scsi: lpfc: Use memcpy() for BIOS version
Check your servers for CVE-2025-38332
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38332 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.8% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Jun 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from b3b4f3e1d575fe142fd437158425c2359b695ff1, before ac7bfaa099ec3e4d7dfd0ab9726fc3bc7911365d affected from b3b4f3e1d575fe142fd437158425c2359b695ff1, before b699bda5db818b684ff62d140defd6394f38f3d6 affected from b3b4f3e1d575fe142fd437158425c2359b695ff1, before d34f2384d6df11a6c67039b612c2437f46e587e8 affected from b3b4f3e1d575fe142fd437158425c2359b695ff1, before 75ea8375c5a83f46c47bfb3de6217c7589a8df93 affected from b3b4f3e1d575fe142fd437158425c2359b695ff1, before 34c0a670556b24d36c9f8934227edb819ca5609e affected from b3b4f3e1d575fe142fd437158425c2359b695ff1, before 2f63bf0d2b146956a2f2ff3b25cee71019e64561 affected from b3b4f3e1d575fe142fd437158425c2359b695ff1, before 003baa7a1a152576d744bd655820449bbdb0248e affected from b3b4f3e1d575fe142fd437158425c2359b695ff1, before ae82eaf4aeea060bb736c3e20c0568b67c701d7d
Other versions: unaffected
|
| Linux |
affected 5.2 unaffected before 5.2 unaffected from 5.4.295 up to and including 5.4.* unaffected from 5.10.239 up to and including 5.10.* unaffected from 5.15.186 up to and including 5.15.* unaffected from 6.1.142 up to and including 6.1.* unaffected from 6.6.95 up to and including 6.6.* unaffected from 6.12.35 up to and including 6.12.* unaffected from 6.15.4 up to and including 6.15.* unaffected 6.16 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38332 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38332
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-38332
trivy image --scanners vuln IMAGE | grep CVE-2025-38332
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/ac7bfaa099ec3e4d7dfd0ab9726fc3bc7911365d git.kernel.org
- https://git.kernel.org/stable/c/b699bda5db818b684ff62d140defd6394f38f3d6 git.kernel.org
- https://git.kernel.org/stable/c/d34f2384d6df11a6c67039b612c2437f46e587e8 git.kernel.org
- https://git.kernel.org/stable/c/75ea8375c5a83f46c47bfb3de6217c7589a8df93 git.kernel.org
- https://git.kernel.org/stable/c/34c0a670556b24d36c9f8934227edb819ca5609e git.kernel.org
- https://git.kernel.org/stable/c/2f63bf0d2b146956a2f2ff3b25cee71019e64561 git.kernel.org
- https://git.kernel.org/stable/c/003baa7a1a152576d744bd655820449bbdb0248e git.kernel.org
- https://git.kernel.org/stable/c/ae82eaf4aeea060bb736c3e20c0568b67c701d7d git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html lists.debian.org
Source: the record CVE-2025-38332 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse