[lkml]   [2005]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [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 <>
> Signed-Off-By: Alexey Kuznetsov <>

Ah, yes, that surprised me years ago, but I forgot all about it.

Acked-by: Hugh Dickins <>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-05-11 18:21    [W:0.052 / U:3.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site