From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by kanga.kvack.org (Postfix) with ESMTP id 272AF8E0002 for ; Thu, 3 Jan 2019 13:45:27 -0500 (EST) Received: by mail-wr1-f70.google.com with SMTP id y7so15816407wrr.12 for ; Thu, 03 Jan 2019 10:45:27 -0800 (PST) Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id a13sor26035505wmg.13.2019.01.03.10.45.25 for (Google Transport Security); Thu, 03 Jan 2019 10:45:25 -0800 (PST) From: Andrey Konovalov Subject: [PATCH v3 0/3] kasan: tag-based mode fixes Date: Thu, 3 Jan 2019 19:45:18 +0100 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-linux-mm@kvack.org List-ID: To: Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Catalin Marinas , Will Deacon , Christoph Lameter , Andrew Morton , Mark Rutland , Nick Desaulniers , Marc Zyngier , Dave Martin , Ard Biesheuvel , "Eric W . Biederman" , Ingo Molnar , Paul Lawrence , Geert Uytterhoeven , Arnd Bergmann , "Kirill A . Shutemov" , Greg Kroah-Hartman , Kate Stewart , Mike Rapoport , Vincenzo Frascino , kasan-dev@googlegroups.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sparse@vger.kernel.org, linux-mm@kvack.org, linux-kbuild@vger.kernel.org Cc: Kostya Serebryany , Evgeniy Stepanov , Lee Smith , Ramana Radhakrishnan , Jacob Bramley , Ruben Ayrapetyan , Jann Horn , Mark Brand , Chintan Pandya , Vishwath Mohan , Andrey Konovalov Changes in v3: - Fixed krealloc tag assigning without changing kasan_kmalloc hook and added more comments to the assign_tag function while at it. - Moved ARCH_SLAB_MINALIGN definition to arch/arm64/include/asm/cache.h. Changes in v2: - Added "kasan: make tag based mode work with CONFIG_HARDENED_USERCOPY" patch. - Added "kasan: fix krealloc handling for tag-based mode" patch. Andrey Konovalov (3): kasan, arm64: use ARCH_SLAB_MINALIGN instead of manual aligning kasan: make tag based mode work with CONFIG_HARDENED_USERCOPY kasan: fix krealloc handling for tag-based mode arch/arm64/include/asm/cache.h | 6 ++++ mm/kasan/common.c | 65 ++++++++++++++++++++++------------ mm/slub.c | 2 ++ 3 files changed, 51 insertions(+), 22 deletions(-) -- 2.20.1.415.g653613c723-goog