diff options
author | Peter Zijlstra <peterz@infradead.org> | 2018-04-20 15:03:45 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-05-05 08:34:42 +0200 |
commit | 354d7793070611b4df5a79fbb0f12752d0ed0cc5 (patch) | |
tree | 3efb40ae7133e4bb2dfc6c27cb72a82e9a2465b4 /arch/unicore32 | |
parent | 7281c8dec8a87685cb54d503d8cceef5a0fc2fdd (diff) | |
download | linux-354d7793070611b4df5a79fbb0f12752d0ed0cc5.tar.gz linux-354d7793070611b4df5a79fbb0f12752d0ed0cc5.tar.bz2 linux-354d7793070611b4df5a79fbb0f12752d0ed0cc5.zip |
sched/autogroup: Fix possible Spectre-v1 indexing for sched_prio_to_weight[]
> kernel/sched/autogroup.c:230 proc_sched_autogroup_set_nice() warn: potential spectre issue 'sched_prio_to_weight'
Userspace controls @nice, sanitize the array index.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: <stable@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/unicore32')
0 files changed, 0 insertions, 0 deletions