lkml.org 
[lkml]   [2013]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [ 22/42] sched/debug: Fix sd->*_idx limit range avoiding overflow
From
Date
On Fri, 2013-05-10 at 09:59 +0200, Ingo Molnar wrote:
> * Ben Hutchings <ben@decadent.org.uk> wrote:
>
> > On Tue, 2013-04-23 at 14:52 -0700, Greg Kroah-Hartman wrote:
> > > 3.8-stable review patch. If anyone has any objections, please let me know.
> > >
> > > ------------------
> > >
> > > From: libin <huawei.libin@huawei.com>
> > >
> > > commit fd9b86d37a600488dbd80fe60cca46b822bff1cd upstream.
> > >
> > > Commit 201c373e8e ("sched/debug: Limit sd->*_idx range on
> > > sysctl") was an incomplete bug fix.
> > [...]
> >
> > It seems like both these commits ought to be applied to earlier stable
> > branches. Or was the lack of range checking a regression after 3.4?
>
> Both should be applied indeed.
>
> They are not a huge problem as all these facilities are for debugging and
> are root-only, but the two fixes should be applied together or not at all.

I've queued up both of these for 3.2.

Ben.

--
Ben Hutchings
If at first you don't succeed, you're doing about average.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2013-05-28 04:21    [W:0.130 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site