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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.61% (percentile 44, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2025-10-07T15:21:31.757Z
- **Modified:** 2026-10-28T20:10:00.163Z

## Who should check

- Anyone running Linux \>= e48354ce078c079996f89d715dfa44814b4eba01, \< df349e84c2cb0dd05d98c8e1189c26ab4b116083; \>= e48354ce078c079996f89d715dfa44814b4eba01, \< 114b44dddea1f8f99576de3c0e6e9059012002fc; \>= e48354ce078c079996f89d715dfa44814b4eba01, \< 2cbe6a88fbdd6e8aeab358eef61472e2de43d6f6; \>= e48354ce078c079996f89d715dfa44814b4eba01, \< bbe3ff47bf09db8956bc2eeb49d2d514d256ad2a; \>= e48354ce078c079996f89d715dfa44814b4eba01, \< 5353df78c22623b42a71d51226d228a8413097e2; \>= e48354ce078c079996f89d715dfa44814b4eba01, \< 4738bf8b2d3635c2944b81b2a84d97b8c8b0978d; \>= e48354ce078c079996f89d715dfa44814b4eba01, \< 0cac6cbb9908309352a5d30c1876882771d3da50; \>= e48354ce078c079996f89d715dfa44814b4eba01, \< 801f287c93ff95582b0a2d2163f12870a2f076d4
- Anyone running Linux 3.1

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

## Affected and fixed versions

- Linux: \>= e48354ce078c079996f89d715dfa44814b4eba01, \< df349e84c2cb0dd05d98c8e1189c26ab4b116083; \>= e48354ce078c079996f89d715dfa44814b4eba01, \< 114b44dddea1f8f99576de3c0e6e9059012002fc; \>= e48354ce078c079996f89d715dfa44814b4eba01, \< 2cbe6a88fbdd6e8aeab358eef61472e2de43d6f6; \>= e48354ce078c079996f89d715dfa44814b4eba01, \< bbe3ff47bf09db8956bc2eeb49d2d514d256ad2a; \>= e48354ce078c079996f89d715dfa44814b4eba01, \< 5353df78c22623b42a71d51226d228a8413097e2; \>= e48354ce078c079996f89d715dfa44814b4eba01, \< 4738bf8b2d3635c2944b81b2a84d97b8c8b0978d; \>= e48354ce078c079996f89d715dfa44814b4eba01, \< 0cac6cbb9908309352a5d30c1876882771d3da50; \>= e48354ce078c079996f89d715dfa44814b4eba01, \< 801f287c93ff95582b0a2d2163f12870a2f076d4 (cvelist)
- Linux: 3.1 (cvelist)

## Mitigation

- Upgrade Linux to 801f287c93ff95582b0a2d2163f12870a2f076d4 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53676. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53676.md
Affected: Linux >= e48354ce078c079996f89d715dfa44814b4eba01, < df349e84c2cb0dd05d98c8e1189c26ab4b116083; >= e48354ce078c079996f89d715dfa44814b4eba01, < 114b44dddea1f8f99576de3c0e6e9059012002fc; >= e48354ce078c079996f89d715dfa44814b4eba01, < 2cbe6a88fbdd6e8aeab358eef61472e2de43d6f6; >= e48354ce078c079996f89d7…
Fixed in: Linux 114b44dddea1f8f99576de3c0e6e9059012002fc, Linux 2cbe6a88fbdd6e8aeab358eef61472e2de43d6f6, Linux 5353df78c22623b42a71d51226d228a8413097e2, Linux 4738bf8b2d3635c2944b81b2a84d97b8c8b0978d, Linux 0cac6cbb9908309352a5d30c1876882771d3da50, Linux 801f287c93ff95582b0a2d2163f12870a2f076d4

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53676 being exploited?

There is no confirmed exploitation: CVE-2023-53676 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.61% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53676?

High: CVSS 8.8 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2023-53676?

Linux \>= e48354ce078c079996f89d715dfa44814b4eba01, \< df349e84c2cb0dd05d98c8e1189c26ab4b116083; \>= e48354ce078c079996f89d715dfa44814b4eba01, \< 114b44dddea1f8f99576de3c0e6e9059012002fc; \>= e48354ce078c079996f89d715dfa44814b4eba01, \< 2cbe6a88fbdd6e8aeab358eef61472e2de43d6f6; \>= e48354ce078c079996f89d715dfa44814b4eba01, \< bbe3ff47bf09db8956bc2eeb49d2d514d256ad2a; \>= e48354ce078c079996f89d715dfa44814b4eba01, \< 5353df78c22623b42a71d51226d228a8413097e2; \>= e48354ce078c079996f89d715dfa44814b4eba01, \< 4738bf8b2d3635c2944b81b2a84d97b8c8b0978d; \>= e48354ce078c079996f89d715dfa44814b4eba01, \< 0cac6cbb9908309352a5d30c1876882771d3da50; \>= e48354ce078c079996f89d715dfa44814b4eba01, \< 801f287c93ff95582b0a2d2163f12870a2f076d4; Linux 3.1.

### Is there a fix for CVE-2023-53676?

Yes. Fixed in Linux 114b44dddea1f8f99576de3c0e6e9059012002fc, Linux 2cbe6a88fbdd6e8aeab358eef61472e2de43d6f6, Linux 5353df78c22623b42a71d51226d228a8413097e2, Linux 4738bf8b2d3635c2944b81b2a84d97b8c8b0978d, Linux 0cac6cbb9908309352a5d30c1876882771d3da50, Linux 801f287c93ff95582b0a2d2163f12870a2f076d4. Upgrade Linux to 801f287c93ff95582b0a2d2163f12870a2f076d4 or later.

### How do I check if I'm affected by CVE-2023-53676?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53676>

HTML: <https://flawdb.com/CVE-2023-53676> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53676>
