Untrusted search path vulnerability in the perf_config function in tools/perf/util/config.c in perf, as distributed in the Linux kernel before 3.1, allows local users to overwrite arbitrary files via a crafted config file in the current working directory.
https://github.com/torvalds/linux/commit/aba8d056078e47350d85b06a9cabd5afcc4b72ea
https://bugzilla.redhat.com/show_bug.cgi?id=729808
http://www.openwall.com/lists/oss-security/2011/08/09/6