diff options
| author | Jann Horn <[email protected]> | 2018-07-06 21:50:03 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2018-07-07 16:58:41 +0000 |
| commit | 15279df6f26cf2013d713904b4a0c957ae8abb96 (patch) | |
| tree | ab9a3489acdac58d266366cb4539db6a8ca269e7 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
| parent | x86/hyper-v: Fix the circular dependency in IPI enlightenment (diff) | |
| download | kernel-15279df6f26cf2013d713904b4a0c957ae8abb96.tar.gz kernel-15279df6f26cf2013d713904b4a0c957ae8abb96.zip | |
x86/mtrr: Don't copy out-of-bounds data in mtrr_write
Don't access the provided buffer out of bounds - this can cause a kernel
out-of-bounds read when invoked through sys_splice() or other things that
use kernel_write()/__kernel_write().
Fixes: 7f8ec5a4f01a ("x86/mtrr: Convert to use strncpy_from_user() helper")
Signed-off-by: Jann Horn <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions
