All reports
Medium

kernel: scsi: target: iscsi: Fix buffer overflow in lio_target_nacl_info_show()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2023-53676

Probability of exploitation in the next 30 days: 0.33%

FIRST EPSS · 2026-11-23

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.

A flaw was found in the Linux kernel's iSCSI target subsystem. When displaying session details for multiple active connections through the configuration filesystem interface, the kernel does not enforce buffer boundaries. A privileged local user can exploit this issue by reading the affected configuration attributes, triggering a buffer overflow that can lead to memory corruption and a Denial of Service (DoS) via system crash.