Bug 2425096 (CVE-2023-54102) - CVE-2023-54102 kernel: scsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buffer overflow
Summary: CVE-2023-54102 kernel: scsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buff...
Keywords:
Status: NEW
Alias: CVE-2023-54102
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-12-24 14:02 UTC by OSIDB Bzimport
Modified: 2026-01-21 15:55 UTC (History)
0 users

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-24 14:02:33 UTC
In the Linux kernel, the following vulnerability has been resolved:

scsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buffer overflow

A static code analysis tool flagged the possibility of buffer overflow when
using copy_from_user() for a debugfs entry.

Currently, it is possible that copy_from_user() copies more bytes than what
would fit in the mybuf char array.  Add a min() restriction check between
sizeof(mybuf) - 1 and nbytes passed from the userspace buffer to protect
against buffer overflow.


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