Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp3791850pxt; Tue, 10 Aug 2021 11:23:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3TS4avTYN0kLuvLI6haspKdZ3F4wIZpoq1CP6tRLYsWIDNvOaJye787d9Tm1ixSWMXU2W X-Received: by 2002:a02:cc21:: with SMTP id o1mr28572519jap.114.1628619793793; Tue, 10 Aug 2021 11:23:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628619793; cv=none; d=google.com; s=arc-20160816; b=IywYwndWFgguxQFDnL3oX73ekYpydB5TZd/rEhcQsJp5yhDc0UJlI8h48RUfZUt4MX lRk6UFn9JjP1KF+QlfEjyJstFXio9s0ppi/fZ+LlfKYzPjvrXdSI2s/BKmD05uVGzfF5 VqphcbSKK3YwmunXaWF3mDu+RpDZn47KPdGJBaLbIt/UPZg33wd0UDVRfijC/o21Jfu6 bDZou36DEoZwXxqVMWzftA4iYJfNdYulKkG/g02sHdH1iudwn+pn33JqmcqTTmTFb5dR ufhV7/+wXRRjN1MbETuhQW1d8jA/My7OqhQ76unIs/8xFpZJCznqN7TXuOgde54y33+i F5bQ== 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=xHqo7EILZW+YSdl/5VDjBLKY3WeyT9Im9UwiXpyexBw=; b=XACJ2c2ddmitLbPvVdxKI5Y9SbQjnO9RiFwMv0QuaevtE4KaNzkl+xGRb2uGSWOayS i9dgMc3fAbgHaZ6R6X649Djs/vTCV6B3QKBSmQne6NBdKpkwGhtQMnQIOczoyTBOPzzd YinmISI3P+V6qeqdQLJQxMCdjXYWNLOyA//to2lvyLDIdKzOO7KEtxTzYN4uRAx4mp2N AjH9l7Fgs5t+usvIt+4nnEUpp7TWKxUwSugzndiw8XD9ePc0V43vKN74lVTY3UyXNU6l aa2o11hsu6U7TOiy93mNJ2LeFEBFVBV/vG5uXFUKdQGoi79OSxkSdrk0NVfdqJNXZKlJ l2Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Sw7EYklM; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p19si25526546iov.90.2021.08.10.11.23.02; Tue, 10 Aug 2021 11:23:13 -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=@google.com header.s=20161025 header.b=Sw7EYklM; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236859AbhHJSVc (ORCPT + 99 others); Tue, 10 Aug 2021 14:21:32 -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-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.