Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3099956pxv; Mon, 12 Jul 2021 09:16:11 -0700 (PDT) X-Received: by 2002:a92:7c11:: with SMTP id x17mr35366841ilc.224.1626106570671; Mon, 12 Jul 2021 09:16:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynELvrN4kvbOvS+jmyIDRB8YMJOCLNiBBaht9B0tUzmHnt+GoLS+i4D/YshnDO4Qk3+g9T X-Received: by 2002:a92:7c11:: with SMTP id x17mr35366735ilc.224.1626106569147; Mon, 12 Jul 2021 09:16:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626106569; cv=none; d=google.com; s=arc-20160816; b=Ra9f9vfuIP54M4GfXyGHRLQozF6KKOikbfUXXdDQcHlCvQ4G/8sm7k1ioKS5TiACM1 HsXtCd7cL5AytSlAAARQWks3HeLKjVU2gV5qzcKqnY1pu2Gf1IO+F8DKlMx4l3uKLBDH 2w7WH4VpJ1cjzcDJOL0gUNDjeyWd9lTeWbo2Z+OL5Mx7FTvWy3M53ZZOCf1nhEYBfKko XhEJl9k2kJY4eiqLL89v/B6BobbmKALbfPMdHJvycX9fm3fP0dI0P2P4NZ/GRAwVuubN fVG1rWr8NVs8HgPR0qsb+JdSGhsYRba9YyhYAiFs4ybZ7xGQK30hRVyZtpVWEtMaIDIi qoGw== 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=nQBfcP6oCKq0X5PB40wsxkaY2AyI2mZMPM6ogzszKIQ=; b=BE7FeJ+RTFdd4HoAM0IKXGBDN1eh2uiHvuVqhamy76pkNeCnQAmou5cZY+c9I+5BA7 unzRu8tTtU5DFR+/evDf0XV5CokV23eFZS9E8teBpSdlwQhR7nG7+Z1V/LnxSi6mADKO FNSDtx1jNhgaYZHOE7Nh5I8gkR4nrF1tM9sld+LMZ0fjhnKQGSkXoBetXJLabfMxLYGu 6WkmsxaSa6TFkSJi5/8sTY/2ve1+Og8Tl2Tuf4ZCI3PeO4GqTM/sPHzePtux4YiuR/GS 6kPrVscE7WKRIOte3dQPHUJaIClxeviydaA5CI81DAzhcg+xZvn50tt/Y6RcAqP+Oeut 9qtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=AbpB9NFk; 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 g13si19810597ilf.35.2021.07.12.09.15.54; Mon, 12 Jul 2021 09:16:09 -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=AbpB9NFk; 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 S229848AbhGLQRx (ORCPT + 99 others); Mon, 12 Jul 2021 12:17:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233049AbhGLQRx (ORCPT ); Mon, 12 Jul 2021 12:17:53 -0400 Received: from mail-oi1-x231.google.com (mail-oi1-x231.google.com [IPv6:2607:f8b0:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96624C0613E8 for ; Mon, 12 Jul 2021 09:15:04 -0700 (PDT) Received: by mail-oi1-x231.google.com with SMTP id u15so6401928oiw.3 for ; Mon, 12 Jul 2021 09:15:04 -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=nQBfcP6oCKq0X5PB40wsxkaY2AyI2mZMPM6ogzszKIQ=; b=AbpB9NFkivLNuosYIWvKL71WOfuPwi8YqR7L8+G4VIKzwgw0I0TZzvktCDfen0QAk4 b6S6jvJu20o1MOKm38nzot3ALqyqfbf4T5qQ421/2iNWqN16E2KzlznryHqFZzZqDhkd MK3LM9ULwa+hjaLJsqTSUh0y3qh2FXEA+otUK2pfqnlvMjUSziU8e8kIU1CsqqxsrtNW HMq6L55484zxw4NAnGspGoB6DmwVXXdNwbDoYUNpw8C4SVHiIT4OjNDaRzXW4Jcu0CLS DQzMXSpmQwszFg/DWghgxEt5MYq5eFh+ULV90B+oPIvp6cvx2l8SguSbo7qEo+jvfi+O 8obQ== 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=nQBfcP6oCKq0X5PB40wsxkaY2AyI2mZMPM6ogzszKIQ=; b=LhAZFZjjfnxhGaqqUJieoJ+F2udzq5+LumpqaikxeCzOiYOX2f7b+3jjJrNnJQICNy B8IewNtf8JyGxttlEfc61CU+ZkSJm95LC5WuyD9pZpffAX3jc74M5q4CtPN8czbuvg+i kydS1r45MhScLuvElel2H3OAu+5wLoS8UFPeXK8iDkDtpkfnyOEV6aHGuXmldANXu1xJ QQ8lqUEWLCKmBPB0QZbGGmmPc8T27UKU/FYLi/hgPcrtm6OblV3y5Afuyp7x6/LtEDt8 WOBttqtwbuoXj6nFEdaTfyyPY59XAxZHr96XkzNR7G4uJlB8AHBCTpHslJwKinxfqxfn 05Xw== X-Gm-Message-State: AOAM530HrshlqoIkF3HTzDzb15MuXpRtier/6yByWFpEHsIetxDvc9/k /MLA2nZIW3PaS0mZlsHSuOxgDP3Chw5JpKtq2m46pw== X-Received: by 2002:a05:6808:284:: with SMTP id z4mr5073375oic.70.1626106503239; Mon, 12 Jul 2021 09:15:03 -0700 (PDT) MIME-Version: 1.0 References: <00000000000080403805c6ef586d@google.com> In-Reply-To: <00000000000080403805c6ef586d@google.com> From: Marco Elver Date: Mon, 12 Jul 2021 18:14:37 +0200 Message-ID: Subject: Re: [syzbot] KCSAN: data-race in call_rcu / rcu_gp_kthread To: syzbot , "Paul E. McKenney" , rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [-Bcc: fsdevel] [+Cc: Paul, rcu@vger.kernel.org] On Mon, 12 Jul 2021 at 18:09, syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit: e73f0f0e Linux 5.14-rc1 > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=172196d2300000 > kernel config: https://syzkaller.appspot.com/x/.config?x=f5e73542d774430b > dashboard link: https://syzkaller.appspot.com/bug?extid=e08a83a1940ec3846cd5 > compiler: Debian clang version 11.0.1-2 > > Unfortunately, I don't have any reproducer for this issue yet. > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > Reported-by: syzbot+e08a83a1940ec3846cd5@syzkaller.appspotmail.com > > ================================================================== > BUG: KCSAN: data-race in call_rcu / rcu_gp_kthread > > write to 0xffffffff837328a0 of 8 bytes by task 11 on cpu 0: > rcu_gp_fqs kernel/rcu/tree.c:1949 [inline] > rcu_gp_fqs_loop kernel/rcu/tree.c:2010 [inline] > rcu_gp_kthread+0xd78/0xec0 kernel/rcu/tree.c:2169 > kthread+0x262/0x280 kernel/kthread.c:319 > ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 > > read to 0xffffffff837328a0 of 8 bytes by task 30193 on cpu 1: > __call_rcu_core kernel/rcu/tree.c:2946 [inline] > __call_rcu kernel/rcu/tree.c:3062 [inline] > call_rcu+0x4b0/0x6c0 kernel/rcu/tree.c:3109 > file_free fs/file_table.c:58 [inline] > __fput+0x43e/0x4e0 fs/file_table.c:298 > ____fput+0x11/0x20 fs/file_table.c:313 > task_work_run+0xae/0x130 kernel/task_work.c:164 > get_signal+0x156c/0x15e0 kernel/signal.c:2581 > arch_do_signal_or_restart+0x2a/0x220 arch/x86/kernel/signal.c:865 > handle_signal_work kernel/entry/common.c:148 [inline] > exit_to_user_mode_loop kernel/entry/common.c:172 [inline] > exit_to_user_mode_prepare+0x109/0x190 kernel/entry/common.c:209 > __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] > syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:302 > do_syscall_64+0x49/0x90 arch/x86/entry/common.c:86 > entry_SYSCALL_64_after_hwframe+0x44/0xae > > value changed: 0x0000000000000f57 -> 0x0000000000000f58 > > Reported by Kernel Concurrency Sanitizer on: > CPU: 1 PID: 30193 Comm: syz-executor.5 Tainted: G W 5.14.0-rc1-syzkaller #0 > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 > ================================================================== > > > --- > This report is generated by a bot. It may contain errors. > See https://goo.gl/tpsmEJ for more information about syzbot. > syzbot engineers can be reached at syzkaller@googlegroups.com. > > syzbot will keep track of this issue. See: > https://goo.gl/tpsmEJ#status for how to communicate with syzbot. > > -- > You received this message because you are subscribed to the Google Groups "syzkaller-bugs" group. > To unsubscribe from this group and stop receiving emails from it, send an email to syzkaller-bugs+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/syzkaller-bugs/00000000000080403805c6ef586d%40google.com.