CVEvulnerability
CVE-2025-38332
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2025-07-10
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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 configurations
• linux linux kernel (< 5.4.295)
• linux linux kernel (>= 5.5 < 5.10.239)
• linux linux kernel (>= 5.11 < 5.15.186)
• linux linux kernel (>= 5.16 < 6.1.142)
• linux linux kernel (>= 6.2 < 6.6.95)
• linux linux kernel (>= 6.7 < 6.12.35)
• linux linux kernel (>= 6.13 < 6.15.4)
• debian debian linux 11.0
References
- https://git.kernel.org/stable/c/003baa7a1a152576d744bd655820449bbdb0248e Patch
- https://git.kernel.org/stable/c/2f63bf0d2b146956a2f2ff3b25cee71019e64561 Patch
- https://git.kernel.org/stable/c/34c0a670556b24d36c9f8934227edb819ca5609e Patch
- https://git.kernel.org/stable/c/75ea8375c5a83f46c47bfb3de6217c7589a8df93 Patch
- https://git.kernel.org/stable/c/ac7bfaa099ec3e4d7dfd0ab9726fc3bc7911365d Patch
- https://git.kernel.org/stable/c/ae82eaf4aeea060bb736c3e20c0568b67c701d7d Patch
- https://git.kernel.org/stable/c/b699bda5db818b684ff62d140defd6394f38f3d6 Patch
- https://git.kernel.org/stable/c/d34f2384d6df11a6c67039b612c2437f46e587e8 Patch
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html Third Party Advisory