From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Christian_K=F6nig?= Subject: Re: [PATCH 06/26] drm/radeon: fix a critical bug in the SA code Date: Wed, 25 Apr 2012 17:38:01 +0200 Message-ID: <4F981A59.2010001@vodafone.de> References: <1335358003-2987-1-git-send-email-deathsimple@vodafone.de> <1335358003-2987-7-git-send-email-deathsimple@vodafone.de> <1335359986.19225.21.camel@thor.local> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable Return-path: Received: from outgoing.email.vodafone.de (outgoing.email.vodafone.de [139.7.28.128]) by gabe.freedesktop.org (Postfix) with ESMTP id 821B1A0D52 for ; Wed, 25 Apr 2012 08:38:05 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Jerome Glisse Cc: =?ISO-8859-1?Q?r?= , dri-devel@lists.freedesktop.org, =?ISO-8859-1?Q?Michel_D=E4nze?=@freedesktop.org List-Id: dri-devel@lists.freedesktop.org On 25.04.2012 16:34, Jerome Glisse wrote: > On Wed, Apr 25, 2012 at 9:40 AM, Alex Deucher wro= te: >> On Wed, Apr 25, 2012 at 9:19 AM, Michel D=E4nzer wr= ote: >>> On Mit, 2012-04-25 at 14:46 +0200, Christian K=F6nig wrote: >>>> Aligning offset can make it bigger than tmp->offset >>>> leading to an overrun bug in the following subtraction. >>>> >>>> Signed-off-by: Christian K=F6nig >>> Please add >>> >>> Cc: stable@vger.kernel.org >>> >>> to the commit log (but don't send the patch to that address during >>> review). That way, once Linus merges the fix, it'll be picked up for the >>> 3.3.y stable tree. >>> >>> With that addition, >>> >>> Reviewed-by: Michel D=E4nzer >> Reviewed-by: Alex Deucher >> >> This should probably go in now via drm-fixes (with stable cced). Might = fix: >> https://bugs.freedesktop.org/show_bug.cgi?id=3D45018 >> >> Alex > I don't think this patch fix anything, as up until now they all used > same alignment. Correct, as I allready mentioned in the other mail: The VM code and the = IB code do use different alignments, but they also use different = instances of SA manager. So that problem won't hurt us in the current = mainline. Christian.