Skip to contentSkip to conversation

drm/msm: Fix potential buffer overflow issue

stable Ben Hutchings 3 participants 3 messages Oct 31, 2017 – Nov 6, 2017 Stable branch

lore
Share & tools
lore
#0 lore raw

These commits appear to be needed in all stable branches from 3.12 onward:

commit 4a630fadbb29d9efaedb525f1a8f7449ad107641

Author: Kasin Li <[email protected]>
Date:   Mon Jun 19 15:36:53 2017 -0600

drm/msm: Fix potential buffer overflow issue

commit 65e93108891e571f177c202add9288eda9ac4100

Author: Dan Carpenter <[email protected]>
Date:   Fri Jun 30 10:59:15 2017 +0300

drm/msm: fix an integer overflow test

Ben.

Signature · 3 lines
Ben Hutchings
It is a miracle that curiosity survives formal education. - Albert
Einstein
#1 lore raw
Quoted 7 lines · Ben Hutchings

These commits appear to be needed in all stable branches from 3.12 onward:

commit 4a630fadbb29d9efaedb525f1a8f7449ad107641

Author: Kasin Li <[email protected]>
Date:   Mon Jun 19 15:36:53 2017 -0600
Quoted 8 lines

drm/msm: Fix potential buffer overflow issue

commit 65e93108891e571f177c202add9288eda9ac4100

Author: Dan Carpenter <[email protected]>
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

Quoted 7 lines

Ben.

--
Ben Hutchings
It is a miracle that curiosity survives formal education. - Albert Einstein

#2 lore raw
Quoted 26 lines · Rob Clark
Quoted 7 lines · Ben Hutchings

These commits appear to be needed in all stable branches from 3.12 onward:

commit 4a630fadbb29d9efaedb525f1a8f7449ad107641

Author: Kasin Li <[email protected]>
Date:   Mon Jun 19 15:36:53 2017 -0600
Quoted 8 lines

drm/msm: Fix potential buffer overflow issue

commit 65e93108891e571f177c202add9288eda9ac4100

Author: Dan Carpenter <[email protected]>
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.

Quoted 1 line

Let me know if you want help backporting these patches..

I've backported them to 3.18 with no problems, thanks.

greg k-h