Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754911Ab0KIUut (ORCPT ); Tue, 9 Nov 2010 15:50:49 -0500 Received: from smtp.outflux.net ([198.145.64.163]:38002 "EHLO smtp.outflux.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754326Ab0KIUus (ORCPT ); Tue, 9 Nov 2010 15:50:48 -0500 Date: Tue, 9 Nov 2010 12:50:08 -0800 From: Kees Cook To: Pekka Enberg Cc: linux-kernel@vger.kernel.org, Al Viro , Andrew Morton , Jiri Slaby , "David S. Miller" , Linus Torvalds , Hugh Dickins , Manfred Spraul Subject: Re: [PATCH] ipc: explicitly clear stack memory in user structs Message-ID: <20101109205008.GU5876@outflux.net> References: <20101025235804.GA11760@outflux.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Canonical X-HELO: www.outflux.net Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 919 Lines: 28 Hi Pekka, On Tue, Nov 09, 2010 at 10:43:07PM +0200, Pekka Enberg wrote: > On Tue, Oct 26, 2010 at 2:58 AM, Kees Cook wrote: > > CVE-2010-4072 > > > > The old shm interface will leak a few bytes of stack contents. Explicitly > > clear structure using memset instead of C99-style initialization in case > > there are ever holes in the packing. > > > > Cc: stable > > Signed-off-by: Kees Cook > > This looks like a genuine bug fix but I don't see this patch in > mainline. Why is that? No one has committed it. I don't know why; I've sent it a few times now. -Kees -- Kees Cook Ubuntu Security Team -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/