From: Alexey Kuznetsov Date: Mon, 17 Apr 2006 11:39:23 +0000 (+0400) Subject: [PATCH] IPC: access to unmapped vmalloc area in grow_ary() X-Git-Tag: v2.6.17-rc2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9a5cd5d2a57fb76dbae2115450f777b69beccf7;p=pandora-kernel.git [PATCH] IPC: access to unmapped vmalloc area in grow_ary() grow_ary() should not copy struct ipc_id_ary (it copies new->p, not new). Due to this, memcpy() src pointer could hit unmapped vmalloc page when near page boundary. Found during OpenVZ stress testing Signed-off-by: Alexey Kuznetsov Signed-off-by: Kirill Korotaev Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed