Re: Tightening up rdpmc permissions?
From: Valdis . Kletnieks
Date: Mon Sep 29 2014 - 13:38:18 EST
On Mon, 29 Sep 2014 09:39:16 -0700, Andy Lutomirski said:
> Would it make sense to restrict rdpmc to tasks that are in mms that
> have a perf_event mapping? After all, unless I misunderstand
> something, user code can't reliably use rdpmc unless they've mapped a
> perf_event object to check the rdpmc bit and figure out what ecx value
> to use.
Wouldn't that be trivially easy for an attacker to bypass? Just map a dummy
perf_event object and then go to town?
Attachment:
pgpPX6k50331D.pgp
Description: PGP signature