[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOyeoRVncfuFjrseenE5c2qw3hBT_TM+YeQK-ZN=y-WE=gkc3Q@mail.gmail.com>
Date: Mon, 24 Jun 2019 16:56:41 -0700
From: Eric Hankland <ehankland@...gle.com>
To: Andi Kleen <andi@...stfloor.org>
Cc: linux-kernel@...r.kernel.org, linux-kvm@...r.kernel.org
Subject: Re: [PATCH v1] KVM: x86: PMU Whitelist
> Consider what happens when tmp.num_events is large enough to wrap size.
> I suspect that's a kernel exploit as written.
Thanks for pointing this out - I'll fix it in the next iteration.
> Also don't you need to copy tmp to new?
Yep - somehow I accidentally deleted the lines that did this before I
sent out the patch. I'll also fix this.
Powered by blists - more mailing lists