From mboxrd@z Thu Jan 1 00:00:00 1970 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 38EB729B220 for ; Tue, 8 Jul 2025 08:13:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751962388; cv=none; b=UcVvjXI4BKLioh+Q80LM5IVFLEuO8RS6/so66uWp55OweXWoUPUyLZiDUDbjIooAUbK98Mryse2o6Ns3e9Htoo/tLZaYQ8wRnu5ADDyXrDiy11uMeR+azsBbpUJ11Xr03JMclKXT88vwoi7UrYwNMMWcETeW7YETJv8pUXXXHyc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751962388; c=relaxed/simple; bh=3j0z7uOc88PwXujdHZH89nrv/QfI9epcRoVUAUMe6Xs=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=jA9YdwBngu2h3t7nUttMz9eNnJdxzZzpEuHUQdfdLTF0ybwq3DC4RyGV6RCqBfjr4cn73LqEPvnrAbQwvXElYEyn0rgWil7/su4I2S+pWbCRvDaPHvWKEexEZ//agjHkVpvhWWNFogDnFcOdAb4DDCKKWZZTIQ3JfuF9Eul5m8g= 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.199 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-3e05997f731so97565385ab.3 for ; Tue, 08 Jul 2025 01:13:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751962386; x=1752567186; 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=nhWvT0kMFjNYF78VKmzBmutmUcr/RtdPbRnLzEi+R5k=; b=Df5DBgiF65BtSmZMaFznb/sIvY/jZaSgqaQ1xDKpoSpvKgS/nCMYfmZHqrHyB1rjqU OIdd8JJ5FiewBIbyMMsYk8n0NWbsuk/FKDnQJiwQuECaX3qh1RTQZaNdN/+vJ52mHJ6c WeHPKd3Z2W4+alee2tfW16tqCN0iQd8xqUVHcGFentIAjha7uWRujk0/X6Qm/vWBIAK+ YRrB1N4yiEYIDZXjRn5GITRM9wAuhX88dgx/+EoDuaFPL/A5/UoNUK5xghpzNwHTF/Li kbqtZ8Js/MXFj+jufMe0o1RKzh3aQtBOJ37f+S462tRrkQymc3uRRu1LmC30R2bX2hGe 6NaQ== X-Forwarded-Encrypted: i=1; AJvYcCWdFSfKgFqvk4em4Dm/USgVOf8bY7gXJY+NIRgTFqW9On1ZuCWoIfYHjVtmx5A8xLHcPBj+nAXYRbgfls8=@vger.kernel.org X-Gm-Message-State: AOJu0YzB5Ta+Cf1HTfmR4GhQgiMSf54dq/EjWTc5LWd3+Xau8iJeRdkL OInTx08HT3LkGcixaLopFNseIYMBYprnEJryJ+CO+F76aL8Rd6ASyVZL5nm3FVCl9k6dl6E9afd aC3QY6aznHQPcqveHm1propnoDXuXIawMRw2TeuFFAonOAMxkSKU1CQTfIz8= X-Google-Smtp-Source: AGHT+IHRsdLZqFOWOf8AjNIs2iK6p31lxgxA+YD8ORzS4RcFP4kZ6kOFZA6d6nlD15a8wPEeuOfs4sk39fcQym/79EF5m1KsjtTM 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:1f87:b0:3df:3541:7007 with SMTP id e9e14a558f8ab-3e136ee48a7mr151749605ab.4.1751962386387; Tue, 08 Jul 2025 01:13:06 -0700 (PDT) Date: Tue, 08 Jul 2025 01:13:06 -0700 In-Reply-To: X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <686cd312.a00a0220.338033.0009.GAE@google.com> Subject: Re: [syzbot] [ntfs3?] WARNING in ni_rename From: syzbot To: almaz.alexandrovich@paragon-software.com, linux-kernel@vger.kernel.org, moonhee.lee.ca@gmail.com, ntfs3@lists.linux.dev, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: WARNING in ni_rename loop0: detected capacity change from 0 to 4096 ------------[ cut here ]------------ WARNING: fs/ntfs3/frecord.c:3030 at ni_rename+0xee/0x100 fs/ntfs3/frecord.c:3029, CPU#1: syz.0.16/6620 Modules linked in: CPU: 1 UID: 0 PID: 6620 Comm: syz.0.16 Not tainted 6.16.0-rc4-next-20250704-syzkaller-07381-g26ffb3d6f02c-dirty #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:ni_rename+0xee/0x100 fs/ntfs3/frecord.c:3029 Code: 8b 05 b6 5d 9a 0f 48 3b 44 24 10 75 22 44 89 e0 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d e9 d9 a6 6c 08 cc e8 f3 7d b9 fe 90 <0f> 0b 90 eb c5 e8 68 cc 69 08 0f 1f 84 00 00 00 00 00 90 90 90 90 RSP: 0018:ffffc900033e7ab8 EFLAGS: 00010293 RAX: ffffffff8306228d RBX: 00000000fffffffe RCX: ffff888021723c00 RDX: 0000000000000000 RSI: 00000000fffffffe RDI: 0000000000000000 RBP: 00000000fffffffe R08: ffffffff8fa18a37 R09: 1ffffffff1f43146 R10: dffffc0000000000 R11: fffffbfff1f43147 R12: 0000000000000000 R13: ffff88802f30d500 R14: ffff88806d04d0c8 R15: ffff88806d04b368 FS: 00007f1edd33f6c0(0000) GS:ffff888125d18000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000001060 CR3: 000000007c546000 CR4: 00000000003526f0 Call Trace: ntfs_rename+0x6e2/0xb40 fs/ntfs3/namei.c:316 vfs_rename+0xbd7/0xf00 fs/namei.c:5129 do_renameat2+0x6ce/0xa80 fs/namei.c:5278 __do_sys_rename fs/namei.c:5325 [inline] __se_sys_rename fs/namei.c:5323 [inline] __x64_sys_rename+0x82/0x90 fs/namei.c:5323 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1edc58e929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1edd33f038 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f1edc7b5fa0 RCX: 00007f1edc58e929 RDX: 0000000000000000 RSI: 0000200000001040 RDI: 0000200000000280 RBP: 00007f1edc610b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f1edc7b5fa0 R15: 00007ffcb3616c48 Tested on: commit: 26ffb3d6 Add linux-next specific files for 20250704 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=16c95582580000 kernel config: https://syzkaller.appspot.com/x/.config?x=59817f9ef599726c dashboard link: https://syzkaller.appspot.com/bug?extid=b0373017f711c06ada64 compiler: Debian clang version 20.1.7 (++20250616065708+6146a88f6049-1~exp1~20250616065826.132), Debian LLD 20.1.7 patch: https://syzkaller.appspot.com/x/patch.diff?x=175edf70580000