[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111006153229.GJ14482@one.firstfloor.org>
Date: Thu, 6 Oct 2011 17:32:29 +0200
From: Andi Kleen <andi@...stfloor.org>
To: Stephane Eranian <eranian@...gle.com>
Cc: linux-kernel@...r.kernel.org, peterz@...radead.org, mingo@...e.hu,
acme@...hat.com, ming.m.lin@...el.com, andi@...stfloor.org,
robert.richter@....com, ravitillo@....gov
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@...ux.intel.com -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists