Re: [PATCH v6 0/9] KFENCE: A low-overhead sampling-based memory safety error detector

From: Jann Horn
Date: Thu Oct 29 2020 - 22:49:35 EST


On Thu, Oct 29, 2020 at 2:16 PM Marco Elver <elver@xxxxxxxxxx> wrote:
> This adds the Kernel Electric-Fence (KFENCE) infrastructure. KFENCE is a
> low-overhead sampling-based memory safety error detector of heap
> use-after-free, invalid-free, and out-of-bounds access errors. This
> series enables KFENCE for the x86 and arm64 architectures, and adds
> KFENCE hooks to the SLAB and SLUB allocators.

I think this is getting close to a good state, just a couple minor issues left.

Now that the magic "embed the memory pool in the BSS section" stuff is
gone, this series looks fairly straightforward.