---
id: CVE-2023-53676
title: |-
  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 iS…
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 iS…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-787
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 3.1, < 4.14.326'
  - 'linux_kernel >= 4.15, < 4.19.295'
  - 'linux_kernel >= 4.20, < 5.4.257'
  - 'linux_kernel >= 5.5, < 5.10.197'
  - 'linux_kernel >= 5.11, < 5.15.133'
  - 'linux_kernel >= 5.16, < 6.1.55'
  - 'linux_kernel >= 6.2, < 6.5.5'
patched:
  - linux_kernel 6.5.5
published: '2025-10-07'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T22:17:45.960'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-53676'
references:
  - url: 'https://git.kernel.org/stable/c/0cac6cbb9908309352a5d30c1876882771d3da50'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/114b44dddea1f8f99576de3c0e6e9059012002fc'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/2cbe6a88fbdd6e8aeab358eef61472e2de43d6f6'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/4738bf8b2d3635c2944b81b2a84d97b8c8b0978d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/5353df78c22623b42a71d51226d228a8413097e2'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/801f287c93ff95582b0a2d2163f12870a2f076d4'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/bbe3ff47bf09db8956bc2eeb49d2d514d256ad2a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/df349e84c2cb0dd05d98c8e1189c26ab4b116083'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
epss: 0.00322
epssPercentile: 0.25065
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-15T21:36:24.101967Z'
ingestedAt: '2026-10-15T22:48:25.413Z'
---

## Overview

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

- `linux_kernel >= 3.1, < 4.14.326`
- `linux_kernel >= 4.15, < 4.19.295`
- `linux_kernel >= 4.20, < 5.4.257`
- `linux_kernel >= 5.5, < 5.10.197`
- `linux_kernel >= 5.11, < 5.15.133`
- `linux_kernel >= 5.16, < 6.1.55`
- `linux_kernel >= 6.2, < 6.5.5`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.5.5`
