Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp2108667rdb; Mon, 9 Oct 2023 12:52:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFSdQoECiMzDDQ7VEIC9uEpP7kuH+IibBumA+e5U67LH0DdvZGyN8j5aALzo0FLaMtQz5rW X-Received: by 2002:a05:6512:130b:b0:502:ffdf:b098 with SMTP id x11-20020a056512130b00b00502ffdfb098mr17844657lfu.6.1696881129207; Mon, 09 Oct 2023 12:52:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696881129; cv=none; d=google.com; s=arc-20160816; b=tYGOXEt93/f5Ki3iS8eoF+mvPEhcb7LeuHllCDL5nOJofSz6In3uyPi77WsA2xIVWX 47NoC/jN8NFYRNqbUu4vuAzkjVXVRr/J4Aplk/LDCH69dbhb0G3z/I+hWj5qBR6UnVZ+ jSwHt1kAG45tqhwzInYHbU9krrWb/e25tZUwpD3d95LPoc6V7tqDULswspDwh/jfaAcA 6a5jBIVxOml+kMgUyO02KiBxg8tOPrpDqoN4NVzorNK//oIHsWSAl17XuVbKm6qqkOMj BB3Al+6CAcmy11vORFk7dmPVvBs4F4zNMyKdxXhjgw1pyCYQRvndWZv0erfM3YNmYtiW 41rQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=e8wgkR84iWM9wxhviglgJUbOlzdCkXj/+h+ORKDao4Y=; fh=7igJxN9LckRTWOqPqITFhKv7QvF9IZfOm1aZGp1o+b4=; b=W3Z/W4Ip3oFX5YSmnHVXU8oT5J9R18mvufpA3LdhGHrRIlUT7uB2XToeWqedYpCRMD eween8uGOfMUpxkFE9JPl9jiYkiPsUGKq+ZT4aEpwzwnpNXC5fmih5aXil+mxhIFG7bk ncJPwnPPxBGxMmKb0NnoqgAU6TOE6Lcv0p7iQGTdZcwGDa8CJs0pgBYpiQMbSAxlGldf SGj4QCMNRzfqCgS+zpq0Ty4H6m/Nzz8Vin6AL8uH2sZLF//v1oju3p53QJ60/ysa68Du EuA5rxjssWbueElz7KueCQmL1QQQCx9PxWtAQN4wmYZYrtKk9zfxZtV4+CEbDw4gt1xO fmag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="csENhR/N"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id q6-20020ac25286000000b00505681de94fsi5948306lfm.147.2023.10.09.12.52.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 12:52:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="csENhR/N"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 223CA807E528; Mon, 9 Oct 2023 12:50:28 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378461AbjJITuV (ORCPT + 99 others); Mon, 9 Oct 2023 15:50:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377401AbjJITuU (ORCPT ); Mon, 9 Oct 2023 15:50:20 -0400 Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC6F794 for ; Mon, 9 Oct 2023 12:50:18 -0700 (PDT) Received: by mail-pg1-x535.google.com with SMTP id 41be03b00d2f7-5890aa0573aso2322966a12.1 for ; Mon, 09 Oct 2023 12:50:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696881018; x=1697485818; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=e8wgkR84iWM9wxhviglgJUbOlzdCkXj/+h+ORKDao4Y=; b=csENhR/Nyz2ClMCKc7JRU4Bvimzri0c4R5dqdKEfJgaxgJLZQ2H5rDNmCrKw/FO9AU wdAKDcNsM6VkLQmPLWfZ4xy9LCYrdjNLo7sUbnsOf6QjkPQp74T4MgJEFDcIj71g9l+E 54p3IR8jtNnjxMFAHx++VOm0k+mgzdP0i0s9skDw5iKiBGxpkcOi+LlbwrZxTrlBWn6i F1azN1Ow/NHq/nP0s+ewsYWE2ILAXtrLMeg+DWNlkoNjoSl7kVs56REsiCLXwOMnhN+l IS7rkCSJCe4meeDqP5xEilVLciNwMi7oEVqiHjURJYU7O4iKRoPz9EZdn1QHhn0skGZd n16Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696881018; x=1697485818; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=e8wgkR84iWM9wxhviglgJUbOlzdCkXj/+h+ORKDao4Y=; b=BK5uGLlSntHd7dYUAemrZwBPwUXioXBwJCsJEg6GzNE+EPwyHc7HrTw6AyHRITrOzg gqh3ccxtbRNyDFoQZfmiPP/1x9Nq/pdiNliQbXaKPQYxJGKY1n+5iyZp+jOn5KbZ3xY8 kI22sWfQHwy23yCZclw8CBvRbe3hOnZowF5Y09jvPLhGRA/XNdUKYDsu86lm/OKyz9Y8 cAPXY2MZwdthynm4LDuIIMzBENFrCrUG8Fc1jPsebrHpQ9UafqDB6xkXwHX13i5M1pvr 1P4kyQRCuysBWR+2AaSoWDsf9zc7zDhpo3SuVlFyNzibIwqmqPyz3UCaWyXepvNtMmMC IdKA== X-Gm-Message-State: AOJu0Yx62o+hgCsQXoqY/4wdJ15UNJuaPi3sCRcSYLmhdoyGGVYY8nz0 8dIaqOmAlfBNHJ2i+/dZ7bSM+6pwUslsBJaiuYvpZqkMXWfdAh1Y X-Received: by 2002:a17:90a:b97:b0:273:4672:98b5 with SMTP id 23-20020a17090a0b9700b00273467298b5mr12577856pjr.42.1696881018348; Mon, 09 Oct 2023 12:50:18 -0700 (PDT) MIME-Version: 1.0 References: <6f621966c6f52241b5aaa7220c348be90c075371.1696605143.git.andreyknvl@google.com> In-Reply-To: From: Andrey Konovalov Date: Mon, 9 Oct 2023 21:50:06 +0200 Message-ID: Subject: Re: [PATCH 3/5] kasan: use unchecked __memset internally To: Marco Elver Cc: andrey.konovalov@linux.dev, Alexander Potapenko , Dmitry Vyukov , Andrey Ryabinin , kasan-dev@googlegroups.com, Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrey Konovalov Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=3.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_SBL_CSS, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 09 Oct 2023 12:50:28 -0700 (PDT) X-Spam-Level: ** On Mon, Oct 9, 2023 at 10:46=E2=80=AFAM Marco Elver wrot= e: > > On Fri, 6 Oct 2023 at 17:18, wrote: > > > > From: Andrey Konovalov > > > > KASAN code is supposed to use the unchecked __memset implementation whe= n > > accessing its metadata. > > > > Change uses of memset to __memset in mm/kasan/. > > > > Signed-off-by: Andrey Konovalov > > Do we need a "Fixes" tag? Good idea, let's add them: Fixes: 59e6e098d1c1 ("kasan: introduce kasan_complete_mode_report_info") Fixes: 3c5c3cfb9ef4 ("kasan: support backing vmalloc space with real shadow memory") > Reviewed-by: Marco Elver Thanks!