Bug 2379246 (CVE-2025-38332) - CVE-2025-38332 kernel: scsi: lpfc: Use memcpy() for BIOS version
Summary: CVE-2025-38332 kernel: scsi: lpfc: Use memcpy() for BIOS version
Keywords:
Status: NEW
Alias: CVE-2025-38332
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-10 09:02 UTC by OSIDB Bzimport
Modified: 2025-10-03 14:04 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2025:14003 0 None None None 2025-08-18 11:54:52 UTC
Red Hat Product Errata RHSA-2025:14005 0 None None None 2025-08-18 12:12:11 UTC
Red Hat Product Errata RHSA-2025:15008 0 None None None 2025-09-02 04:19:37 UTC
Red Hat Product Errata RHSA-2025:15646 0 None None None 2025-09-10 15:52:09 UTC
Red Hat Product Errata RHSA-2025:15647 0 None None None 2025-09-10 16:13:49 UTC
Red Hat Product Errata RHSA-2025:15648 0 None None None 2025-09-10 16:17:59 UTC
Red Hat Product Errata RHSA-2025:15649 0 None None None 2025-09-10 17:14:51 UTC
Red Hat Product Errata RHSA-2025:15661 0 None None None 2025-09-11 03:14:43 UTC
Red Hat Product Errata RHSA-2025:15668 0 None None None 2025-09-11 06:36:08 UTC
Red Hat Product Errata RHSA-2025:15782 0 None None None 2025-09-15 10:21:30 UTC
Red Hat Product Errata RHSA-2025:17159 0 None None None 2025-10-01 18:10:22 UTC

Description OSIDB Bzimport 2025-07-10 09:02:40 UTC
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.

Comment 1 Avinash Hanwate 2025-07-11 05:17:31 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025071033-CVE-2025-38332-9590@gregkh/T

Comment 6 errata-xmlrpc 2025-08-18 11:54:51 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2025:14003 https://access.redhat.com/errata/RHSA-2025:14003

Comment 7 errata-xmlrpc 2025-08-18 12:12:10 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2025:14005 https://access.redhat.com/errata/RHSA-2025:14005

Comment 8 errata-xmlrpc 2025-09-02 04:19:36 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2025:15008 https://access.redhat.com/errata/RHSA-2025:15008

Comment 11 errata-xmlrpc 2025-09-10 15:52:08 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Extended Lifecycle Support

Via RHSA-2025:15646 https://access.redhat.com/errata/RHSA-2025:15646

Comment 12 errata-xmlrpc 2025-09-10 16:13:48 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.6 Telecommunications Update Service

Via RHSA-2025:15647 https://access.redhat.com/errata/RHSA-2025:15647

Comment 13 errata-xmlrpc 2025-09-10 16:17:58 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Extended Lifecycle Support

Via RHSA-2025:15648 https://access.redhat.com/errata/RHSA-2025:15648

Comment 14 errata-xmlrpc 2025-09-10 17:14:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions

Via RHSA-2025:15649 https://access.redhat.com/errata/RHSA-2025:15649

Comment 15 errata-xmlrpc 2025-09-11 03:14:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:15661 https://access.redhat.com/errata/RHSA-2025:15661

Comment 16 errata-xmlrpc 2025-09-11 06:36:07 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Extended Update Support

Via RHSA-2025:15668 https://access.redhat.com/errata/RHSA-2025:15668

Comment 17 errata-xmlrpc 2025-09-15 10:21:29 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2025:15782 https://access.redhat.com/errata/RHSA-2025:15782

Comment 19 errata-xmlrpc 2025-10-01 18:10:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions

Via RHSA-2025:17159 https://access.redhat.com/errata/RHSA-2025:17159


Note You need to log in before you can comment on or make changes to this bug.