From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH] ASoC: soc-cache: Fix memory overflow in LZO initialization Date: Tue, 30 Nov 2010 12:54:59 +0000 Message-ID: <20101130125458.GG7403@rakim.wolfsonmicro.main> References: <1291031013-16686-1-git-send-email-dp@opensource.wolfsonmicro.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from opensource2.wolfsonmicro.com (opensource.wolfsonmicro.com [80.75.67.52]) by alsa0.perex.cz (Postfix) with ESMTP id 59E1E10396A for ; Tue, 30 Nov 2010 13:55:01 +0100 (CET) Content-Disposition: inline In-Reply-To: <1291031013-16686-1-git-send-email-dp@opensource.wolfsonmicro.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Dimitris Papastamos Cc: alsa-devel@alsa-project.org, patches@opensource.wolfsonmicro.com, Liam Girdwood List-Id: alsa-devel@alsa-project.org On Mon, Nov 29, 2010 at 11:43:33AM +0000, Dimitris Papastamos wrote: > The bitmap_zero() nbits argument was improperly set to reg_size > but the underlying buffer was bmp_size long. This caused the memset > to zero past the end of the allocated buffer and into the kernel heap > causing strange kernel crashes sometimes by overwriting critical > kernel structures. Applied, thanks.