aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorAlexey Dobriyan <[email protected]>2018-02-06 15:39:13 -0800
committerLinus Torvalds <[email protected]>2018-02-06 18:32:45 -0800
commit60c9d92f887f4606d363fece7a36c92664dc64c6 (patch)
tree781eee237ca913cbb4e1b80d20c87226ee48f5b5 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent2d453e3b41c80d1a2c02b02d672f5dcd73f95a12 (diff)
elf: fix NT_FILE integer overflow
If vm.max_map_count bumped above 2^26 (67+ mil) and system has enough RAM to allocate all the VMAs (~12.8 GB on Fedora 27 with 200-byte VMAs), then it should be possible to overflow 32-bit "size", pass paranoia check, allocate very little vmalloc space and oops while writing into vmalloc guard page... But I didn't test this, only coredump of regular process. Link: http://lkml.kernel.org/r/20180112203427.GA9109@avx2 Signed-off-by: Alexey Dobriyan <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions