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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8A3ABC001E0 for ; Thu, 10 Aug 2023 18:42:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235974AbjHJSm3 (ORCPT ); Thu, 10 Aug 2023 14:42:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236011AbjHJSmQ (ORCPT ); Thu, 10 Aug 2023 14:42:16 -0400 Received: from mail-pl1-f206.google.com (mail-pl1-f206.google.com [209.85.214.206]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5751635AC for ; Thu, 10 Aug 2023 11:41:39 -0700 (PDT) Received: by mail-pl1-f206.google.com with SMTP id d9443c01a7336-1bbf8cb6250so17860715ad.2 for ; Thu, 10 Aug 2023 11:41:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691692810; x=1692297610; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=T3sPzBtVJAxtctHbIGwoUSg9Jcm5dUTDuAMkH18JVVo=; b=XznQKjkP8v6c0d85h9tofLY+02YZMlWH7jYvFrua9ExfcBEcED/jYzlNUo7ZhdjALH sHX6URGvI/JRrIe0lBTvz4ccoVM6NYaMMsnK/hgNbZfuHsaxSa31QL2EEBJrwDHH0eba I/tFRTDnU0eyrRRenlzCRyYu9PQ2G4JIntDn3X6/vAR64tgFIsax5sYie95gatOJqkXF RvYUPFpR0ETQyLu9kNmvm9ptn0QI/87EsU5wGPjxUUaZq2QG4s/F2vXhwYMkDSD5VQcI DGNZKfE0ug8Rmmz1NWbJH83sruf0ARn13IGJDoGEF/o23XeMxqFio+Dzte5H1vwe8ZeC 2B1w== X-Gm-Message-State: AOJu0Yx4OmYqKhU9cHXg0dK2gTlY6veyQ1TSDhmjqrMBnhXZEULeVb6X RClTYpC2iqvME7i3Y8UbPfaHtYzEeMkF2Gk/lf0p2DfAmnTc X-Google-Smtp-Source: AGHT+IFLFWxLpjiMT5J8FLrCJlf9MKkaL4SqtagbFrMLVL79K8VFaLPhVz9a2P6ac2P0QjJsJ+FLo23SQsEkOZLivLavuDweTnxZ MIME-Version: 1.0 X-Received: by 2002:a17:902:f688:b0:1ba:ff36:e0d7 with SMTP id l8-20020a170902f68800b001baff36e0d7mr1204431plg.12.1691692810358; Thu, 10 Aug 2023 11:40:10 -0700 (PDT) Date: Thu, 10 Aug 2023 11:40:10 -0700 In-Reply-To: <000000000000804fb406009d9880@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000007d77e060295ed3c@google.com> Subject: Re: [syzbot] [btrfs?] WARNING in btrfs_finish_one_ordered From: syzbot To: clm@fb.com, dsterba@suse.com, josef@toxicpanda.com, linux-btrfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org syzbot has found a reproducer for the following issue on: HEAD commit: 374a7f47bf40 Merge tag '6.5-rc5-ksmbd-server' of git://git.. git tree: upstream console+strace: https://syzkaller.appspot.com/x/log.txt?x=103260f7a80000 kernel config: https://syzkaller.appspot.com/x/.config?x=da6e201fec031cc0 dashboard link: https://syzkaller.appspot.com/bug?extid=6e54e639e7b934d64304 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=17eef89da80000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=147c2fa5a80000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/ac1351a051ec/disk-374a7f47.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/bc7b4ffa739d/vmlinux-374a7f47.xz kernel image: https://storage.googleapis.com/syzbot-assets/2764a8bb0cd5/bzImage-374a7f47.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/4ee442dd4f54/mount_0.gz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+6e54e639e7b934d64304@syzkaller.appspotmail.com ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 1 PID: 32 at fs/btrfs/inode.c:3279 btrfs_finish_one_ordered+0x1d42/0x2240 fs/btrfs/inode.c:3279 Modules linked in: CPU: 1 PID: 32 Comm: kworker/u4:2 Not tainted 6.5.0-rc5-syzkaller-00063-g374a7f47bf40 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Workqueue: btrfs-endio-write btrfs_work_helper RIP: 0010:btrfs_finish_one_ordered+0x1d42/0x2240 fs/btrfs/inode.c:3279 Code: c6 80 af b5 8a 48 c7 c7 00 9a b5 8a e8 67 3a f6 fd 0f 0b e8 80 d8 12 fe 8b b5 10 ff ff ff 48 c7 c7 00 ab b5 8a e8 ce 99 d9 fd <0f> 0b e9 b1 fc ff ff e8 62 d8 12 fe 8b b5 10 ff ff ff 48 c7 c7 00 RSP: 0018:ffffc90000c9fad8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff888079be3c20 RCX: 0000000000000000 RDX: ffff888013af0140 RSI: ffffffff814be3c6 RDI: 0000000000000001 RBP: ffffc90000c9fc58 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff888071f926e0 R13: 0000000000000001 R14: ffff888071f92690 R15: ffff888079be3c68 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2c26c23060 CR3: 000000002a825000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_work_helper+0x20b/0xba0 fs/btrfs/async-thread.c:314 process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2600 worker_thread+0x687/0x1110 kernel/workqueue.c:2751 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 --- 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.