The perf_trace_event_perm function in kernel/trace/trace_event_perf.c in the Linux kernel before 3.12.2 does not properly restrict access to the perf subsystem, which allows local users to enable function tracing via a crafted application.
https://github.com/torvalds/linux/commit/12ae030d54ef250706da5642fc7697cc60ad0df7
http://www.ubuntu.com/usn/USN-2112-1
http://www.ubuntu.com/usn/USN-2076-1
http://www.ubuntu.com/usn/USN-2075-1
http://www.ubuntu.com/usn/USN-2074-1
http://www.ubuntu.com/usn/USN-2072-1
http://www.ubuntu.com/usn/USN-2071-1
http://www.ubuntu.com/usn/USN-2070-1
http://www.ubuntu.com/usn/USN-2068-1
http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.12.2