]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commit
sound: ensure device number is valid in snd_seq_oss_synth_make_info
authorWilly Tarreau <w@1wt.eu>
Tue, 5 Aug 2008 00:20:03 +0000 (00:20 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 6 Aug 2008 16:03:27 +0000 (09:03 -0700)
commitee3b94e26df9e2903add812f7f43cdcdc2ed5288
treef471243d3db392fdbab6fb79e83bc593b0d470b7
parent8256c73d4fab8b3b019b7a21974252854d6deb68
sound: ensure device number is valid in snd_seq_oss_synth_make_info

commit 82e68f7ffec3800425f2391c8c86277606860442 upstream

snd_seq_oss_synth_make_info() incorrectly reports information
to userspace without first checking for the validity of the
device number, leading to possible information leak (CVE-2008-3272).

Reported-By: Tobias Klein <tk@trapkit.de>
Acked-and-tested-by: Takashi Iwai <tiwai@suse.de>
Cc: stable@kernel.org
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/core/seq/oss/seq_oss_synth.c