From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-f69.google.com (mail-io1-f69.google.com [209.85.166.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE7D7166F18 for ; Tue, 6 Aug 2024 09:45:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.69 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722937533; cv=none; b=XjI16NvsMGe1d/w0AenImgNPBL3T6uphGT2O1NjrR8Z2WKSRubOEhbqFA3HCEcyGuPUJE+E8k52Y74kKtASEOGnjUcXc6mKXtU+N8769pwFnz5wouOJQabirF730QlJP388hG0DBihVmVckz513/hEweLWXTRaeE2QLgpcuEHIk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722937533; c=relaxed/simple; bh=tu9a25U64jCbSxqqXBPxFQ1YyuA5n8O8iVZKcPVXOwA=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=Z0EA5TBZ+GRk7KBIc6Z4yeGD0z2bpF8f9J/90pBfsai5CHAQZJ1HiyBzm/lpRd1036eg/QF1qBCrLhH8Nhb9V28F++HTWq52WnZbLhhdMgutuI/rNpFpQjlQ5GXbk1V1i0JA+2WhauEcr0Cn23L8yEg5Q1fVW6Ad8E+AnjdxDUk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.166.69 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-io1-f69.google.com with SMTP id ca18e2360f4ac-81f959826ccso61393939f.3 for ; Tue, 06 Aug 2024 02:45:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722937531; x=1723542331; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=oV1Kl44AMk2B99r0J/5HNNLjueYPWtTB6yqfoBERVr0=; b=aWhVrRJo8j+2FgmiQ2cqjVDy5GrHqhMSgFIl+1TgfiH/odyKrhfNK28+MxyltaXjZJ EAqytTj6DPf/oDimQ3sawUBLYMh+jOhFbTt2Duw4vubLQLE3Bk3cyCxXDvFwFcorWGAy 1P54kMcELsUDT7oVDLeA8BbSIbmIlrN4qX7FSR6xyx8FGcQIEmjj3+48PPcP5MOyrx+w tCMtJa+nYG07DaGySDFiBmszFG8/kv7v4rXfC7+oUW55CbwWKUL9tijgUGxIIeBJuM2E iK2MtjuuCd0rby6+DEWV4SZrxfHl9zqFzOqocWw+mBGHOHp/XWM+VQVETA+LRb/TONSC vH2Q== X-Forwarded-Encrypted: i=1; AJvYcCWoj3zGlXyhvoGoY/seK9lhiqc5pbV7/4Fa0YVrEoGxNExW/06te8Lt6xoWSe2soFSm342EPszIO6mUroYHkpulLLZmiRCLNr0Fm1FP X-Gm-Message-State: AOJu0YzLizPd5/5DqjpLCXqX07MKugZC7Zo9shqa8OZwExyyUkeBCv0q JWLyGUnrKED3GNYqQUZnFMOf1WhC9NgNDhKgS/G9WGqHCMnXOqwre5b8pBbceOnALHC6z4n3yC7 iVxCyWdMsY4iA5Ee+uEaAR2U6Vxyg16hzrtb74SzHPA7oU0CfdobVXJ4= X-Google-Smtp-Source: AGHT+IFXF2sccMXHtW2qIwpdgqNKEG55y3f8O5nzkgNbm3N9yIkKZyPR8aIVb5XnVsizZJsVBt6q2e/8YD0hTjQQljddKXIBjQUA Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6e02:1c24:b0:385:ffe:4516 with SMTP id e9e14a558f8ab-39b1fb7398emr9098045ab.2.1722937530821; Tue, 06 Aug 2024 02:45:30 -0700 (PDT) Date: Tue, 06 Aug 2024 02:45:30 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000007ec511061f00a7b2@google.com> Subject: [syzbot] [v9fs?] WARNING in v9fs_begin_writeback From: syzbot To: asmadeus@codewreck.org, ericvh@kernel.org, linux-kernel@vger.kernel.org, linux_oss@crudebyte.com, lucho@ionkov.net, syzkaller-bugs@googlegroups.com, v9fs@lists.linux.dev Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: c0ecd6388360 Merge tag 'pci-v6.11-fixes-1' of git://git.ke.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=133ac8d3980000 kernel config: https://syzkaller.appspot.com/x/.config?x=8da8b059e43c5370 dashboard link: https://syzkaller.appspot.com/bug?extid=0b74d367d6e80661d6df compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=15ffa365980000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=15e4b703980000 Downloadable assets: disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/7bc7510fe41f/non_bootable_disk-c0ecd638.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/4e795892c4ac/vmlinux-c0ecd638.xz kernel image: https://storage.googleapis.com/syzbot-assets/3e387ec3cd3f/bzImage-c0ecd638.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+0b74d367d6e80661d6df@syzkaller.appspotmail.com ------------[ cut here ]------------ folio expected an open fid inode->i_ino=23005ff WARNING: CPU: 2 PID: 1155 at fs/9p/vfs_addr.c:39 v9fs_begin_writeback fs/9p/vfs_addr.c:39 [inline] WARNING: CPU: 2 PID: 1155 at fs/9p/vfs_addr.c:39 v9fs_begin_writeback+0x210/0x280 fs/9p/vfs_addr.c:33 Modules linked in: CPU: 2 UID: 0 PID: 1155 Comm: kworker/u32:9 Not tainted 6.11.0-rc1-syzkaller-00154-gc0ecd6388360 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: writeback wb_workfn (flush-9p-55) RIP: 0010:v9fs_begin_writeback fs/9p/vfs_addr.c:39 [inline] RIP: 0010:v9fs_begin_writeback+0x210/0x280 fs/9p/vfs_addr.c:33 Code: 00 fc ff df 48 8b 5b 48 48 8d 7b 40 48 89 fa 48 c1 ea 03 80 3c 02 00 75 66 48 8b 73 40 48 c7 c7 20 9a 8e 8b e8 51 4a 0d fe 90 <0f> 0b 90 90 e9 62 ff ff ff e8 32 2b a8 fe e9 51 ff ff ff e8 98 2a RSP: 0018:ffffc9000610f480 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff8880327a0670 RCX: ffffffff814cc379 RDX: ffff88802329a440 RSI: ffffffff814cc386 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888012c4a408 R13: dffffc0000000000 R14: ffffc9000610f840 R15: ffff888012c4a658 FS: 0000000000000000(0000) GS:ffff88806b200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001000 CR3: 0000000011d46000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: netfs_writepages+0x656/0xde0 fs/netfs/write_issue.c:534 do_writepages+0x1a3/0x7f0 mm/page-writeback.c:2683 __writeback_single_inode+0x163/0xf90 fs/fs-writeback.c:1651 writeback_sb_inodes+0x611/0x1150 fs/fs-writeback.c:1947 wb_writeback+0x199/0xb50 fs/fs-writeback.c:2127 wb_do_writeback fs/fs-writeback.c:2274 [inline] wb_workfn+0x28d/0xf40 fs/fs-writeback.c:2314 process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x6c8/0xf20 kernel/workqueue.c:3390 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 --- 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. If the report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title If you want syzbot to run the reproducer, reply with: #syz test: git://repo/address.git branch-or-commit-hash If you attach or paste a git patch, syzbot will apply it before testing. If you want to overwrite report's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the report is a duplicate of another one, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup