Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4087644pxv; Mon, 26 Jul 2021 21:07:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvloV8/x8xuX1pxKGlbyEhWrGjUe9NoJPls2d1dym+oVkSS223fB8cbT8fw2n4sngiikv8 X-Received: by 2002:a17:907:4cf:: with SMTP id vz15mr19802813ejb.161.1627358826250; Mon, 26 Jul 2021 21:07:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627358826; cv=none; d=google.com; s=arc-20160816; b=ckfcIiLbwhEBJYHk/0UkcyDsWalO9IffkEp+z3v3fQooxZkq0BjZ2KXSGVJfQ3WYCo K77iayTKdCyRx2u/nkhDMoUU24Nfee3JQ6WzQXkPyvLZp4J6XChML9GIN8YbYAO88lW7 Fhc3eT8qa16Qd1Ud7gEvsX+qgcM2a5Xg9UmFGI0qidh4xjM8bLn/euWvV2Aix2IvGF9W eDeJX56ayDtvQ/0OaVQqQIA78gcdf0p9tYHBEcDxdeHX90M9ZKFhL6kBepVAwgZ69REn eaFSjq7FdotOiKqVAJ+B7077bE4TqmAkuAsvsdm+dhG0P9YhlxNwCLOZRlzkWVELfC2U w7qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=nvNuYRg2tKD5Xgst/LIHbRSZyigbwYj4FMUxHCFOaaA=; b=eHic4M2k2NMqyi3uKaBcEM1EojecxhqNLUph+OGYVXw+1iIbcxPFH9AIcnWpxgujVK dZR90CwYExCUGZivZiofJX4FshU4KLOZCsyQAmAT8GzRd+MRjeIRq3M4yhxWLvG/Qzj9 JBMVhAnLg0oQ8rmceEKLwdyvBUjlrGk/7hrXGe1ddzdhLpqNav58yGxwTot9858UzOcJ MfdlCTkwj3hnnymrDfj5fWh88OXSwywmC34WI9Lx4M6JRws6MmM/74DOWU/2OXaw2PIb gAX5uhLEcXkK18njlc5PdROWVYnmzUHwbynZuf7LyDuQmcoLRXge04Tji+kAi2vmDMZz TdLA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m10si379357eji.378.2021.07.26.21.06.43; Mon, 26 Jul 2021 21:07:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231572AbhG0EAs (ORCPT + 99 others); Tue, 27 Jul 2021 00:00:48 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:36618 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S229671AbhG0EAp (ORCPT ); Tue, 27 Jul 2021 00:00:45 -0400 X-UUID: 2868be320d224ebcaaf0616153f5ab04-20210727 X-UUID: 2868be320d224ebcaaf0616153f5ab04-20210727 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 532556123; Tue, 27 Jul 2021 12:00:42 +0800 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 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.18.0