CVE-2023-53676 Details
Description
In the Linux kernel, the following vulnerability has been resolved: scsi: target: iscsi: Fix buffer overflow in lio_target_nacl_info_show() The function lio_target_nacl_info_show() uses sprintf() in a loop to print details for every iSCSI connection in a session without checking for the buffer length. With enough iSCSI connections it's possible to overflow the buffer provided by configfs and corrupt the memory. This patch replaces sprintf() with sysfs_emit_at() that checks for buffer boundries.
A buffer overflow vulnerability has been identified in the Linux kernel's iSCSI target implementation. The issue arises in the function 'lio_target_nacl_info_show()', which uses 'sprintf()' in a loop to output details for each iSCSI connection within a session. This approach fails to validate the buffer length, creating a risk of overflowing the buffer supplied by configfs and potentially corrupting memory. The vulnerability can be exploited by establishing a sufficient number of iSCSI connections to exceed the buffer capacity. The issue affects several versions of the Linux kernel.
Users can upgrade to the patched version of the Linux kernel, which replaces the unsafe 'sprintf()' usage with 'sysfs_emit_at()'. This change ensures proper buffer boundary checks. The specific commit containing the fix can be downloaded from the Linux kernel stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0cac6cbb9908309352a5d30c1876882771d3da50 | kernel.org | Patch |
| https://git.kernel.org/stable/c/114b44dddea1f8f99576de3c0e6e9059012002fc | kernel.org | Patch |
| https://git.kernel.org/stable/c/2cbe6a88fbdd6e8aeab358eef61472e2de43d6f6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/4738bf8b2d3635c2944b81b2a84d97b8c8b0978d | kernel.org | Patch |
| https://git.kernel.org/stable/c/5353df78c22623b42a71d51226d228a8413097e2 | kernel.org | Patch |
| https://git.kernel.org/stable/c/801f287c93ff95582b0a2d2163f12870a2f076d4 | kernel.org | Patch |
| https://git.kernel.org/stable/c/bbe3ff47bf09db8956bc2eeb49d2d514d256ad2a | kernel.org | Patch |
| https://git.kernel.org/stable/c/df349e84c2cb0dd05d98c8e1189c26ab4b116083 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 3.1, < 4.14.326 >= 4.15, < 4.19.295 >= 4.20, < 5.4.257 >= 5.5, < 5.10.197 >= 5.11, < 5.15.133 >= 5.16, < 6.1.55 >= 6.2, < 6.5.5 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Feb 26, 2026 | Reanalysis | [email protected] |
| Feb 3, 2026 | Initial Analysis | [email protected] |
| Oct 7, 2025 | New CVE Received | kernel.org |