From: Dan Rosenberg Date: Thu, 17 Mar 2011 22:32:24 +0000 (-0400) Subject: ALSA: sound/pci/asihpi: check adapter index in hpi_ioctl X-Git-Tag: v2.6.37.5~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8c9edfe6a04a862066dffbffe255eaae5742efc;p=pandora-kernel.git ALSA: sound/pci/asihpi: check adapter index in hpi_ioctl commit 4a122c10fbfe9020df469f0f669da129c5757671 upstream. The user-supplied index into the adapters array needs to be checked, or an out-of-bounds kernel pointer could be accessed and used, leading to potentially exploitable memory corruption. Signed-off-by: Dan Rosenberg Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed