High · published October 7, 2025
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.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 3.1, < 4.14.326 | 4.14.326 |
| linux/linux_kernel | ≥ 4.15, < 4.19.295 | 4.19.295 |
| linux/linux_kernel | ≥ 4.20, < 5.4.257 | 5.4.257 |
| linux/linux_kernel | ≥ 5.5, < 5.10.197 | 5.10.197 |
| linux/linux_kernel | ≥ 5.11, < 5.15.133 | 5.15.133 |
| linux/linux_kernel | ≥ 5.16, < 6.1.55 | 6.1.55 |
| linux/linux_kernel | ≥ 6.2, < 6.5.5 | 6.5.5 |