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 check authorization for SNDRV_CTL_IOCTL_ELEM_REPLACE commands, which allows local users to remove kernel controls and cause a denial of service (use-after-free and system crash) by leveraging /dev/snd/controlCX access for an ioctl call.
Source: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-4654
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