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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
e48354ce078c079996f89d715dfa44814b4eba01 to < df349e84c2cb0dd05d98c8e1189c26ab4b116083affectede48354ce078c079996f89d715dfa44814b4eba01 to < 114b44dddea1f8f99576de3c0e6e9059012002fcaffectede48354ce078c079996f89d715dfa44814b4eba01 to < 2cbe6a88fbdd6e8aeab358eef61472e2de43d6f6affectede48354ce078c079996f89d715dfa44814b4eba01 to < bbe3ff47bf09db8956bc2eeb49d2d514d256ad2aaffectede48354ce078c079996f89d715dfa44814b4eba01 to < 5353df78c22623b42a71d51226d228a8413097e2affectede48354ce078c079996f89d715dfa44814b4eba01 to < 4738bf8b2d3635c2944b81b2a84d97b8c8b0978daffectede48354ce078c079996f89d715dfa44814b4eba01 to < 0cac6cbb9908309352a5d30c1876882771d3da50affectede48354ce078c079996f89d715dfa44814b4eba01 to < 801f287c93ff95582b0a2d2163f12870a2f076d4affected
Linux Linux
Default version status: affected
3.1affected0 to < 3.1unaffected4.14.326 to ≤ 4.14.*unaffected4.19.295 to ≤ 4.19.*unaffected5.4.257 to ≤ 5.4.*unaffected5.10.197 to ≤ 5.10.*unaffected5.15.133 to ≤ 5.15.*unaffected6.1.55 to ≤ 6.1.*unaffected6.5.5 to ≤ 6.5.*unaffected6.6 to ≤ *unaffected
References
- 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 ↗