CVE-2023-54102 Details
Description
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.
A buffer overflow vulnerability has been identified in the Linux kernel's SCSI LPFC driver. The issue arises in the 'lpfc_debugfs_lockstat_write' function, where 'copy_from_user' is used to read data from a userspace buffer into a fixed-size character array. This operation can potentially lead to a buffer overflow by copying more bytes than the array can safely hold. The vulnerability affects several versions of the Linux kernel.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been patched. The commit ID for the patch is 'c6087b82a9146826564a55c5ca0164cac40348f5'.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 24, 2025References 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/644a9d5e22761a41d5005a26996a643da96de962 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/a9df88cb31dcbd72104ec5883f35cbc1fb587e47 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/ad050f6cf681ebb850a9d4bc19474d3896476301 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/c6087b82a9146826564a55c5ca0164cac40348f5 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/e0e7faee3a7dd6f51350cda64997116a247eb045 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/f91037487036e2d2f18d3c2481be6b9a366bde7f | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 24, 2025 | New CVE Received | kernel.org |
Volerion