* [stable] drm/msm: Fix potential buffer overflow issue
@ 2017-10-31 17:01 Ben Hutchings
2017-11-03 22:54 ` Rob Clark
0 siblings, 1 reply; 3+ messages in thread
From: Ben Hutchings @ 2017-10-31 17:01 UTC (permalink / raw)
To: stable; +Cc: Dan Carpenter, Kasin Li, Jordan Crouse, Rob Clark
[-- Attachment #1: Type: text/plain, Size: 559 bytes --]
These commits appear to be needed in all stable branches from 3.12
onward:
commit 4a630fadbb29d9efaedb525f1a8f7449ad107641
Author: Kasin Li <donglil@codeaurora.org>
Date: Mon Jun 19 15:36:53 2017 -0600
drm/msm: Fix potential buffer overflow issue
commit 65e93108891e571f177c202add9288eda9ac4100
Author: Dan Carpenter <dan.carpenter@oracle.com>
Date: Fri Jun 30 10:59:15 2017 +0300
drm/msm: fix an integer overflow test
Ben.
--
Ben Hutchings
It is a miracle that curiosity survives formal education. - Albert
Einstein
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [stable] drm/msm: Fix potential buffer overflow issue
2017-10-31 17:01 [stable] drm/msm: Fix potential buffer overflow issue Ben Hutchings
@ 2017-11-03 22:54 ` Rob Clark
2017-11-06 7:56 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Rob Clark @ 2017-11-03 22:54 UTC (permalink / raw)
To: Ben Hutchings; +Cc: stable, Dan Carpenter, Kasin Li, Jordan Crouse
On Tue, Oct 31, 2017 at 1:01 PM, Ben Hutchings <ben@decadent.org.uk> wrote:
> These commits appear to be needed in all stable branches from 3.12
> onward:
>
> commit 4a630fadbb29d9efaedb525f1a8f7449ad107641
> Author: Kasin Li <donglil@codeaurora.org>
> Date: Mon Jun 19 15:36:53 2017 -0600
>
> drm/msm: Fix potential buffer overflow issue
>
> commit 65e93108891e571f177c202add9288eda9ac4100
> Author: Dan Carpenter <dan.carpenter@oracle.com>
> 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..
BR,
-R
> Ben.
>
> --
> Ben Hutchings
> It is a miracle that curiosity survives formal education. - Albert
> Einstein
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [stable] drm/msm: Fix potential buffer overflow issue
2017-11-03 22:54 ` Rob Clark
@ 2017-11-06 7:56 ` Greg KH
0 siblings, 0 replies; 3+ messages in thread
From: Greg KH @ 2017-11-06 7:56 UTC (permalink / raw)
To: Rob Clark; +Cc: Ben Hutchings, stable, Dan Carpenter, Kasin Li, Jordan Crouse
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@decadent.org.uk> wrote:
> > These commits appear to be needed in all stable branches from 3.12
> > onward:
> >
> > commit 4a630fadbb29d9efaedb525f1a8f7449ad107641
> > Author: Kasin Li <donglil@codeaurora.org>
> > Date: Mon Jun 19 15:36:53 2017 -0600
> >
> > drm/msm: Fix potential buffer overflow issue
> >
> > commit 65e93108891e571f177c202add9288eda9ac4100
> > Author: Dan Carpenter <dan.carpenter@oracle.com>
> > 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-11-06 7:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-31 17:01 [stable] drm/msm: Fix potential buffer overflow issue Ben Hutchings
2017-11-03 22:54 ` Rob Clark
2017-11-06 7:56 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).