The snd_ctl_elem_add function in sound/core/control.c in the ALSA control implementation in the Linux kernel before 3.15.2 does not properly maintain the user_ctl_count value, which allows local users to cause a denial of service (integer overflow and limit bypass) by leveraging /dev/snd/controlCX access for a large number of SNDRV_CTL_IOCTL_ELEM_REPLACE ioctl calls.
Source: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-4655
Reference (s):
- BID:68162
- URL: http://www.securityfocus.com/bid/68162
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=82262a46627bebb0febcc26664746c25cef08563
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.15.2
- https://bugzilla.redhat.com/show_bug.cgi?id=1113445