Explain CVE-2008-1367
gcc 4.3.x does not generate a cld instruction while compiling functions used for string manipulation such as memcpy and memmove on x86 and i386, which can prevent the direction flag (DF) from being reset in violation of ABI conventions and cause data to be copied in the wrong direction during signal handling in the Linux kernel, which might allow context-dependent attackers to trigger memory corruption. NOTE: this issue was originally reported for CPU consumption in SBCL.
Affected Products: n/a
References: [{'name': '30962', 'tags': ['third-party-advisory', 'x_refsource_SECUNIA'], 'url': 'http://secunia.com/advisories/30962'}, {'name': '[gcc-patches] 20080307 Re: [PATCH, i386]: Emit cld instruction when stringops are used', 'tags': ['mailing-list', 'x_refsource_MLIST'], 'url': 'http://gcc.gnu.org/ml/gcc-patches/2008-03/msg00499.html'}, {'name': '[gcc-patches] 20080306 Re: [PATCH, i386]: Emit cld instruction when stringops are used', 'tags': ['mailing-list', 'x_refsource_MLIST'], 'url': 'http://gcc.gnu.org/ml/gcc-patches/2008-03/msg00428.html'}, {'name': '[gcc-patches] 20080306 Re: [PATCH, i386]: Emit cld instruction when stringops are used', 'tags': ['mailing-list', 'x_refsource_MLIST'], 'url': 'http://gcc.gnu.org/ml/gcc-patches/2008-03/msg00432.html'}, {'tags': ['x_refsource_CONFIRM'], 'url': 'http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469058'}, {'name': "[linux-kernel] 20080305 Linux doesn't follow x86/x86-64 ABI wrt direction flag", 'tags': ['mailing-list', 'x_refsource_MLIST'], 'url': 'http://lkml.org/lkml/2008/3/5/207'}, {'name': '30850', 'tags': ['third-party-advisory', 'x_refsource_SECUNIA'], 'url': 'http://secunia.com/advisories/30850'}, {'name': '30116', 'tags': ['third-party-advisory', 'x_refsource_SECUNIA'], 'url': 'http://secunia.com/advisories/30116'}, {'name': 'RHSA-2008:0233', 'tags': ['vendor-advisory', 'x_refsource_REDHAT'], 'url': 'http://www.redhat.com/support/errata/RHSA-2008-0233.html'}, {'name': '30110', 'tags': ['third-party-advisory', 'x_refsource_SECUNIA'], 'url': 'http://secunia.com/advisories/30110'}, {'name': 'SUSE-SA:2008:031', 'tags': ['vendor-advisory', 'x_refsource_SUSE'], 'url': 'http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00000.html'}, {'name': 'ADV-2008-2222', 'tags': ['vdb-entry', 'x_refsource_VUPEN'], 'url': 'http://www.vupen.com/english/advisories/2008/2222/references'}, {'name': '[git-commits-head] 20080307 x86: clear DF before calling signal handler', 'tags': ['mailing-list', 'x_refsource_MLIST'], 'url': 'http://marc.info/?l=git-commits-head&m=120492000901739&w=2'}, {'name': '29084', 'tags': ['vdb-entry', 'x_refsource_BID'], 'url': 'http://www.securityfocus.com/bid/29084'}, {'name': 'gcc-cld-dos(41340)', 'tags': ['vdb-entry', 'x_refsource_XF'], 'url': 'https://exchange.xforce.ibmcloud.com/vulnerabilities/41340'}, {'tags': ['x_refsource_CONFIRM'], 'url': 'https://bugzilla.redhat.com/show_bug.cgi?id=437312'}, {'tags': ['x_refsource_MISC'], 'url': 'http://lwn.net/Articles/272048/#Comments'}, {'name': 'RHSA-2008:0211', 'tags': ['vendor-advisory', 'x_refsource_REDHAT'], 'url': 'http://www.redhat.com/support/errata/RHSA-2008-0211.html'}, {'name': 'oval:org.mitre.oval:def:11108', 'tags': ['vdb-entry', 'signature', 'x_refsource_OVAL'], 'url': 'https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11108'}, {'name': '30890', 'tags': ['third-party-advisory', 'x_refsource_SECUNIA'], 'url': 'http://secunia.com/advisories/30890'}, {'name': 'RHSA-2008:0508', 'tags': ['vendor-advisory', 'x_refsource_REDHAT'], 'url': 'http://rhn.redhat.com/errata/RHSA-2008-0508.html'}, {'name': '[Security-announce] 20080728 VMSA-2008-00011 Updated ESX service console packages for Samba and vmnix', 'tags': ['mailing-list', 'x_refsource_MLIST'], 'url': 'http://lists.vmware.com/pipermail/security-announce/2008/000023.html'}, {'name': 'SUSE-SA:2008:030', 'tags': ['vendor-advisory', 'x_refsource_SUSE'], 'url': 'http://lists.opensuse.org/opensuse-security-announce/2008-06/msg00006.html'}, {'tags': ['x_refsource_CONFIRM'], 'url': 'http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=e40cd10ccff3d9fbffd57b93780bee4b7b9bff51'}, {'name': '31246', 'tags': ['third-party-advisory', 'x_refsource_SECUNIA'], 'url': 'http://secunia.com/advisories/31246'}, {'name': '[gcc-patches] 20080306 [PATCH, i386]: Emit cld instruction when stringops are used', 'tags': ['mailing-list', 'x_refsource_MLIST'], 'url': 'http://gcc.gnu.org/ml/gcc-patches/2008-03/msg00417.html'}, {'name': '30818', 'tags': ['third-party-advisory', 'x_refsource_SECUNIA'], 'url': 'http://secunia.com/advisories/30818'}, {'name': 'SUSE-SA:2008:032', 'tags': ['vendor-advisory', 'x_refsource_SUSE'], 'url': 'http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00002.html'}]
CVE State: PUBLISHED