Messages in this thread | | | Date | Wed, 11 May 2005 17:19:03 +0100 (BST) | From | Hugh Dickins <> | Subject | Re: [PATCH] do_swap_page() can map random data if swap read fails |
| |
On Wed, 11 May 2005, Kirill Korotaev wrote:
> against 2.6.12-rc4 > > 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>
Ah, yes, that surprised me years ago, but I forgot all about it.
Acked-by: Hugh Dickins <hugh@veritas.com> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |