lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025100707-CVE-2023-53676-e7fb@gregkh>
Date: Tue,  7 Oct 2025 17:21:35 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-53676: scsi: target: iscsi: Fix buffer overflow in lio_target_nacl_info_show()

From: Greg Kroah-Hartman <gregkh@...nel.org>

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.

The Linux kernel CVE team has assigned CVE-2023-53676 to this issue.


Affected and fixed versions
===========================

	Fixed in 4.14.326 with commit df349e84c2cb0dd05d98c8e1189c26ab4b116083
	Fixed in 4.19.295 with commit 114b44dddea1f8f99576de3c0e6e9059012002fc
	Fixed in 5.4.257 with commit 2cbe6a88fbdd6e8aeab358eef61472e2de43d6f6
	Fixed in 5.10.197 with commit bbe3ff47bf09db8956bc2eeb49d2d514d256ad2a
	Fixed in 5.15.133 with commit 5353df78c22623b42a71d51226d228a8413097e2
	Fixed in 6.1.55 with commit 4738bf8b2d3635c2944b81b2a84d97b8c8b0978d
	Fixed in 6.5.5 with commit 0cac6cbb9908309352a5d30c1876882771d3da50
	Fixed in 6.6 with commit 801f287c93ff95582b0a2d2163f12870a2f076d4

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2023-53676
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/target/iscsi/iscsi_target_configfs.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/df349e84c2cb0dd05d98c8e1189c26ab4b116083
	https://git.kernel.org/stable/c/114b44dddea1f8f99576de3c0e6e9059012002fc
	https://git.kernel.org/stable/c/2cbe6a88fbdd6e8aeab358eef61472e2de43d6f6
	https://git.kernel.org/stable/c/bbe3ff47bf09db8956bc2eeb49d2d514d256ad2a
	https://git.kernel.org/stable/c/5353df78c22623b42a71d51226d228a8413097e2
	https://git.kernel.org/stable/c/4738bf8b2d3635c2944b81b2a84d97b8c8b0978d
	https://git.kernel.org/stable/c/0cac6cbb9908309352a5d30c1876882771d3da50
	https://git.kernel.org/stable/c/801f287c93ff95582b0a2d2163f12870a2f076d4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ