
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2023-54102 is a buffer overflow vulnerability in the Linux kernel's SCSI lpfc driver, specifically in the lpfc_debugfs_lockstat_write() function. The flaw was identified via static code analysis and disclosed on December 24, 2025. It affects Linux kernel versions from the initial commit (1da177e4c3f4) up to several stable branch fix points, with patches applied in stable releases including 5.4.244, 5.10.181, 5.15.113, 6.1.30, 6.3.4, and 6.4. No CVSS score has been assigned (base score reported as 0.0), and the EPSS score is approximately 0.03% (Feedly).
The root cause is a classic stack-based buffer overflow (CWE-120) in the lpfc_debugfs_lockstat_write() function within the Linux kernel's lpfc SCSI driver. When processing a write to a debugfs entry, copy_from_user() could copy more bytes from userspace than the fixed-size mybuf character array can hold, because no upper bound was enforced on the nbytes parameter. The fix adds a min() check — min(sizeof(mybuf) - 1, nbytes) — to restrict the number of bytes copied to what the buffer can safely accommodate (Feedly, Kernel Patch). Exploitation requires local access to the debugfs filesystem, which is typically mounted at /sys/kernel/debug and accessible only to privileged users.
Successful exploitation could allow a local privileged user or process with access to the kernel debugfs interface to trigger a kernel buffer overflow, potentially leading to kernel memory corruption, system crashes (denial of service), or in a worst-case scenario, privilege escalation or arbitrary kernel code execution. The impact is limited to systems where the lpfc driver is loaded and debugfs is accessible, reducing the overall attack surface. There is no evidence of data exfiltration or remote exploitation potential (Feedly).
The vulnerability is resolved in the following Linux kernel stable releases: 5.4.244, 5.10.181, 5.15.113, 6.1.30, 6.3.4, and 6.4. Administrators should update to a patched kernel version as the primary remediation. As a temporary workaround, restricting access to the debugfs filesystem (e.g., by unmounting /sys/kernel/debug or limiting access via mount options and file permissions) can reduce exposure. Systems that do not use Fibre Channel HBAs supported by the lpfc driver can also unload or blacklist the lpfc kernel module (Feedly, Kernel Patch).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."