Re: [stable] drm/msm: Fix potential buffer overflow issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 03, 2017 at 06:54:50PM -0400, Rob Clark wrote:
> On Tue, Oct 31, 2017 at 1:01 PM, Ben Hutchings <ben@xxxxxxxxxxxxxxx> wrote:
> > These commits appear to be needed in all stable branches from 3.12
> > onward:
> >
> > commit 4a630fadbb29d9efaedb525f1a8f7449ad107641
> > Author: Kasin Li <donglil@xxxxxxxxxxxxxx>
> > Date:   Mon Jun 19 15:36:53 2017 -0600
> >
> >     drm/msm: Fix potential buffer overflow issue
> >
> > commit 65e93108891e571f177c202add9288eda9ac4100
> > Author: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> > 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



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]