From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f206.google.com (mail-il1-f206.google.com [209.85.166.206]) (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 B6DC013C3C2 for ; Fri, 27 Dec 2024 12:51:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.206 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735303883; cv=none; b=RG5xBEy7NPH+2Y/eDw1BrUNHzU6vBqFcibePvt7qsqxbXt7jJYMaJDpEUusjoz2pmsBu/Bqj6of9g7Cq1KxulI+2BHZ01Ns9CScmUiaxfhhsJa/o7SZO4vpIsEf2uClyBwPSZjrWpfmBlzU+da/8puyImKIrRpTEv1qGjDkIt/g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735303883; c=relaxed/simple; bh=ERFlmkW79VcIxL7I2fdC26PjZABxPNv2bCkD7RIVDdg=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=l2mxZAOnEyj/F2KCpYBrWJguEL+1XDbLfGN38Shh48Abnuq67KzVgzzdnjFueRo781q3bNrOGEFWk2m6rZNb07/HwoKKKkaSHVf8/GY3p7X3ws3G/haYZ0jZ96xNJBepODz1dxOsAPG/OdVzEgXWQYZKjIo/sjuOCXrl8z84924= 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.206 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-f206.google.com with SMTP id e9e14a558f8ab-3a7e4bfae54so68162635ab.0 for ; Fri, 27 Dec 2024 04:51:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735303881; x=1735908681; 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=9h1oDNWT6JCnCPHSqLeyY4YjBRBPz5CRsTiwRbhYxcU=; b=qqsarWzanJ50ahWZ50krVg4LnPFfjVDGDA5H3TqsyWPmlH5u0WkWCV6/IprGTBjY3t zeH5JSwZ8MQvKau4rZD7ecp0mWAkU6UIR/G30DNokJPKQVDK4nDJolI9DJ3Jz5NIKAf2 YHwOzorvWA3LI5uePSVXAbSrIB0NVQCUiuNUJ+84Z89A2lAR++E5xAJoDwXNetBOUtlG mvO4/Vmn5gveN5XRIrhsCUFmdSzrB09P76Nq9djFpZc6oC7fWUEEqNhxBw+t/Am9cYie 8T1GmYgiKBlyWCV/1YUI7paUWI5/aJ0/FlonqSWhsMat78jBQ/wjNapjisKqH2PZkL9l NsTg== X-Forwarded-Encrypted: i=1; AJvYcCUt6ih9H4FzK3hXY6BoCld96rgaLsSEaiJQ3KWYDJ/E/rPeqgldUMcx+HW4zAMh6ImFbGtVy/3bM58wie8=@vger.kernel.org X-Gm-Message-State: AOJu0Yz/kbuKuM7rw/y89hbvTnolRA9Vd1tJ3OI5DFIpq1H0w9nRO6Aj hqpwPVIMbPUOmarSTP29hbTccfPyMCAZusJ8YEFEpkFqrHP3q8Wy+QepHUXXYEAim+imfgfZauw 6uC+XYqRBs0EaIXlPAe3ndKtrWo8f56vR/eaGumKr+DDDR0vr/ZWkTWI= X-Google-Smtp-Source: AGHT+IHBIEdjGC7CkuMdE05w56XRFqNSC5LIMdN8U/jRQdE12ct2ZopBrih4uBkNyVEjZHKHnjn8kPW5VGqJLajHHxmic49iQhBl 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:20ed:b0:3a7:e592:55ee with SMTP id e9e14a558f8ab-3c2d5724dbemr226515745ab.20.1735303880941; Fri, 27 Dec 2024 04:51:20 -0800 (PST) Date: Fri, 27 Dec 2024 04:51:20 -0800 In-Reply-To: <675f6309.050a0220.37aaf.0109.GAE@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <676ea2c8.050a0220.2f3838.0481.GAE@google.com> Subject: Re: [syzbot] [jfs?] KASAN: slab-use-after-free Write in dtSplitPage From: syzbot To: jfs-discussion@lists.sourceforge.net, linux-kernel@vger.kernel.org, shaggy@kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" syzbot has found a reproducer for the following issue on: HEAD commit: d6ef8b40d075 Merge tag 'sound-6.13-rc5' of git://git.kerne.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16ddd90f980000 kernel config: https://syzkaller.appspot.com/x/.config?x=743927383a52aa3d dashboard link: https://syzkaller.appspot.com/bug?extid=a939a1121380d3212940 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=1346e0b0580000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/fbe05b4b2f4e/disk-d6ef8b40.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/cd60b8a08817/vmlinux-d6ef8b40.xz kernel image: https://storage.googleapis.com/syzbot-assets/d8b74baeeae9/bzImage-d6ef8b40.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/a8b14cacf8f6/mount_0.gz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+a939a1121380d3212940@syzkaller.appspotmail.com loop2: detected capacity change from 0 to 32768 ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in fs/jfs/jfs_dtree.c:1600:21 index 26 is out of range for type 'lv [20]' CPU: 1 UID: 0 PID: 6600 Comm: syz.2.264 Not tainted 6.13.0-rc4-syzkaller-00054-gd6ef8b40d075 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 ubsan_epilogue lib/ubsan.c:231 [inline] __ubsan_handle_out_of_bounds+0x110/0x150 lib/ubsan.c:429 dtSplitPage+0x387f/0x3930 fs/jfs/jfs_dtree.c:1600 dtSplitUp+0x7da/0x5840 fs/jfs/jfs_dtree.c:1091 dtInsert+0x8c5/0xb40 fs/jfs/jfs_dtree.c:870 jfs_rename+0x10a8/0x1820 fs/jfs/namei.c:1225 vfs_rename+0xf8b/0x21f0 fs/namei.c:5067 do_renameat2+0xc5f/0xdd0 fs/namei.c:5224 __do_sys_rename fs/namei.c:5271 [inline] __se_sys_rename fs/namei.c:5269 [inline] __x64_sys_rename+0x7d/0xa0 fs/namei.c:5269 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdcb5585d29 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:00007fdcb6401038 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007fdcb5775fa0 RCX: 00007fdcb5585d29 RDX: 0000000000000000 RSI: 0000000020000f40 RDI: 0000000020000300 RBP: 00007fdcb5601b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fdcb5775fa0 R15: 00007ffe75efbb88 ---[ end trace ]--- --- 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.