From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EA4E7C4338F for ; Tue, 10 Aug 2021 18:21:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D10DA60231 for ; Tue, 10 Aug 2021 18:21:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236954AbhHJSVd (ORCPT ); Tue, 10 Aug 2021 14:21:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236175AbhHJSV0 (ORCPT ); Tue, 10 Aug 2021 14:21:26 -0400 Received: from mail-yb1-xb2e.google.com (mail-yb1-xb2e.google.com [IPv6:2607:f8b0:4864:20::b2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70F31C078343 for ; Tue, 10 Aug 2021 11:02:57 -0700 (PDT) Received: by mail-yb1-xb2e.google.com with SMTP id z128so37734466ybc.10 for ; Tue, 10 Aug 2021 11:02:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xHqo7EILZW+YSdl/5VDjBLKY3WeyT9Im9UwiXpyexBw=; b=Sw7EYklMxIPD0A8sP1K+skIL/5d0j4lSfLuBb4r4dyLQKR7LMu5dIWjxonOvY9yyC0 xGFbH2KRwJBUtg95pOvNgtVRjgGlx8CkxbDMQyLIPQ5hLLFseEHWDwhWO1jkD295A00y W6Amka+vQ3u8dcJTfHuhVE02RWlxhCaVmbyA0t7lJSOeYcHiN+NYI+qkL/ucIHInZ4uA /xy20aqQ6ORz0/f2n9xTlgE9/KAjKy5Zgjncl1iocDmw/EAkTjeKvoA7U1uk/hNCM5GI BSyfN/0T01618F5ABgd5VUWtS3ebBM6W85mKTcGtNtISkaWdUT44hq2y8hRzfoZkYnRn 5MYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xHqo7EILZW+YSdl/5VDjBLKY3WeyT9Im9UwiXpyexBw=; b=NnLZDZj3OE1ACfLsoiugq8/Hjr9i71PS7h8rZMP4/qh0ygVCl3z+jb1YUeh6Asq/En NzTrAu7AArpnJiE7S9ZQeZvHtPsXS7BmSuAJu95SEnaCir5+kHAfCWJJF3wpMzTHS48W bC+mtYQGT7lNzljsjO/Ufh85fvl3jkxH0Sh9Eb9mf2OfZkPA+NUZJcB6HVo+TbjTvD8f pAyko0lMKAiB5ffc5zZ5Wf9brMPjLh9BGcmwSoapRWfqGScAgHKcxzHBjtV4VlbDoJ5Z EhXbNa9Yuho1S+jLMA/nTG3PFX6qsKRz34XpmavUB5XhG9deBQmX6197eDt3fRbLGMQR KdZQ== X-Gm-Message-State: AOAM532yCSO6BCWN9ee9EycXSZTgU4NhmZJhtt9Sv8ezQYJRwEGwWNqX N6tvVZmoF2bdfGAwkXVdHCMsy00sZPmclxYJXFQNQw== X-Google-Smtp-Source: ABdhPJwhzD7auOcf0ZhqBy6VIuL8hOMQlMVIgekREU2RxDG23KP2hJm1lqS0l9oHkUCuzeMJy+M5U2zN6NzTtOYTO5o= X-Received: by 2002:a25:cc44:: with SMTP id l65mr5183317ybf.303.1628618576203; Tue, 10 Aug 2021 11:02:56 -0700 (PDT) MIME-Version: 1.0 References: <0000000000006bd0b305c914c3dc@google.com> <0c106e6c-672f-474e-5815-97b65596139d@oracle.com> <2901262f-1ba7-74c0-e5fc-394b65414d12@oracle.com> <66417ce5-a0f0-9012-6c2e-7c8f1b161cff@gmail.com> <583beba4-2595-5f4c-49a8-f8d999f0ebe7@oracle.com> In-Reply-To: <583beba4-2595-5f4c-49a8-f8d999f0ebe7@oracle.com> From: Eric Dumazet Date: Tue, 10 Aug 2021 20:02:44 +0200 Message-ID: Subject: Re: [syzbot] BUG: sleeping function called from invalid context in _copy_to_iter To: Shoaib Rao Cc: Eric Dumazet , 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 10, 2021 at 7:50 PM Shoaib Rao wrote: > > > On 8/10/21 2:19 AM, Eric Dumazet wrote: > > > > 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. > How did the previous email help? I did not get any reply when I asked > what could be the cause. Which previous email ? Are you expecting immediate answers to your emails ? I am not working for Oracle. > > > > My question about spinlock/mutex was not sarcastic, you authored > > 6 official linux patches, there is no evidence for linux kernel expertise. > > That is no measure of someones understanding. There are other OS's as > well. I have worked on Solaris and other *unix* OS's for over 20+ years. > This was an oversight on my part and I apologize, but instead of > questioning my expertise it would have been helpful to say what might > have caused it. I sent two emails with _useful_ _information_. If you felt you were attacked, I suggest you take a deep breath, and read my emails without trying to change their intention and meaning. If you think my emails were not useful, just ignore them, this is fine by me.