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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C797FC433FE for ; Thu, 28 Oct 2021 16:40:30 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 39867610CF for ; Thu, 28 Oct 2021 16:40:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 39867610CF 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=kvack.org Received: by kanga.kvack.org (Postfix) id B7E066B006C; Thu, 28 Oct 2021 12:40:29 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B2DDD940007; Thu, 28 Oct 2021 12:40:29 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9F5396B0073; Thu, 28 Oct 2021 12:40:29 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0218.hostedemail.com [216.40.44.218]) by kanga.kvack.org (Postfix) with ESMTP id 7A1836B006C for ; Thu, 28 Oct 2021 12:40:29 -0400 (EDT) Received: from smtpin08.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 09A9839B8D for ; Thu, 28 Oct 2021 16:40:29 +0000 (UTC) X-FDA: 78746409378.08.3E38C05 Received: from mail-il1-f198.google.com (mail-il1-f198.google.com [209.85.166.198]) by imf17.hostedemail.com (Postfix) with ESMTP id A998FF000787 for ; Thu, 28 Oct 2021 16:40:28 +0000 (UTC) Received: by mail-il1-f198.google.com with SMTP id x4-20020a923004000000b00258f6abf8feso4278955ile.20 for ; Thu, 28 Oct 2021 09:40:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=hQOwIpDJMFa8b9GH204Ti072BTb6C3oMwQNXRNRgt9M=; b=ye2KySjyCTMSCq2IOAEPrXswry4OTpjlmwd/uWUHTRnbvfF4nLrWIPIMMqylm18bX5 +Wf8ahxG1USoy7kpPxq3lsPqCA9kLRV8JPS/ME/+avL8MELmDy5/Pz5s1SDNB/Tmw8C6 wcGROcUUjPZT3THm610rQoiicXdfuVha3XJA3PpA15U92wCkitVlc24dTMj7sgQCgW55 7vBSDuaOYl4UwNrBXRp1n9/eXyI9qFAvKHiYMlCreT6KItge4Y0vXRi8k+iEuSJnucfK SZx+zMSSeHtp/kQ8vKINx+8/vhLtMgiau41mttKeR6MHMHm8p3odw4VifXl8PZ/MC62a qQcg== X-Gm-Message-State: AOAM532UcR96F0u2gc+DRT4MZ0HvLGXfDVOH9f04yB14qvR7K1jGtkJ6 WvReJr6dej1P6klBmucLjmQ0iymwKBQynNdQhLsTskqxotXF X-Google-Smtp-Source: ABdhPJxGkbFazMINrhILG4xAO9v+M8rewD3VQw9PigConMG5CFo9rdXVzjgi4HFG/PAVlJRl+5wT7IcDmfivrBXIXRfhUOIsiSym MIME-Version: 1.0 X-Received: by 2002:a05:6e02:1987:: with SMTP id g7mr3988763ilf.137.1635439227851; Thu, 28 Oct 2021 09:40:27 -0700 (PDT) Date: Thu, 28 Oct 2021 09:40:27 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000003a5b5905cf6c5ee7@google.com> Subject: [syzbot] WARNING in __folio_mark_dirty 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: A998FF000787 Authentication-Results: imf17.hostedemail.com; dkim=none; spf=pass (imf17.hostedemail.com: domain of 3e9J6YQkbAB4MSTE4FF8L4JJC7.AIIAF8OM8L6IHN8HN.6IG@M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com designates 209.85.166.198 as permitted sender) smtp.mailfrom=3e9J6YQkbAB4MSTE4FF8L4JJC7.AIIAF8OM8L6IHN8HN.6IG@M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=appspotmail.com (policy=none) X-Stat-Signature: jq5typ66zuidoq7nm8rycw1gjw7e1tas X-Rspamd-Server: rspam06 X-HE-Tag: 1635439228-237546 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, 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: cf6c9d12750c Add linux-next specific files for 20211022 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=177967acb00000 kernel config: https://syzkaller.appspot.com/x/.config?x=dd1cd3d631599df5 dashboard link: https://syzkaller.appspot.com/bug?extid=34ef28bb2aeb28724aa0 compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10e79e9f300000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=12231f62b00000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+34ef28bb2aeb28724aa0@syzkaller.appspotmail.com NILFS (loop0): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6575 at include/linux/backing-dev.h:269 inode_to_wb include/linux/backing-dev.h:269 [inline] WARNING: CPU: 0 PID: 6575 at include/linux/backing-dev.h:269 folio_account_dirtied mm/page-writeback.c:2460 [inline] WARNING: CPU: 0 PID: 6575 at include/linux/backing-dev.h:269 __folio_mark_dirty+0xa7c/0xe30 mm/page-writeback.c:2509 Modules linked in: CPU: 0 PID: 6575 Comm: segctord Not tainted 5.15.0-rc6-next-20211022-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:inode_to_wb include/linux/backing-dev.h:269 [inline] RIP: 0010:folio_account_dirtied mm/page-writeback.c:2460 [inline] RIP: 0010:__folio_mark_dirty+0xa7c/0xe30 mm/page-writeback.c:2509 Code: ff ff ff 48 8d 78 70 e8 b2 77 ae 07 31 ff 89 c6 89 44 24 10 e8 45 a5 d7 ff 8b 44 24 10 85 c0 0f 85 49 fa ff ff e8 14 a3 d7 ff <0f> 0b e9 3d fa ff ff e8 08 a3 d7 ff e8 c3 78 ae 07 31 ff 41 89 c7 RSP: 0018:ffffc900020078b8 EFLAGS: 00010093 RAX: 0000000000000000 RBX: ffff88806b870378 RCX: 0000000000000000 RDX: ffff88801b4fba80 RSI: ffffffff819fea3c RDI: 0000000000000003 RBP: ffffea0001c92700 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff819fea2b R11: 0000000000000000 R12: 0000000000000293 R13: ffff88806b870138 R14: 0000000000000001 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d7235e1180 CR3: 000000001278d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __set_page_dirty include/linux/pagemap.h:834 [inline] mark_buffer_dirty+0x4e6/0x650 fs/buffer.c:1145 nilfs_btree_propagate_p fs/nilfs2/btree.c:1889 [inline] nilfs_btree_propagate+0x4ae/0xea0 fs/nilfs2/btree.c:2085 nilfs_bmap_propagate+0x73/0x170 fs/nilfs2/bmap.c:337 nilfs_collect_dat_data+0x45/0xd0 fs/nilfs2/segment.c:625 nilfs_segctor_apply_buffers+0x14a/0x470 fs/nilfs2/segment.c:1009 nilfs_segctor_scan_file+0x47a/0x700 fs/nilfs2/segment.c:1048 nilfs_segctor_collect_blocks fs/nilfs2/segment.c:1224 [inline] nilfs_segctor_collect fs/nilfs2/segment.c:1494 [inline] nilfs_segctor_do_construct+0x14f3/0x6c60 fs/nilfs2/segment.c:2036 nilfs_segctor_construct+0x7a7/0xb30 fs/nilfs2/segment.c:2372 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2480 [inline] nilfs_segctor_thread+0x3c3/0xf90 fs/nilfs2/segment.c:2563 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 --- 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. syzbot can test patches for this issue, for details see: https://goo.gl/tpsmEJ#testing-patches