{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-54102","id":"CVE-2023-54102","title":"scsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buffer overflow","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buffer overflow\n\nA static code analysis tool flagged the possibility of buffer overflow when\nusing copy_from_user() for a debugfs entry.\n\nCurrently, it is possible that copy_from_user() copies more bytes than what\nwould fit in the mybuf char array.  Add a min() restriction check b","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buffer overflow\n\nA static code analysis tool flagged the possibility of buffer overflow when\nusing copy_from_user() for a debugfs entry.\n\nCurrently, it is possible that copy_from_user() copies more bytes than what\nwould fit in the mybuf char array.  Add a min() restriction check between\nsizeof(mybuf) - 1 and nbytes passed from the userspace buffer to protect\nagainst buffer overflow.","published":"2025-12-24T13:06:27.915Z","updated":"2026-10-28T02:31:13.304870779Z","reserved":"2025-12-24T13:02:52.517Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6a828b0f6192b4930894925d1c1d0dc1f1d99e6e","lessThan":"644a9d5e22761a41d5005a26996a643da96de962","status":"affected","versionType":"git"},{"version":"6a828b0f6192b4930894925d1c1d0dc1f1d99e6e","lessThan":"e0e7faee3a7dd6f51350cda64997116a247eb045","status":"affected","versionType":"git"},{"version":"6a828b0f6192b4930894925d1c1d0dc1f1d99e6e","lessThan":"f91037487036e2d2f18d3c2481be6b9a366bde7f","status":"affected","versionType":"git"},{"version":"6a828b0f6192b4930894925d1c1d0dc1f1d99e6e","lessThan":"a9df88cb31dcbd72104ec5883f35cbc1fb587e47","status":"affected","versionType":"git"},{"version":"6a828b0f6192b4930894925d1c1d0dc1f1d99e6e","lessThan":"ad050f6cf681ebb850a9d4bc19474d3896476301","status":"affected","versionType":"git"},{"version":"6a828b0f6192b4930894925d1c1d0dc1f1d99e6e","lessThan":"c6087b82a9146826564a55c5ca0164cac40348f5","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.1","status":"affected"},{"version":"0","lessThan":"5.1","status":"unaffected","versionType":"semver"},{"version":"5.4.244","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.181","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.113","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.30","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.3.4","lessThanOrEqual":"6.3.*","status":"unaffected","versionType":"semver"},{"version":"6.4","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/644a9d5e22761a41d5005a26996a643da96de962","tags":["web"]},{"url":"https://git.kernel.org/stable/c/e0e7faee3a7dd6f51350cda64997116a247eb045","tags":["web"]},{"url":"https://git.kernel.org/stable/c/f91037487036e2d2f18d3c2481be6b9a366bde7f","tags":["web"]},{"url":"https://git.kernel.org/stable/c/a9df88cb31dcbd72104ec5883f35cbc1fb587e47","tags":["web"]},{"url":"https://git.kernel.org/stable/c/ad050f6cf681ebb850a9d4bc19474d3896476301","tags":["web"]},{"url":"https://git.kernel.org/stable/c/c6087b82a9146826564a55c5ca0164cac40348f5","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54102.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54102","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00236,"epssPercentile":0.14842,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-54102","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54102","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-54102","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-54102","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}