Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp3419488pxt; Tue, 10 Aug 2021 03:16:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFUUlXoqm0EQwqTDkGemjOJuxVbKmbPm3pQVaKm651VBeT7tHn7bymJ34fyYeQtth5gHA4 X-Received: by 2002:a17:907:1c08:: with SMTP id nc8mr27683849ejc.514.1628590586935; Tue, 10 Aug 2021 03:16:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628590586; cv=none; d=google.com; s=arc-20160816; b=KvkhdFUTgeVk0vsalK/2pkpFw6Ll2gYmZY4Cy2U25S0Hkz1IXIzPdhN1QChfSdcSHO CAoWYiX74icZaNetvLt+JEFPLELpZOo8q3DGJoOg54KsMLJQmJsoIJH8SRgrMUWQ3bup di3WhzW1/ouu+cWpcQmYctgmtR/tpUQWs1V3qbTVm3W+dBg3RVZ/h7DxFUjE9pCJPyx0 IMC6nMmwPWjFfdMV/QK1M1BEGwmhfFN25KICy4x5+2N55qUSYeig0WkuzI7CDo2byFlt D6Kfe4FGLJVQzAd9LkKjZx5HE/A/elxW/58c5Zp0jXqWxB1/WZWHHxOix2gQ605LZxlQ cUfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=mdkQluT1YKU8TSn2hpDxZUIUuX8zWsmkIMNtHoK0wRc=; b=F3i7DNL+yG7Vp0cPY7mLkIn9Redr2tWF/+8u+R3f5ecI8GYO0LGTana+q/EE6YOiix S7PZvNrY0DMQdRrUh6XacrE6JoE52sOsn5+XMR2lO2KZQMbjtcc5pnxIIu0KvjsUrvtw VjuBXq2M8I6WZ+bnH5UAjxISU4clhk93GQt9q1nGZwK/VrpSYLoS9U5dzYmGjgq3zxM2 5OBT3kgxat27nrm8dF21GD70Y7xwAQSpRAsAoRJ02hO8jUqw6gqYZUDhpl66XHx3Ti7L etxu79XeOZ6EYSKIvffB8LrWG068/ICqvmSOIVn4sf0FTHyeqB5TV6aWSL6yfkJvB+TX 7VVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qVM7w2WO; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u3si20239565edy.55.2021.08.10.03.16.00; Tue, 10 Aug 2021 03:16:26 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qVM7w2WO; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238853AbhHJJUC (ORCPT + 99 others); Tue, 10 Aug 2021 05:20:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237811AbhHJJUA (ORCPT ); Tue, 10 Aug 2021 05:20:00 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B116C0613D3; Tue, 10 Aug 2021 02:19:38 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id q11-20020a7bce8b0000b02902e6880d0accso1466353wmj.0; Tue, 10 Aug 2021 02:19:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=mdkQluT1YKU8TSn2hpDxZUIUuX8zWsmkIMNtHoK0wRc=; b=qVM7w2WOseqIEw+mvNsvmGJXAzYFNM8Mie/v2wzH0JqGmrG5fOKwNtYQ8W776vTCdU aI+EPC0cVyNFCqV9Pxwtyaq+TOWm+rDGAuXaDNaXxnkonVhbOPW4yjeJSNRHr6czJ4uh UmsblVZLlNTN93SIn+UcgPT8+NqQFtC4/mFuw7uYCpEdrVpp2U+fLbEKG8D1fdIkBsmR mv5iGBAj/+syo8LT+/Krol9wJ0y7KWaBCfVtZM789SpGQoz8EZTtVPW6pg0wD3tflb+u 68u10QojnFTJ3GrdNQkxfeCmR3DJruqsr/Oy/FiP83cgikNtyE0EFAjpQAQiFYyqsP4m qcsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=mdkQluT1YKU8TSn2hpDxZUIUuX8zWsmkIMNtHoK0wRc=; b=Tnmx1g+5+MM5GXuyeQBBqCnyEVYgOr6jExbEBRwbnVNnuXaN5i3bVdndGBwYIGy2eJ 47db55mmTtL4VAV0cp4SGCQylngB8/yfp077sPCwKLbOEcTWeoX49FejiGnkGj0rsnpw SyX0jA49MtMdwHhQ6ZMdrqmLOSeEw21RZHsKX7DKhxq/sNm8WXCv27Ier/Hpwgx1W2MI Zix/MC3QIVrpsF2m7X04lZQ39uuB6kNBbSkkwpoKtwauigJ3GpdBrpo/ROekD81pMOEV tMrnPyRkZdBTVjzw9gjOwmnqdSXyA3DXh34iHGO95J9A1o2mvuRZH87oQI2XFSk+jEiY rUcQ== X-Gm-Message-State: AOAM533tDEm7FqZ/9z+Yi0ugfaUzIKzM8O21oOqhGcGxuHY8T/ca5Ehi BI34LN07g90naDapRiUU+t8= X-Received: by 2002:a05:600c:213:: with SMTP id 19mr3636088wmi.2.1628587177196; Tue, 10 Aug 2021 02:19:37 -0700 (PDT) Received: from [10.0.0.18] ([37.165.16.90]) by smtp.gmail.com with ESMTPSA id v5sm23513837wrd.74.2021.08.10.02.19.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 10 Aug 2021 02:19:36 -0700 (PDT) Subject: Re: [syzbot] BUG: sleeping function called from invalid context in _copy_to_iter To: Shoaib Rao , Eric Dumazet Cc: Dmitry Vyukov , syzbot , Andrii Nakryiko , Alexei Starovoitov , bpf , Christian Brauner , Cong Wang , Daniel Borkmann , David Miller , jamorris@linux.microsoft.com, John Fastabend , Martin KaFai Lau , kpsingh@kernel.org, Jakub Kicinski , LKML , "open list:KERNEL SELFTEST FRAMEWORK" , netdev , Shuah Khan , Song Liu , syzkaller-bugs , Al Viro , Yonghong Song References: <0000000000006bd0b305c914c3dc@google.com> <0c106e6c-672f-474e-5815-97b65596139d@oracle.com> <2901262f-1ba7-74c0-e5fc-394b65414d12@oracle.com> From: Eric Dumazet Message-ID: <66417ce5-a0f0-9012-6c2e-7c8f1b161cff@gmail.com> Date: Tue, 10 Aug 2021 11:19:26 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/9/21 10:31 PM, Shoaib Rao wrote: > > On 8/9/21 1:09 PM, Eric Dumazet wrote: >> I am guessing that even your test would trigger the warning, >> if you make sure to include CONFIG_DEBUG_ATOMIC_SLEEP=y in your kernel build. > > Eric, > > Thanks for the pointer, have you ever over looked at something when coding? > I _think_ I was trying to help, not shaming you in any way. My question about spinlock/mutex was not sarcastic, you authored 6 official linux patches, there is no evidence for linux kernel expertise.