Re: [ 22/42] sched/debug: Fix sd->*_idx limit range avoidingoverflow

From: Ben Hutchings
Date: Thu May 09 2013 - 22:14:54 EST


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@xxxxxxxxxx>
>
> 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?

Ben.

--
Ben Hutchings
For every action, there is an equal and opposite criticism. - Harrison

Attachment: signature.asc
Description: This is a digitally signed message part