CVE-2023-54102

Linux Kernel 5.1.0-6.3.3 - Buffer Overflow in lpfc_debugfs_lockstat_write

Title source: llm
STIX 2.1

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.

Scores

EPSS 0.0021
EPSS Percentile 10.9%

Details

Status published
Products (19)
linux/Kernel 5.1.0 - 5.4.244linux
linux/Kernel 5.11.0 - 5.15.113linux
linux/Kernel 5.16.0 - 6.1.30linux
linux/Kernel 5.5.0 - 5.10.181linux
linux/Kernel 6.2.0 - 6.3.4linux
Linux/Linux < 5.1
Linux/Linux 5.1
Linux/Linux 5.10.181 - 5.10.*
Linux/Linux 5.15.113 - 5.15.*
Linux/Linux 5.4.244 - 5.4.*
... and 9 more
Published Dec 24, 2025
Tracked Since Feb 18, 2026