[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y3ItQm4Q+zvsT9eD@hirez.programming.kicks-ass.net>
Date: Mon, 14 Nov 2022 12:57:54 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Sean Christopherson <seanjc@...gle.com>
Cc: Dave Hansen <dave.hansen@...ux.intel.com>,
Andy Lutomirski <luto@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
x86@...nel.org, Andrey Ryabinin <ryabinin.a.a@...il.com>,
"H. Peter Anvin" <hpa@...or.com>,
Alexander Potapenko <glider@...gle.com>,
Andrey Konovalov <andreyknvl@...il.com>,
Dmitry Vyukov <dvyukov@...gle.com>,
Vincenzo Frascino <vincenzo.frascino@....com>,
linux-kernel@...r.kernel.org, kasan-dev@...glegroups.com,
syzbot+ffb4f000dc2872c93f62@...kaller.appspotmail.com,
syzbot+8cdd16fd5a6c0565e227@...kaller.appspotmail.com
Subject: Re: [PATCH v2 0/5] x86/kasan: Bug fixes for recent CEA changes
On Thu, Nov 10, 2022 at 08:34:59PM +0000, Sean Christopherson wrote:
> Three fixes for the recent changes to how KASAN populates shadows for
> the per-CPU portion of the CPU entry areas. The v1 versions were posted
> independently as I kept root causing issues after posting individual fixes.
>
> v2:
> - Map the entire per-CPU area in one shot. [Andrey]
> - Use the "early", i.e. read-only, variant to populate the shadow for
> the shared portion (read-only IDT mapping) of the CEA. [Andrey]
>
> v1:
> - https://lore.kernel.org/all/20221104212433.1339826-1-seanjc@google.com
> - https://lore.kernel.org/all/20221104220053.1702977-1-seanjc@google.com
> - https://lore.kernel.org/all/20221104183247.834988-1-seanjc@google.com
>
> Sean Christopherson (5):
> x86/mm: Recompute physical address for every page of per-CPU CEA
> mapping
> x86/mm: Populate KASAN shadow for entire per-CPU range of CPU entry
> area
> x86/kasan: Rename local CPU_ENTRY_AREA variables to shorten names
> x86/kasan: Add helpers to align shadow addresses up and down
> x86/kasan: Populate shadow for shared chunk of the CPU entry area
>
> arch/x86/mm/cpu_entry_area.c | 10 +++-----
> arch/x86/mm/kasan_init_64.c | 50 +++++++++++++++++++++++-------------
> 2 files changed, 36 insertions(+), 24 deletions(-)
Thanks for cleaning up that mess!
Powered by blists - more mailing lists