From patchwork Tue Jul 27 04:00:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?S3Vhbi1ZaW5nIExlZSAo5p2O5Yag56mOKQ==?= X-Patchwork-Id: 12401427 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,MIME_BASE64_TEXT,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 860E7C4338F for ; Tue, 27 Jul 2021 04:02:56 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 07D4360EB2 for ; Tue, 27 Jul 2021 04:02:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 07D4360EB2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 8DAF56B0036; Tue, 27 Jul 2021 00:02:55 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 863FC6B005D; Tue, 27 Jul 2021 00:02:55 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 72C748D0001; Tue, 27 Jul 2021 00:02:55 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0138.hostedemail.com [216.40.44.138]) by kanga.kvack.org (Postfix) with ESMTP id 59FDA6B0036 for ; Tue, 27 Jul 2021 00:02:55 -0400 (EDT) Received: from smtpin26.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 0504E1828ECA1 for ; Tue, 27 Jul 2021 04:02:54 +0000 (UTC) X-FDA: 78407021910.26.53C4278 Received: from mailgw01.mediatek.com (mailgw01.mediatek.com [216.200.240.184]) by imf19.hostedemail.com (Postfix) with ESMTP id 2B17CB00018F for ; Tue, 27 Jul 2021 04:02:52 +0000 (UTC) X-UUID: 7706bdad2a25469b8877707134244d39-20210726 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=8euonuqJZE1tiELx9PT+VVuAswWdfNvySMSjppEjCAU=; b=PnoNsp4+W/0SXlNaPP8O5xnSJweZUjBIQY9i0NGVlc3zHe71li6Nq7BQ/MSleWRMHHWSp2+CD6cu47B4/ifsE8XyQcPJzgCLvKctJnPQ/4pljEnZiJN2gr25/sPcc1AIBi4IFh9fhXyZvFaQYZaipElHooi/PZFJdb0ngk3fiEY=; X-UUID: 7706bdad2a25469b8877707134244d39-20210726 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 829512817; Mon, 26 Jul 2021 21:02:50 -0700 Received: from MTKMBS01N2.mediatek.inc (172.21.101.79) by MTKMBS62N1.mediatek.inc (172.29.193.41) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 26 Jul 2021 21:00:42 -0700 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 27 Jul 2021 12:00:40 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 27 Jul 2021 12:00:40 +0800 From: Kuan-Ying Lee To: Nicholas Tang , Andrew Yang , Andrey Konovalov , "Andrey Ryabinin" , Alexander Potapenko , Marco Elver , Chinwen Chang , Andrew Morton CC: , , , , , Kuan-Ying Lee Subject: [PATCH 0/2] kasan, mm: reset tag when access metadata Date: Tue, 27 Jul 2021 12:00:19 +0800 Message-ID: <20210727040021.21371-1-Kuan-Ying.Lee@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-MTK: N X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 2B17CB00018F Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=mediatek.com header.s=dk header.b=PnoNsp4+; spf=pass (imf19.hostedemail.com: domain of kuan-ying.lee@mediatek.com designates 216.200.240.184 as permitted sender) smtp.mailfrom=kuan-ying.lee@mediatek.com; dmarc=pass (policy=none) header.from=mediatek.com X-Stat-Signature: q8wdnhmuiq65eaa1aztdukizf11uck4k X-HE-Tag: 1627358572-408310 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: With hardware tag-based kasan enabled, we reset the tag when we access metadata to avoid from false alarm. Kuan-Ying Lee (2): kasan, mm: reset tag when access metadata kasan, mm: reset tag for hex dump address mm/kmemleak.c | 6 +++--- mm/slub.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-)