summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorKirill Korotaev <dev@sw.ru>2005-05-17 08:53:50 +0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-17 18:59:20 +0400
commitb81074800b98ac50b64d4c8d34e8abf0fda5e3d1 (patch)
tree01b5114255fcf1ea8ea15fabe08cc9782131e684 /security
parentc64610ba585fabb36be78782868277f3d9741a2e (diff)
downloadlinux-b81074800b98ac50b64d4c8d34e8abf0fda5e3d1.tar.xz
[PATCH] do_swap_page() can map random data if swap read fails
There is a bug in do_swap_page(): when swap page happens to be unreadable, page filled with random data is mapped into user address space. The fix is to check for PageUptodate and send SIGBUS in case of error. Signed-Off-By: Kirill Korotaev <dev@sw.ru> Signed-Off-By: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> Acked-by: Hugh Dickins <hugh@veritas.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions