Bug 2402191 (CVE-2023-53676) - CVE-2023-53676 kernel: scsi: target: iscsi: Fix buffer overflow in lio_target_nacl_info_show()
Summary: CVE-2023-53676 kernel: scsi: target: iscsi: Fix buffer overflow in lio_target...
Keywords:
Status: NEW
Alias: CVE-2023-53676
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-07 16:01 UTC by OSIDB Bzimport
Modified: 2025-10-14 23:29 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-10-07 16:01:49 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.