]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] IPC: access to unmapped vmalloc area in grow_ary()
authorAlexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Tue, 18 Apr 2006 03:04:00 +0000 (03:04 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 24 Apr 2006 16:56:05 +0000 (09:56 -0700)
commit1fca16492a85f69fbdd498fdd66156f7de44262d
treebcd846cab30ecee53d8a7bfe577a487215fc8a74
parent7517f43bef6016c58c007446f882ecf98a5e287b
[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 <kuznet@ms2.inr.ac.ru>
Signed-off-by: Kirill Korotaev <dev@openvz.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ipc/util.c