Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp22157631rwd; Fri, 30 Jun 2023 04:49:15 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6dTGC9TrL7eEbqtanRVI08bNt6EhGEPi3/C5QITWY964/lL3vRmSzEANrUxuFazH7Y7/eg X-Received: by 2002:a05:6a21:3389:b0:123:3ec2:360d with SMTP id yy9-20020a056a21338900b001233ec2360dmr3354445pzb.5.1688125755138; Fri, 30 Jun 2023 04:49:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688125755; cv=none; d=google.com; s=arc-20160816; b=Eiym0NCNGuCEQTt5fGtKUgCQ/Wt0FIJt0fPLjHMUaKz/a3s+kyj0BvYMOaD0wEJvVP VrvdRvgKtSOJ15q0C205R8Bel3rDVhawZ7nzwXbcgS+lMs/4w+zmsDjsuwVVEoMn+YJi JuCMb3a451Xvl9afE5dmJZvNvy3cs0MhqKq3Na/Ig5x+dkE6Qq7KGjLL8zXrwmHDGzMK aDdlLNHoe9f3j0InKCl4GKyE60c97db2d6X3psMdk8/afVqKm2+EBrNLh4WH7dXD0c2o 19Ycj89Idi/iK1NAv2UNQyFEdrdyrWVDHN0c266+hbfgJTeb6cXh1CSE0XqW/H7sUskz bxOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=NY+pHNYX++uPw0GdIA88Fg8qrzeAw3i64xZ2DUGb+XU=; fh=dF3P508AnYRvF20u4q0RnGadnFdVtbP0z+yK9e1wmP0=; b=G3hq8EWTzhD+wPa8IuqQZpyDcCJ60AFDP5o5fzXQRxt0M5MFKHb2z2VvdM8lZYHx1c ncBk12WIRzvqqVDqIfHDymCmZvIgpyN2gEBjPp/lJcPijbZcQ4cuj5MQ8gc4ipfBMLTh meosSMV9wMDWH3acTD/gDceum+0De+wziAjcm3fQMwPR9RHzgGs75JZd8cVP/OzgK1uB YAvJtxYh2aqQJr44wM7ntV8T+lFr2U8+hl4IlEQ46rFmJiGxHuSxTLbZFHhX6sIP9g5s WJIufqQWd8BOJ/jtgONgwbjPi5I/5l7HFe4j71Tz0QXQm4MPjSEJX/PAG4UpDe0OwFwK TmVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b="mALpn/IN"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q20-20020a056a00151400b00680252dda3csi5263807pfu.87.2023.06.30.04.48.59; Fri, 30 Jun 2023 04:49:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b="mALpn/IN"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231766AbjF3Lnk (ORCPT + 99 others); Fri, 30 Jun 2023 07:43:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231675AbjF3Lnk (ORCPT ); Fri, 30 Jun 2023 07:43:40 -0400 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 464ED1BD4 for ; Fri, 30 Jun 2023 04:43:39 -0700 (PDT) Received: by mail-io1-xd33.google.com with SMTP id ca18e2360f4ac-7836164a08aso74970739f.1 for ; Fri, 30 Jun 2023 04:43:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1688125418; x=1690717418; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=NY+pHNYX++uPw0GdIA88Fg8qrzeAw3i64xZ2DUGb+XU=; b=mALpn/INM320JwgmXJ3mgi71Kga4fYNP3E4PyKcnacXgjqCZRO9ehSeO2U/6xeTMK/ Zg1jidL3NDiwkrdriXpnVrieaXHFWnt2fp6OCr+5G7c0kFpeigOrXUC/y+3Vxg0IIL94 mlvZHvcCe7kqOnT3WC9QngqI5aa+STAHICCNpBdjZL3jm5dXGQA2LP8Ms0cs6hCRdW1l fqeIRILF8eW1Qk6bF5dYSMiuG2nAqS/2jx3aFuCI2gAjbiXbJGPXisWOST/5rqyB6e15 h3p6y4GGIaY+hYicx5CPBoWvzFPzM2PTnQebRGyfZhG6KJZ/IyinQEmt+68MVZcuyg9D 8TZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688125418; x=1690717418; h=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=NY+pHNYX++uPw0GdIA88Fg8qrzeAw3i64xZ2DUGb+XU=; b=dJZSLQdhIuzqu1nwySrqpYKn3fuOj0bSTcjV2AcNlASN7ElKaMjz9ol35D+yaOzID4 PuAF0HU5vVu/TSqYGNLDcERPQNj6Z0uaCqCvSfGkZR1vVxe0gmPLKzdQklkWLjJNLXOn CLxHPtzoYyQJHQ3s+BUiRn2POnhX+86tEU69Xi2ToK8pJ93gKeOAFvx00fjIRoXy9XrR H9nDyQ6HaDFWeBhgG9stwKdxD+94Yz7t70WYQ8OvJi8nSGNsSWlciETYyN0zyCMw2QIJ 9tn84a3RvjFL5hZli2d+uh7xzigKj2e2usa/MH1jx7JguAlL8eI9KSTNflwAgKWPyCms qJOA== X-Gm-Message-State: AC+VfDwJtGQA7oYHJY3Atw2uYCq3fwrGHl6lAw0Z7qJjVLdXKspf6sR0 WmwtkziDE/BE6DPryajlz1ACTGuAAaoOc20zmQFgrg== X-Received: by 2002:a5d:8183:0:b0:776:fd07:3c96 with SMTP id u3-20020a5d8183000000b00776fd073c96mr2933630ion.7.1688125418565; Fri, 30 Jun 2023 04:43:38 -0700 (PDT) MIME-Version: 1.0 References: <0000000000008a7ae505aef61db1@google.com> <20200911170150.GA889@sol.localdomain> <59e1d5c0-aedb-7b5b-f37f-0c20185d7e9b@I-love.SAKURA.ne.jp> In-Reply-To: From: Alexander Potapenko Date: Fri, 30 Jun 2023 13:43:02 +0200 Message-ID: Subject: Re: [PATCH] net: tls: enable __GFP_ZERO upon tls_init() To: Ard Biesheuvel Cc: Tetsuo Handa , Boris Pismenny , John Fastabend , Jakub Kicinski , herbert@gondor.apana.org.au, linux-crypto@vger.kernel.org, syzkaller-bugs@googlegroups.com, syzbot , Eric Biggers , Aviad Yehezkel , Daniel Borkmann , netdev@vger.kernel.org, "David S. Miller" , Eric Dumazet , Paolo Abeni Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED,USER_IN_DEF_DKIM_WL, USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org > > >>> > > >>> Could you please share your kernel config and the resulting kernel log > > >>> when running the reproducer? I'll try to reproduce locally as well, > > >>> and see if I can figure out what is going on in the crypto layer > > >> > > >> The config together with the repro is available at > > >> https://syzkaller.appspot.com/bug?extid=828dfc12440b4f6f305d, see the > > >> latest row of the "Crashes" table that contains a C repro. > > > > Kernel is commit e6bc8833d80f of https://github.com/google/kmsan/commits/master . > > That commit does not exist in that repo. Does it matter? Apologies for this mess. https://github.com/google/kmsan/commits/master is force-updated once a week to point to the latest release candidate with KMSAN-specific patches. Older releases are called e.g. kmsan-v6.4-rc7. Right now there's only one patch required to run torvalds/master with KMSAN (https://github.com/google/kmsan/commit/e6bc8833d80f). That patch will hit upstream in v6.5-rc1, after which I am going to switch syzbot to test upstream. For such a long-standing bug the exact version of KMSAN shouldn't matter.