CVE-2023-54102
In the Linux kernel, the following vulnerability has been resolved: …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/644a9d5e22761a41d5005a26996a643da96de962
- git.kernel.org/stable/c/a9df88cb31dcbd72104ec5883f35cbc1fb587e47
- git.kernel.org/stable/c/ad050f6cf681ebb850a9d4bc19474d3896476301
- git.kernel.org/stable/c/c6087b82a9146826564a55c5ca0164cac40348f5
- git.kernel.org/stable/c/e0e7faee3a7dd6f51350cda64997116a247eb045
- git.kernel.org/stable/c/f91037487036e2d2f18d3c2481be6b9a366bde7f
- nvd.nist.gov/vuln/detail/CVE-2023-54102
- cve.org/CVERecord?id=CVE-2023-54102
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.