Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6683657rdb; Fri, 15 Dec 2023 05:49:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IGfasFBlBW0sxkHRTGTyqTuxllVIACo3c0O/93W9SS5i6YHWj1ceeNnPqbfcyqH/mm0vWWE X-Received: by 2002:a05:6214:29ea:b0:67a:a72d:fbb5 with SMTP id jv10-20020a05621429ea00b0067aa72dfbb5mr19255695qvb.51.1702648187968; Fri, 15 Dec 2023 05:49:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702648187; cv=none; d=google.com; s=arc-20160816; b=QS1VuFaeKdq4LeCrSPZC7ZZpFHDLmE/EN5/DaI0LN0n+UGX93QDDCMlByDgN6IY2sx 9j2oB0nIVElZ3lyE7CTj7Ly+yiUhNDmW/kVpzjCtMyLro/f4268YFhSM2u1F1Fjj/5/5 MiXo2d0xw9uj1IyAGMne7A1P2aDOBu2VBaJQph3fcSYJmGYfeBIHItdz54KAoag+XGqL 5bdzEBrFFVZTdlvY9gHKRK1vnPrRNVYDMjarAUOHOiePJ7LG4QBFSOV69Nm2BVsIrW/e 6p4Be5KIqDpliPUWbsit2/AbClGwLJtUtjmFCx2x73H9jBDYgXp2UfecUpnLOY/O+Ihe OGUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:from:subject:message-id:date:mime-version:list-unsubscribe :list-subscribe:list-id:precedence; bh=6fcg6YeQhWzXnquq1qC1+RR7NbEHfog/+Gy6jNbdBe8=; fh=GrfJfrrHxdDXmt0pemnKezC8UCOyMC1sRDEr1mxgr5k=; b=QXOvITqVeJNVRlZI56BEHdadPRO1x7UiPLrYSM0RTrRfeP6/Pvmr8ah+17eB+/VZrJ znBTg5Yis70nvs6Cn5xA4TZp5XFM0Em3XzmevRmFA62czF8i3ms6PRatahsOjp45gF+9 kL0euuZP0DtUX7uT691w3pOBxyuZ5j+4xxYimvnx9Pkcu9zR9vQcuR3sb9WavH9KUNb4 NN7IeFu+1W/eC+UA1TmO8I0Tahhf+qzVTuMx22yF8nDtWvr9ZCiOE9L3wuqsiLbQhsqV nclcIAcPsSDu32XGq+q/U+QTSx2zqigoHuc9SLLiEv9ZuY9etrQgIzWlfGIpqITsWWKX jF5w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-1040-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1040-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id b26-20020a0c9b1a000000b0067f13c0e247si2176031qve.415.2023.12.15.05.49.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 05:49:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1040-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-1040-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1040-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 1AB491C23D71 for ; Fri, 15 Dec 2023 13:49:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A87DC2E623; Fri, 15 Dec 2023 13:49:24 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from mail-il1-f199.google.com (mail-il1-f199.google.com [209.85.166.199]) (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 D1B6E2F847 for ; Fri, 15 Dec 2023 13:49:22 +0000 (UTC) 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-il1-f199.google.com with SMTP id e9e14a558f8ab-35e6f4e17b6so7436205ab.0 for ; Fri, 15 Dec 2023 05:49:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702648162; x=1703252962; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=6fcg6YeQhWzXnquq1qC1+RR7NbEHfog/+Gy6jNbdBe8=; b=u7HbWqMoVCr+cBX0x2klx9dEM9e6xK3zhbTsCTa3MB07XZ+jBUpfemGyALdBxnyF0k 25tiSMSirmReTdRUSYlxxWxlkJJcK7sbMDAAjANzf9AyG0HKreQvU1+9fikX6qAaNXi4 5kZQof6wjye8epTUjB5xQZkZSNHUJKNXvaCu5Gdk5Hx84UQyZ45BBcgb9sZmKYMZyk5x n2Cb3gm2tZZMn1SzKbJ0NxpoKZO4zlAfrzYU2kcHpdjYSMEMMv+WVTCwRQ1ZMylN1bFY shcAF1tp2Engc53uZubrhILc4OwUBqRZ3zjpxlE3ikpdedgexbbo1FOKahhrHqMeyrwu Nshw== X-Gm-Message-State: AOJu0YzOb+KZDN36Z6JOmQ9hqiOqVB/7AU/97Yuodkn/X4J2yczHK4nx f8ksf67OkrJ5YwMWlv0kDLATEckh32wqJaUEGKUFimNEcAtV 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:1d0b:b0:35f:98ba:ace2 with SMTP id i11-20020a056e021d0b00b0035f98baace2mr11741ila.4.1702648162117; Fri, 15 Dec 2023 05:49:22 -0800 (PST) Date: Fri, 15 Dec 2023 05:49:22 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000e17185060c8caaad@google.com> Subject: [syzbot] [ext4?] WARNING in lock_two_nondirectories From: syzbot To: adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, tytso@mit.edu Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: a39b6ac3781d Linux 6.7-rc5 git tree: upstream console+strace: https://syzkaller.appspot.com/x/log.txt?x=12c3a112e80000 kernel config: https://syzkaller.appspot.com/x/.config?x=e043d554f0a5f852 dashboard link: https://syzkaller.appspot.com/bug?extid=2c4a3b922a860084cc7f 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=1687292ee80000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16d8adbce80000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/67fd20dff9bc/disk-a39b6ac3.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/778677113ec4/vmlinux-a39b6ac3.xz kernel image: https://storage.googleapis.com/syzbot-assets/fd69b2e7d493/bzImage-a39b6ac3.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/28ab13ef564b/mount_0.gz Bisection is inconclusive: the issue happens on the oldest tested release. bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1286a2b2e80000 final oops: https://syzkaller.appspot.com/x/report.txt?x=1186a2b2e80000 console output: https://syzkaller.appspot.com/x/log.txt?x=1686a2b2e80000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+2c4a3b922a860084cc7f@syzkaller.appspotmail.com EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: none. ------------[ cut here ]------------ WARNING: CPU: 1 PID: 5067 at fs/inode.c:1148 lock_two_nondirectories+0xca/0x100 fs/inode.c:1148 Modules linked in: CPU: 1 PID: 5067 Comm: syz-executor207 Not tainted 6.7.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:lock_two_nondirectories+0xca/0x100 fs/inode.c:1148 Code: ff 66 41 81 fc 00 40 74 1b e8 c2 3d 92 ff 48 89 ee 48 89 df 5b 5d b9 04 00 00 00 31 d2 41 5c e9 5c fd ff ff e8 a7 3d 92 ff 90 <0f> 0b 90 eb da e8 9c 3d 92 ff 90 0f 0b 90 eb 83 48 89 df e8 5e e4 RSP: 0018:ffffc90003a4fc38 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88807cf82ab0 RCX: ffffffff81f55031 RDX: ffff888078b21dc0 RSI: ffffffff81f55059 RDI: 0000000000000003 RBP: ffff88807cfe66b0 R08: 0000000000000003 R09: 0000000000004000 R10: 0000000000004000 R11: ffffffff915fc8a0 R12: 0000000000004000 R13: ffff8880298d2c80 R14: ffff88807cfe66b0 R15: ffffffff8d195740 FS: 0000555555d51380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000056e5a000 CR4: 0000000000350ef0 Call Trace: swap_inode_boot_loader fs/ext4/ioctl.c:391 [inline] __ext4_ioctl+0x118d/0x4570 fs/ext4/ioctl.c:1437 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl fs/ioctl.c:857 [inline] __x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f61c40c4af9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe0eaa3fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007ffe0eaa4198 RCX: 00007f61c40c4af9 RDX: 0000000000000000 RSI: 0000000000006611 RDI: 0000000000000004 RBP: 00007f61c4138610 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffe0eaa4188 R14: 0000000000000001 R15: 0000000000000001 --- 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. For information about bisection process see: https://goo.gl/tpsmEJ#bisection 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