Red Hat Bugzilla – Bug 667615
CVE-2010-4527 kernel: buffer overflow in OSS load_mixer_volumes
Last modified: 2015-08-19 05:02:24 EDT
"The load_mixer_volumes() function, which can be triggered by unprivileged users via the SOUND_MIXER_SETLEVELS ioctl, is vulnerable to a buffer overflow. Because the provided 'name' argument isn't guaranteed to be NULL terminated at the expected 32 bytes, it's possible to overflow past the end of the last element in the mixer_vols array. Further exploitation can result in an arbitrary kernel write (via subsequent calls to load_mixer_volumes()) leading to privilege escalation, or arbitrary kernel reads via get_mixer_levels(). In addition, the strcmp() may leak bytes beyond the mixer_vols array.
This only affects users who are using OSS (not to be confused with the OSS emulation provided by ALSA), and requires access to a device file normally restricted to users in group audio."
Red Hat would like to thank Dan Rosenberg for reporting this issue.
Not vulnerable. This issue did not affect the versions of Linux kernel as shipped with Red Hat Enterprise Linux 4, 5, 6 and Red Hat Enterprise MRG as they did not provide support for Open Sound System (OSS).