CVE-2023-54102

scsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buffer overflow

N/A
Published: December 24, 2025 at 01:06 PM UTC
Updated: June 17, 2026 at 06:46 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.1 ≤ v < 5.10.1815.1 ≤ v < 5.15.1135.1 ≤ v < 5.4.2445.1 ≤ v < 6.1.305.1 ≤ v < 6.3.45.1 ≤ v < 6.45.16a828b0f6192b4930894925d1c1d0dc1f1d99e6e
Vendor states this is fixed in 644a9d5e22761a41d5005a26996a643da96de962 (fixed)
Vendor states this is fixed in a9df88cb31dcbd72104ec5883f35cbc1fb587e47 (fixed)
Vendor states this is fixed in ad050f6cf681ebb850a9d4bc19474d3896476301 (fixed)
Vendor states this is fixed in c6087b82a9146826564a55c5ca0164cac40348f5 (fixed)
Vendor states this is fixed in e0e7faee3a7dd6f51350cda64997116a247eb045 (fixed)
Vendor states this is fixed in f91037487036e2d2f18d3c2481be6b9a366bde7f (fixed)
Vendor states this is fixed in 5.1 (unaffected)
Vendor states this is fixed in 5.10.181 (unaffected)
Vendor states this is fixed in 5.15.113 (unaffected)
Vendor states this is fixed in 5.4.244 (unaffected)
Vendor states this is fixed in 6.1.30 (unaffected)
Vendor states this is fixed in 6.3.4 (unaffected)
Vendor states this is fixed in 6.4 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card