CVE-2023-54102
published 2025-12-24CVE-2023-54102: In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buffer overflow A static code analysis…
PriorityP430medium6.7
EPSS
0.21%
10.9th percentile
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
17 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.1.37-1 (bookworm) | linux 6.1.37-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e < 644a9d5e22761a41d5005a26996a643da96de962 | 644a9d5e22761a41d5005a26996a643da96de962 |
| linux | linux | >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e < e0e7faee3a7dd6f51350cda64997116a247eb045 | e0e7faee3a7dd6f51350cda64997116a247eb045 |
| linux | linux | >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e < f91037487036e2d2f18d3c2481be6b9a366bde7f | f91037487036e2d2f18d3c2481be6b9a366bde7f |
| linux | linux | >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e < a9df88cb31dcbd72104ec5883f35cbc1fb587e47 | a9df88cb31dcbd72104ec5883f35cbc1fb587e47 |
| linux | linux | >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e < ad050f6cf681ebb850a9d4bc19474d3896476301 | ad050f6cf681ebb850a9d4bc19474d3896476301 |
| linux | linux | >= 6a828b0f6192b4930894925d1c1d0dc1f1d99e6e < c6087b82a9146826564a55c5ca0164cac40348f5 | c6087b82a9146826564a55c5ca0164cac40348f5 |
| linux | linux_kernel | >= 0 < 5.10.191-1 | 5.10.191-1 |
| linux | linux_kernel | >= 0 < 6.1.37-1 | 6.1.37-1 |
| linux | linux_kernel | >= 0 < 6.3.7-1 | 6.3.7-1 |
| linux | linux_kernel | >= 0 < 6.3.7-1 | 6.3.7-1 |
| linux | linux_kernel | >= 5.1.0 < 5.4.244 | 5.4.244 |
| linux | linux_kernel | >= 5.11.0 < 5.15.113 | 5.15.113 |
| linux | linux_kernel | >= 5.16.0 < 6.1.30 | 6.1.30 |
| linux | linux_kernel | >= 5.5.0 < 5.10.181 | 5.10.181 |
| linux | linux_kernel | >= 6.2.0 < 6.3.4 | 6.3.4 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-hpjg-jc89-xqgf: In the Linux kernel, the following vulnerability has been resolved:
scsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buffer overflow
A static code
ghsa_unreviewed·2025-12-24
CVE-2023-54102 GHSA-hpjg-jc89-xqgf: In the Linux kernel, the following vulnerability has been resolved:
scsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buffer overflow
A static code
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.
OSV
CVE-2023-54102: In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buffer overflow A static code an
osv·2025-12-24
CVE-2023-54102 CVE-2023-54102: In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buffer overflow A static code an
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.
OSV
scsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buffer overflow
osv·2025-12-24
CVE-2023-54102 scsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buffer overflow
scsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buffer overflow
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.
Red Hat
kernel: scsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buffer overflow
vendor_redhat·2025-12-24·CVSS 6.7
CVE-2023-54102 [MEDIUM] CWE-120 kernel: scsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buffer overflow
kernel: scsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buffer overflow
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.
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Under investigation
Package: kernel (Red Hat Enterprise Linux 7) - Fix deferred
Package: kernel-rt (Red Hat Ente
Debian
CVE-2023-54102: linux - In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc:...
vendor_debian·2023
CVE-2023-54102 CVE-2023-54102: linux - In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc:...
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.
Scope: local
bookworm: resolved (fixed in 6.1.37-1)
bullseye: resolved (fixed in 5.10.191-1)
forky: resolved (fixed in 6.3.7-1)
sid: resolved (fixed in 6.3.7-1)
trixie: resolved (fixed in 6.3.7-1)
No detection rules found.
No public exploits indexed.
Wiz
CVE-2023-54102 Impact, Exploitability, and Mitigation Steps | Wiz
blogs_wiz
CVE-2023-54102 CVE-2023-54102 Impact, Exploitability, and Mitigation Steps | Wiz
## CVE-2023-54102 :
Linux Kernel vulnerability analysis and mitigation
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.
Source : NVD
Published December 24, 2025
CNA Score N/A
Affected Technologies
Linux Kernel
Alma Linux
Has Public Exploit No
Has CISA KEV Exploit No
CISA KEV Release Date N/A
CISA KEV Due Date N/A
Exploitation Prob
Bugzilla
CVE-2023-54102 kernel: scsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buffer overflow
bugzilla·2025-12-24
CVE-2023-54102 [MEDIUM] CVE-2023-54102 kernel: scsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buffer overflow
CVE-2023-54102 kernel: scsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buffer overflow
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.
Discussion:
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025122410-CVE-2023-54102-7dd5@gregkh/T
https://git.kernel.org/stable/c/644a9d5e22761a41d5005a26996a643da96de962https://git.kernel.org/stable/c/a9df88cb31dcbd72104ec5883f35cbc1fb587e47https://git.kernel.org/stable/c/ad050f6cf681ebb850a9d4bc19474d3896476301https://git.kernel.org/stable/c/c6087b82a9146826564a55c5ca0164cac40348f5https://git.kernel.org/stable/c/e0e7faee3a7dd6f51350cda64997116a247eb045https://git.kernel.org/stable/c/f91037487036e2d2f18d3c2481be6b9a366bde7f
2025-12-24
Published