Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp257111pxv; Wed, 30 Jun 2021 05:05:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsedjlhQiMlmaLIAfoXHDZKje5Zj39YtsexouI0W1K34C3pNlxTe4n2e2vPrY+7547AVGi X-Received: by 2002:a92:c52f:: with SMTP id m15mr24199569ili.293.1625054747434; Wed, 30 Jun 2021 05:05:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625054747; cv=none; d=google.com; s=arc-20160816; b=mNRUMlyppKeIbVdj8CruoFOecJ/tNs+duZfXImGBFSB7vph/YCkADJ0886C9PMCuZt yv0x25T36a/Cs8fjtIeqFtIefAXryi8kmz6QBsJqsbLhcEMwiH3heTcmJPFB1LdBFu3m ewTApMg7FXk8+i7QRMm1InS3m/Jm5PcLxX9wCMrI65CKBwYLHet4xZaf/edsjoKkq9tJ 2u9Oa6N+MlhRSjRGB2KrkiR1m53cLCR2pyvEgXwet7d1pRoFCIYU8IeH0EqQcyKxePG6 H9PFHixij4AP1w3PRON277KTLLdQR8k5bxatPbghT3InvQAne4PbJP459M7aesTDily7 n4Ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=+fdmShWFbN/w2muDUPAdw8DnyUxzjW3IYJi5XjDJIis=; b=lBUvXlF9G5jE6akKXW5LLd7y0xQV0VrYjgZZMXYiw0DaW+Jzfz31m9xe3J0HyE2LbR PoVtUFHu3Cu8PkKS+YsiBiZkiftEc4VlLM6llGzpvyQT62w4CJSYbJCKu3IByf1tt1G2 ypb/mNt7XEuXQqOgBNkoyHtCW42TS8hnZPZpI+8AVwhSkUXCCXcafORFPmU76p42OrDG DGGlqgiF3fyL+AmZ+8kmgmKdxzUPP2n2rQsvrVsQArBt6BOeig+qy9ESEm2skQI9lJRI Hn9dqVhhrJvuTiULnfPcu9xn4xrTlAG/kIBU/fkEnTdccjRMLtE3Kd5ceWyuq96jugjV Jqpw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f2si2494935ilc.85.2021.06.30.05.05.28; Wed, 30 Jun 2021 05:05:47 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234443AbhF3MGz (ORCPT + 99 others); Wed, 30 Jun 2021 08:06:55 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:51060 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234387AbhF3MGz (ORCPT ); Wed, 30 Jun 2021 08:06:55 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtp (Exim 4.92 #5 (Debian)) id 1lyYwv-0000wZ-7n; Wed, 30 Jun 2021 20:04:13 +0800 Received: from herbert by gondobar with local (Exim 4.92) (envelope-from ) id 1lyYwi-0006Yr-SZ; Wed, 30 Jun 2021 20:04:00 +0800 Date: Wed, 30 Jun 2021 20:04:00 +0800 From: Herbert Xu To: Ard Biesheuvel Cc: Dave Hansen , syzbot , Borislav Petkov , "H. Peter Anvin" , jpa@git.mail.kapsi.fi, kan.liang@linux.intel.com, Linux Kernel Mailing List , Andy Lutomirski , Ingo Molnar , syzkaller-bugs , Thomas Gleixner , X86 ML Subject: Re: [syzbot] BUG: sleeping function called from invalid context in __fdget_pos Message-ID: <20210630120400.GA25168@gondor.apana.org.au> References: <000000000000f3e94a05c5d8686f@google.com> <20210630080934.GA24186@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 30, 2021 at 11:13:00AM +0200, Ard Biesheuvel wrote: > > So something like this, I suppose? Yes this should work. Ideally I think it should only call the walker once instead of potentially three times but I can live with that :) Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt