Red Hat Bugzilla – Bug 968036
CVE-2013-2850 kernel: iscsi-target: heap buffer overflow on large key error
Last modified: 2016-03-04 07:49:06 EST
A flaw was found in the way Linux kernel's iSCSI target processed large keys. 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.
A remote attacker could use this flaw to escalate their privileges on the system.
Red Hat would like to thank Kees Cook for reporting this issue.
This issue does not affect the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 5 and 6 as those versions do not provide support for in-kernel iSCSI target.
Future kernel updates in Red Hat Enterprise Linux MRG 2 may address this flaw.
Created kernel tracking bugs for this issue
Affects: fedora-all [bug 969272]
kernel-3.9.4-301.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
kernel-3.9.5-201.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
kernel-3.9.8-100.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
This issue has been addressed in following products:
MRG for RHEL-6 v.2
Via RHSA-2013:1264 https://rhn.redhat.com/errata/RHSA-2013-1264.html