scsi: target: iscsi: Fix buffer overflow in lio_target_nacl_info_show()
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 4.14.326, 4.19.295, 5.10.197, 5.15.133, 5.4.257, 6.1.55, 6.5.5
- CVEs
- CVE-2023-53676
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 10:36 UTC · Revision 1
Source evidence
scsi: target: iscsi: Fix buffer overflow in lio_target_nacl_info_show()
core-osv · Original sourcePublished 7 Oct 2025, 15:21 UTC
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.
osv:CVE-2023-53676
Kernel
Fixed versions: 4.14.326, 4.19.295, 5.4.257, 5.10.197, 5.15.133, 6.1.55, 6.5.5
Complete source record
{
"id": "8427da2fef0bebd5e86fb1ae7d040782decaee0543111cd6f0bf0b96a2a518f3",
"url": "https://osv.dev/vulnerability/CVE-2023-53676",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "scsi: target: iscsi: Fix buffer overflow in lio_target_nacl_info_show()",
"summary": "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.",
"evidence": "osv:CVE-2023-53676",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.14.326",
"evidence": "/affected/1/ranges"
},
{
"value": "4.19.295",
"evidence": "/affected/1/ranges"
},
{
"value": "5.4.257",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.197",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.133",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.55",
"evidence": "/affected/1/ranges"
},
{
"value": "6.5.5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2023-53676",
"aliases": [
"CVE-2023-53676"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "e48354ce078c079996f89d715dfa44814b4eba01"
},
{
"fixed": "df349e84c2cb0dd05d98c8e1189c26ab4b116083"
},
{
"fixed": "114b44dddea1f8f99576de3c0e6e9059012002fc"
},
{
"fixed": "2cbe6a88fbdd6e8aeab358eef61472e2de43d6f6"
},
{
"fixed": "bbe3ff47bf09db8956bc2eeb49d2d514d256ad2a"
},
{
"fixed": "5353df78c22623b42a71d51226d228a8413097e2"
},
{
"fixed": "4738bf8b2d3635c2944b81b2a84d97b8c8b0978d"
},
{
"fixed": "0cac6cbb9908309352a5d30c1876882771d3da50"
},
{
"fixed": "801f287c93ff95582b0a2d2163f12870a2f076d4"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53676.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.1.0"
},
{
"fixed": "4.14.326"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.15.0"
},
{
"fixed": "4.19.295"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.20.0"
},
{
"fixed": "5.4.257"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.197"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.133"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.55"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.5.5"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53676.json"
}
}
],
"modified": "2026-10-30T02:31:06.196744014Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/0cac6cbb9908309352a5d30c1876882771d3da50",
"https://git.kernel.org/stable/c/114b44dddea1f8f99576de3c0e6e9059012002fc",
"https://git.kernel.org/stable/c/2cbe6a88fbdd6e8aeab358eef61472e2de43d6f6",
"https://git.kernel.org/stable/c/4738bf8b2d3635c2944b81b2a84d97b8c8b0978d",
"https://git.kernel.org/stable/c/5353df78c22623b42a71d51226d228a8413097e2",
"https://git.kernel.org/stable/c/801f287c93ff95582b0a2d2163f12870a2f076d4",
"https://git.kernel.org/stable/c/bbe3ff47bf09db8956bc2eeb49d2d514d256ad2a",
"https://git.kernel.org/stable/c/df349e84c2cb0dd05d98c8e1189c26ab4b116083",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53676.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-53676",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53676.json"
}
},
"related_cves": [
{
"value": "CVE-2023-53676",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 511637,
"published_at": "2025-10-07T15:21:31.757+00:00"
}