# CVE-2023-53676: scsi: target: iscsi: Fix buffer overflow in lio_target_nacl_info_show()

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 27% of CVEs (2026-12-01)
- Published: 2025-10-07T15:21:31.757Z
- Modified: 2026-10-28T20:10:00.163Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from e48354ce078c079996f89d715dfa44814b4eba01 before df349e84c2cb0dd05d98c8e1189c26ab4b116083; from e48354ce078c079996f89d715dfa44814b4eba01 before 114b44dddea1f8f99576de3c0e6e9059012002fc; from e48354ce078c079996f89d715dfa44814b4eba01 before 2cbe6a88fbdd6e8aeab358eef61472e2de43d6f6; from e48354ce078c079996f89d715dfa44814b4eba01 before bbe3ff47bf09db8956bc2eeb49d2d514d256ad2a; from e48354ce078c079996f89d715dfa44814b4eba01 before 5353df78c22623b42a71d51226d228a8413097e2; from e48354ce078c079996f89d715dfa44814b4eba01 before 4738bf8b2d3635c2944b81b2a84d97b8c8b0978d; from e48354ce078c079996f89d715dfa44814b4eba01 before 0cac6cbb9908309352a5d30c1876882771d3da50; from e48354ce078c079996f89d715dfa44814b4eba01 before 801f287c93ff95582b0a2d2163f12870a2f076d4; 3.1 (not affected: before 3.1; from 4.14.326 up to 4.14.*; from 4.19.295 up to 4.19.*; from 5.4.257 up to 5.4.*; from 5.10.197 up to 5.10.*; from 5.15.133 up to 5.15.*; from 6.1.55 up to 6.1.*; from 6.5.5 up to 6.5.*; from 6.6 up to *)
- linux linux_kernel: from 3.1 before 4.14.326; from 4.15 before 4.19.295; from 4.20 before 5.4.257; from 5.5 before 5.10.197; from 5.11 before 5.15.133; from 5.16 before 6.1.55; from 6.2 before 6.5.5

## Every score

- Linux: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

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

## Sources

- CVE List: [CVE-2023-53676](https://www.cve.org/CVERecord?id=CVE-2023-53676), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2023-53676](https://nvd.nist.gov/vuln/detail/CVE-2023-53676), Public domain, modified 2026-10-28

---

Page: https://cve.day/CVE-2023-53676 · Whole record: https://cve.day/CVE-2023-53676.json · Rebuilt by cve.day 2026-11-25T22:58:34.998Z
