From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com ([66.111.4.28]:49177 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751461AbdKFH4Z (ORCPT ); Mon, 6 Nov 2017 02:56:25 -0500 Date: Mon, 6 Nov 2017 08:56:35 +0100 From: Greg KH To: Rob Clark Cc: Ben Hutchings , stable , Dan Carpenter , Kasin Li , Jordan Crouse Subject: Re: [stable] drm/msm: Fix potential buffer overflow issue Message-ID: <20171106075635.GA18507@kroah.com> References: <1509469260.2748.46.camel@decadent.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: stable-owner@vger.kernel.org List-ID: On Fri, Nov 03, 2017 at 06:54:50PM -0400, Rob Clark wrote: > On Tue, Oct 31, 2017 at 1:01 PM, Ben Hutchings wrote: > > These commits appear to be needed in all stable branches from 3.12 > > onward: > > > > commit 4a630fadbb29d9efaedb525f1a8f7449ad107641 > > Author: Kasin Li > > Date: Mon Jun 19 15:36:53 2017 -0600 > > > > drm/msm: Fix potential buffer overflow issue > > > > commit 65e93108891e571f177c202add9288eda9ac4100 > > Author: Dan Carpenter > > Date: Fri Jun 30 10:59:15 2017 +0300 > > > > drm/msm: fix an integer overflow test > > > > I guess we do not need to go *all* the way back to 3.12, since drm/msm > was somewhat ahead of curve on the work to get upstream kernels > working on various snapdragon devices without needing a pile of other > patches. Maybe going back one or two LTS's would make sense? I think > apq8064 was probably the one that was working on upstream kernel the > earliest without extra patches needed. I can double check when that > was, I think that puts a reasonable upper bound on how far back to > backport. > > Let me know if you want help backporting these patches.. I've backported them to 3.18 with no problems, thanks. greg k-h