diff options
author | Larry Woodman <lwoodman@redhat.com> | 2010-09-24 12:04:48 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-09-25 09:34:58 -0700 |
commit | 5ec1055aa5632dd7a8283cdb5fa9be3c535eaa06 (patch) | |
tree | 231fa9a989433ee7fab796342f7ebc2c3e167342 /mm/mprotect.c | |
parent | 8ae09259ffe2402e956efd5a36220b6161e9ecb3 (diff) | |
download | blackbird-op-linux-5ec1055aa5632dd7a8283cdb5fa9be3c535eaa06.tar.gz blackbird-op-linux-5ec1055aa5632dd7a8283cdb5fa9be3c535eaa06.zip |
Avoid pgoff overflow in remap_file_pages
Thomas Pollet noticed that the remap_file_pages() system call in
fremap.c has a potential overflow in the first part of the if statement
below, which could cause it to process bogus input parameters.
Specifically the pgoff + size parameters could be wrap thereby
preventing the system call from failing when it should.
Reported-by: Thomas Pollet <thomas.pollet@gmail.com>
Signed-off-by: Larry Woodman <lwoodman@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mprotect.c')
0 files changed, 0 insertions, 0 deletions