From mboxrd@z Thu Jan 1 00:00:00 1970 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.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,URIBL_BLOCKED, 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 28E72C4338F for ; Wed, 4 Aug 2021 08:25:45 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E70E360F22 for ; Wed, 4 Aug 2021 08:25:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E70E360F22 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=VuB59DHXx0MA58OTnuGZVkuITJRc/A4hcF3ufFkjxpQ=; b=2smrUX81naIHpR wnj1T2ZiBy+BbvV79S4Fui5fDYR/X1VzrO6iwVX8+xOPflyVBGY1JhtTrqop39Ly6+TKtC0taFI0m paHMwskKqp0Cz+oYjU16d3O57AYYdsJvgwq/cXT6SD4SvIEpHlGUV0KNkXkHA5SSQPQjq/aiiLp5m twBEKRiX334DsWDCvQyJ2+Himg0TCuNg2kHvhdiqiHmZqOzYZiJj5q9eYFHdm3toihJMuusmVFBAG O2pRhClixTKGfVLSbpGEc0No/PFNmqspQfI/KY1ML/EDHjH1UvgaFFs8Tb98+DW2/SRPqve86Vq+G 2TLXH9x2J+UES+xc/uVA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBCBc-00582a-Pl; Wed, 04 Aug 2021 08:23:36 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBCBM-0057y4-Gv; Wed, 04 Aug 2021 08:23:21 +0000 X-UUID: f65d7a2bf1ee4b1089b4e4ae087179e4-20210804 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=GTct54leog8K1Ggm/Yzg+F1VX1mTNjKvGwU2zqTq/Pk=; b=KqbeQaeX/SDLd8DOtizFdM4WTXknELVLxOJ6VTU3SL2H6OtQrTgoxUkVuQQop62KrNRcHi02FjNeZQkJeo71rWyATC8H5l4fhid3Jg0j8uvvUglPHL2di+rmAhgC9L7poIaTbYo8MVjG8/tPYofB7N6rt4qDb2/UAkLtczWJh5w=; X-UUID: f65d7a2bf1ee4b1089b4e4ae087179e4-20210804 Received: from mtkcas68.mediatek.inc [(172.29.94.19)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1452197047; Wed, 04 Aug 2021 01:23:16 -0700 Received: from MTKMBS02N2.mediatek.inc (172.21.101.101) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 4 Aug 2021 01:23:15 -0700 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 4 Aug 2021 16:23:07 +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; Wed, 4 Aug 2021 16:23:07 +0800 From: Kuan-Ying Lee To: Nicholas Tang , Andrew Yang , Andrey Konovalov , "Andrey Ryabinin" , Alexander Potapenko , Marco Elver , Catalin Marinas , Chinwen Chang , Andrew Morton CC: , , , , , Kuan-Ying Lee Subject: [PATCH v2 0/2] kasan: reset tag when accessing invalid data Date: Wed, 4 Aug 2021 16:22:28 +0800 Message-ID: <20210804082230.10837-1-Kuan-Ying.Lee@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210804_012320_600970_477F993F X-CRM114-Status: GOOD ( 10.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org With hardware tag-based kasan enabled, we reset the tag when we access metadata to avoid from false alarm. Changes since v2: - Refine the commit message in detail. - Thanks Andrey's explanation about false alarm of kmemleak. Kuan-Ying Lee (2): kasan, kmemleak: reset tags when scanning block kasan, slub: reset tag when printing address mm/kmemleak.c | 6 +++--- mm/slub.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) -- 2.18.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel