CVE-2025-38332 Details
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.
A vulnerability in the Linux kernel's lpfc SCSI driver has been addressed. The issue arose from the improper use of string handling functions, which led to a system panic. The original implementation used 'strlcat()' with FORTIFY support, causing a false alarm about a potential buffer overflow, despite the correct buffer size being provided. This vulnerability affected the BIOSVersion string, which is logged by 'lpfc_printf_log()' that requires a properly terminated string. The solution involved replacing 'strlcat()' with 'memcpy()' to ensure correct buffer management and null termination.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/003baa7a1a152576d744bd655820449bbdb0248e | kernel.org | Patch |
| https://git.kernel.org/stable/c/2f63bf0d2b146956a2f2ff3b25cee71019e64561 | kernel.org | Patch |
| https://git.kernel.org/stable/c/34c0a670556b24d36c9f8934227edb819ca5609e | kernel.org | Patch |
| https://git.kernel.org/stable/c/75ea8375c5a83f46c47bfb3de6217c7589a8df93 | kernel.org | Patch |
| https://git.kernel.org/stable/c/ac7bfaa099ec3e4d7dfd0ab9726fc3bc7911365d | kernel.org | Patch |
| https://git.kernel.org/stable/c/ae82eaf4aeea060bb736c3e20c0568b67c701d7d | kernel.org | Patch |
| https://git.kernel.org/stable/c/b699bda5db818b684ff62d140defd6394f38f3d6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d34f2384d6df11a6c67039b612c2437f46e587e8 | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html | CVE | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html | CVE | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-Other | Weakness Not in a Standard CWE Category | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | < 5.4.295 >= 5.5, < 5.10.239 >= 5.11, < 5.15.186 >= 5.16, < 6.1.142 >= 6.2, < 6.6.95 >= 6.7, < 6.12.35 >= 6.13, < 6.15.4 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 19, 2025 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Jul 10, 2025 | New CVE Received | kernel.org |