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=-9.0 required=3.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 76274C433DF for ; Wed, 15 Jul 2020 15:16:28 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 2542520658 for ; Wed, 15 Jul 2020 15:16:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2542520658 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 8D32D6B0002; Wed, 15 Jul 2020 11:16:27 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 883446B0006; Wed, 15 Jul 2020 11:16:27 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 772026B0008; Wed, 15 Jul 2020 11:16:27 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0032.hostedemail.com [216.40.44.32]) by kanga.kvack.org (Postfix) with ESMTP id 5C0B26B0002 for ; Wed, 15 Jul 2020 11:16:27 -0400 (EDT) Received: from smtpin23.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 0BC4B180AD815 for ; Wed, 15 Jul 2020 15:16:27 +0000 (UTC) X-FDA: 77040661614.23.coast75_390af1726efa Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin23.hostedemail.com (Postfix) with ESMTP id C14E837609 for ; Wed, 15 Jul 2020 15:16:26 +0000 (UTC) X-HE-Tag: coast75_390af1726efa X-Filterd-Recvd-Size: 4884 Received: from mail-io1-f71.google.com (mail-io1-f71.google.com [209.85.166.71]) by imf44.hostedemail.com (Postfix) with ESMTP for ; Wed, 15 Jul 2020 15:16:26 +0000 (UTC) Received: by mail-io1-f71.google.com with SMTP id z65so1571658iof.13 for ; Wed, 15 Jul 2020 08:16:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=cvzvEzl5SbyaMRIX3vQSoIRBxHeTQZefDXQaKYTW9rI=; b=iaNmv1vfLgOOl1J5DkpBFWErh0mrCzI9FABuMqxQENdiLqowugj10FgK8OujDeSQtM iNSKfN9i/HNv630c4il+4NzBVU4BxJjE38icd1e6A+uLzCBdB8TO651fEweaiZQUCNpu LvRsbnL7PtQp/EH2ar8cUthmCtyNPqgyHWlPk2KcEF6eie9OXOEEzPiTqBGlZ5vx0rrT T9rdSAVO2KANrmH9NyR+SBZAyu5txlsu2+l+C6WvWuLUt4L/lbfgemAvPdAXYOESS9f6 6qRwUfS8jOnkEF0S037/6IkFWjvWMoz7vDVCrhyaPKfiEUZ+d09S8hqsMmt3IV3ysIwj 7JXw== X-Gm-Message-State: AOAM532KyVMmO9GMKkgZppf9ed1N1ANMheg4Wp9jFszmcgL30fQdtRDN lL9AsYKRW+dtSg1wF8Pfvf2MS56ruar3bz8LcacIebHX4V5q X-Google-Smtp-Source: ABdhPJwC0mdxUOHsM6MvCiMdRNKmmAyUq+MPH5KWDmm4HFnGek8r/02UfjDmkpHKDSm0VN4H1xi76E/vw1TQm4/oydZchA+LGqXu MIME-Version: 1.0 X-Received: by 2002:a6b:ce01:: with SMTP id p1mr10506515iob.19.1594826185918; Wed, 15 Jul 2020 08:16:25 -0700 (PDT) Date: Wed, 15 Jul 2020 08:16:25 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000004a4d6505aa7c688a@google.com> Subject: KCSAN: data-race in generic_file_buffered_read / generic_file_buffered_read From: syzbot To: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: C14E837609 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam03 X-Bogosity: Ham, tests=bogofilter, spamicity=0.449269, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hello, syzbot found the following issue on: HEAD commit: e9919e11 Merge branch 'for-linus' of git://git.kernel.org/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1217a83b100000 kernel config: https://syzkaller.appspot.com/x/.config?x=570eb530a65cd98e dashboard link: https://syzkaller.appspot.com/bug?extid=0f1e470df6a4316e0a11 compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project.git ca2dcbd030eadbf0aa9b660efe864ff08af6e18b) 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+0f1e470df6a4316e0a11@syzkaller.appspotmail.com ================================================================== BUG: KCSAN: data-race in generic_file_buffered_read / generic_file_buffered_read write to 0xffff8880968747b0 of 8 bytes by task 6336 on cpu 0: generic_file_buffered_read+0x18be/0x19e0 mm/filemap.c:2246 generic_file_read_iter+0x7d/0x3e0 mm/filemap.c:2326 ext4_file_read_iter+0x2d6/0x420 fs/ext4/file.c:74 call_read_iter include/linux/fs.h:1902 [inline] generic_file_splice_read+0x22a/0x310 fs/splice.c:312 do_splice_to fs/splice.c:870 [inline] splice_direct_to_actor+0x2a8/0x660 fs/splice.c:950 do_splice_direct+0xf2/0x170 fs/splice.c:1059 do_sendfile+0x562/0xb10 fs/read_write.c:1540 __do_sys_sendfile64 fs/read_write.c:1601 [inline] __se_sys_sendfile64 fs/read_write.c:1587 [inline] __x64_sys_sendfile64+0xf2/0x130 fs/read_write.c:1587 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:384 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff8880968747b0 of 8 bytes by task 6334 on cpu 1: generic_file_buffered_read+0x11e/0x19e0 mm/filemap.c:2011 generic_file_read_iter+0x7d/0x3e0 mm/filemap.c:2326 ext4_file_read_iter+0x2d6/0x420 fs/ext4/file.c:74 call_read_iter include/linux/fs.h:1902 [inline] generic_file_splice_read+0x22a/0x310 fs/splice.c:312 do_splice_to fs/splice.c:870 [inline] splice_direct_to_actor+0x2a8/0x660 fs/splice.c:950 do_splice_direct+0xf2/0x170 fs/splice.c:1059 do_sendfile+0x562/0xb10 fs/read_write.c:1540 __do_sys_sendfile64 fs/read_write.c:1601 [inline] __se_sys_sendfile64 fs/read_write.c:1587 [inline] __x64_sys_sendfile64+0xf2/0x130 fs/read_write.c:1587 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:384 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 6334 Comm: syz-executor.0 Not tainted 5.8.0-rc5-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.