scsi: lpfc: Use memcpy() for BIOS version
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 003baa7a1a152576d744bd655820449bbdb0248e, Kernel 2f63bf0d2b146956a2f2ff3b25cee71019e64561, Kernel 34c0a670556b24d36c9f8934227edb819ca5609e and 5 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.2, >=b3b4f3e1d575fe142fd437158425c2359b695ff1 <003baa7a1a152576d744bd655820449bbdb0248e, >=b3b4f3e1d575fe142fd437158425c2359b695ff1 <2f63bf0d2b146956a2f2ff3b25cee71019e64561, >=b3b4f3e1d575fe142fd437158425c2359b695ff1 <34c0a670556b24d36c9f8934227edb819ca5609e, >=b3b4f3e1d575fe142fd437158425c2359b695ff1 <75ea8375c5a83f46c47bfb3de6217c7589a8df93, >=b3b4f3e1d575fe142fd437158425c2359b695ff1 <ac7bfaa099ec3e4d7dfd0ab9726fc3bc7911365d, >=b3b4f3e1d575fe142fd437158425c2359b695ff1 <ae82eaf4aeea060bb736c3e20c0568b67c701d7d, >=b3b4f3e1d575fe142fd437158425c2359b695ff1 <b699bda5db818b684ff62d140defd6394f38f3d6, >=b3b4f3e1d575fe142fd437158425c2359b695ff1 <d34f2384d6df11a6c67039b612c2437f46e587e8 | 003baa7a1a152576d744bd655820449bbdb0248e, 2f63bf0d2b146956a2f2ff3b25cee71019e64561, 34c0a670556b24d36c9f8934227edb819ca5609e, 75ea8375c5a83f46c47bfb3de6217c7589a8df93, ac7bfaa099ec3e4d7dfd0ab9726fc3bc7911365d, ae82eaf4aeea060bb736c3e20c0568b67c701d7d, b699bda5db818b684ff62d140defd6394f38f3d6, d34f2384d6df11a6c67039b612c2437f46e587e8 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket