CVE-2023-53676

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

State
Published
Severity
8.8 High
Published
Oct 7, 2025
Updated
Oct 15, 2026
Reserved
Oct 7, 2025

Read the record on cve.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.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e48354ce078c079996f89d715dfa44814b4eba01 to before df349e84c2cb0dd05d98c8e1189c26ab4b116083Affected
  • e48354ce078c079996f89d715dfa44814b4eba01 to before 114b44dddea1f8f99576de3c0e6e9059012002fcAffected
  • e48354ce078c079996f89d715dfa44814b4eba01 to before 2cbe6a88fbdd6e8aeab358eef61472e2de43d6f6Affected
  • e48354ce078c079996f89d715dfa44814b4eba01 to before bbe3ff47bf09db8956bc2eeb49d2d514d256ad2aAffected
  • e48354ce078c079996f89d715dfa44814b4eba01 to before 5353df78c22623b42a71d51226d228a8413097e2Affected
  • e48354ce078c079996f89d715dfa44814b4eba01 to before 4738bf8b2d3635c2944b81b2a84d97b8c8b0978dAffected
  • e48354ce078c079996f89d715dfa44814b4eba01 to before 0cac6cbb9908309352a5d30c1876882771d3da50Affected
  • e48354ce078c079996f89d715dfa44814b4eba01 to before 801f287c93ff95582b0a2d2163f12870a2f076d4Affected
LinuxLinux
  • 3.1Affected
  • before 3.1Not affected
  • 4.14.326 through 4.14.*Not affected
  • 4.19.295 through 4.19.*Not affected
  • 5.4.257 through 5.4.*Not affected
  • 5.10.197 through 5.10.*Not affected
  • 5.15.133 through 5.15.*Not affected
  • 6.1.55 through 6.1.*Not affected
  • 6.5.5 through 6.5.*Not affected
  • 6.6 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.