summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKees Cook2013-05-23 19:32:17 +0200
committerNicholas Bellinger2013-05-31 03:07:54 +0200
commitcea4dcfdad926a27a18e188720efe0f2c9403456 (patch)
tree7ae6fd132bbd1e7cd888dcaae6946cecfd20a2e1 /include
parenttarget/file: Fix off-by-one READ_CAPACITY bug for !S_ISBLK export (diff)
downloadkernel-qcow2-linux-cea4dcfdad926a27a18e188720efe0f2c9403456.tar.gz
kernel-qcow2-linux-cea4dcfdad926a27a18e188720efe0f2c9403456.tar.xz
kernel-qcow2-linux-cea4dcfdad926a27a18e188720efe0f2c9403456.zip
iscsi-target: fix heap buffer overflow on error
If a key was larger than 64 bytes, as checked by iscsi_check_key(), the error response packet, generated by iscsi_add_notunderstood_response(), would still attempt to copy the entire key into the packet, overflowing the structure on the heap. Remote preauthentication kernel memory corruption was possible if a target was configured and listening on the network. CVE-2013-2850 Signed-off-by: Kees Cook <keescook@chromium.org> Cc: stable@vger.kernel.org Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions