Messages in this thread | | | Date | Thu, 6 Oct 2011 17:32:29 +0200 | From | Andi Kleen <> | Subject | Re: [PATCH 07/12] perf_events: add LBR software filter support for Intel X86 |
| |
> + kernel_insn_init(&insn, kaddr); > + insn_get_opcode(&insn);
This makes me uncomfortable. AFAIK that's the first use of the opcode decoder being used directly for user space. It has a quite large attack surface. Who says it cannot be exploited?
-Andi -- ak@linux.intel.com -- Speaking for myself only.
| |