diff options
author | Peter Zijlstra <[email protected]> | 2018-04-20 15:03:45 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-05-05 08:34:42 +0200 |
commit | 354d7793070611b4df5a79fbb0f12752d0ed0cc5 (patch) | |
tree | 3efb40ae7133e4bb2dfc6c27cb72a82e9a2465b4 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 7281c8dec8a87685cb54d503d8cceef5a0fc2fdd (diff) |
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 <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions