CVE-2023-54102
scsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buffer overflow
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e, < 644a9d5e22761a41d5005a26996a643da96de962; >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e, < e0e7faee3a7dd6f51350cda64997116a247eb045; >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e, < f91037487036e2d2f18d3c2481be6b9a366bde7f; >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e, < a9df88cb31dcbd72104ec5883f35cbc1fb587e47; >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e, < ad050f6cf681ebb850a9d4bc19474d3896476301; >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e, < c6087b82a9146826564a55c5ca0164cac40348f5
- Anyone running Linux 5.1
Vulnerability facts
- Affected
- Linux >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e, < 644a9d5e22761a41d5005a26996a643da96de962; >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e, < e0e7faee3a7dd6f51350cda64997116a247eb045; >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e, < f91037487036e2d2f18d3c2481be6b9a366bde7f; >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e, < a9df88cb31dcbd72104ec5883f35cbc1fb587e47; >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e, < ad050f6cf681ebb850a9d4bc19474d3896476301; >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e, < c6087b82a9146826564a55c5ca0164cac40348f5; Linux 5.1
- Fixed in
- Linux 644a9d5e22761a41d5005a26996a643da96de962
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e, < 644a9d5e22761a41d5005a26996a643da96de962; >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e, < e0e7faee3a7dd6f51350cda64997116a247eb045; >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e, < f91037487036e2d2f18d3c2481be6b9a366bde7f; >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e, < a9df88cb31dcbd72104ec5883f35cbc1fb587e47; >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e, < ad050f6cf681ebb850a9d4bc19474d3896476301; >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e, < c6087b82a9146826564a55c5ca0164cac40348f5 | — | cvelist |
| Linux | 5.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-54102. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-54102.md Affected: Linux >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e, < 644a9d5e22761a41d5005a26996a643da96de962; >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e, < e0e7faee3a7dd6f51350cda64997116a247eb045; >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e, < f91037487036e2d2f18d3c2481be6b9a366bde7f; >= 6a828b0f6192b4930894925… Fixed in: Linux 644a9d5e22761a41d5005a26996a643da96de962 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/644a9d5e22761a41d5005a26996a643da96de962
- https://git.kernel.org/stable/c/e0e7faee3a7dd6f51350cda64997116a247eb045
- https://git.kernel.org/stable/c/f91037487036e2d2f18d3c2481be6b9a366bde7f
- https://git.kernel.org/stable/c/a9df88cb31dcbd72104ec5883f35cbc1fb587e47
- https://git.kernel.org/stable/c/ad050f6cf681ebb850a9d4bc19474d3896476301
- https://git.kernel.org/stable/c/c6087b82a9146826564a55c5ca0164cac40348f5
FAQ
Is CVE-2023-54102 being exploited?
There is no confirmed exploitation: CVE-2023-54102 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-54102?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2023-54102?
Linux >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e, < 644a9d5e22761a41d5005a26996a643da96de962; >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e, < e0e7faee3a7dd6f51350cda64997116a247eb045; >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e, < f91037487036e2d2f18d3c2481be6b9a366bde7f; >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e, < a9df88cb31dcbd72104ec5883f35cbc1fb587e47; >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e, < ad050f6cf681ebb850a9d4bc19474d3896476301; >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e, < c6087b82a9146826564a55c5ca0164cac40348f5; Linux 5.1.
Is there a fix for CVE-2023-54102?
Yes. Fixed in Linux 644a9d5e22761a41d5005a26996a643da96de962. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2023-54102?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.