From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f79.google.com (mail-ot1-f79.google.com [209.85.210.79]) (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 B64E94A13A5 for ; Thu, 8 Jan 2026 13:00:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.79 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767877223; cv=none; b=iATxRQNVJ9RYFBr4O9LMt6w3qo0F269S1vpArXiaSmDpQcmkyuDx3rKE34eNXm8amXBtx6H3eT3OjjqJpxWwphJdlusCPO2HGAxrxVd1hxgxu6wbtSXwGEI9ZntezOpxWO4DGu9CEnBTySHOXJKA5UtFktMjfbYxa7W5YULK7JE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767877223; c=relaxed/simple; bh=IFUzSfg2yPA+yK8RIGV/VzjT8IR044Xd1zIfK2GC6Wo=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=oKSjmA1B8qz0MSLNCKG16aea4Jbr/5PVuGiGVwm563nfbBrE/XmJzSuetvDR4WKUvECnwMY2CpkqUKF1dwFGmx4WAbaAVGHR7ba48S2NjNDWAJ7ytbpPOLoFveCjrCiff/OvqaPWPbhLYvEepG604rkSehHHW5D1vadY4bHfPV0= 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.210.79 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-ot1-f79.google.com with SMTP id 46e09a7af769-7c70268301aso1863069a34.3 for ; Thu, 08 Jan 2026 05:00:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767877220; x=1768482020; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=SiwEBp6k+cQVbCA7Qdwup0WDnx6WDdSeZV6t3RJMrBk=; b=fjSgEYSUWYMqXaCWvfkyGhOBtQ2f8w07/rynoIq1Yyeuih2WN+DN4WjtR2Chzn7c0N 7TY2U+Sk6Nr5lQngYSQIo5AAHwJUCuu5i4sPfneOgPRYSwpFPcliizXDDzpzjl0Lnxrb 1pw8Y5ahY/rmyILXMFqm8I8RChWCQPg4IqMyvIKAcshcurMokM3M7Se03mYtNGa5KSpV Z6MnBdiRupiV33v4+6Ri2sEXspqH7wwrvEzDOzJ8GxtT90WYNSOo5CWuf7qD948DeCPm V/ZT4SyHlJ5+/+Yf5W0bsbat5ivAABW4pHWJLhjF8IqG0nB9J5TO7VLdgjasqbg6GX0i +zsQ== X-Forwarded-Encrypted: i=1; AJvYcCXy6FL/yrVX9qLI2JqFskQD0njE0N7nZDTajW/SvPmhPMSD4BiEz/B41ntoNTfbn+Q6vgs5DvnoMC+mlJE=@vger.kernel.org X-Gm-Message-State: AOJu0YxBPcECO84lAAlUXYkPeOGzKjnGutqePTTRokDGMAR2jID0IutH 4B522woIMAjWZN/bxxMd6Cc4B0B+R4SMekd8QyzEXjvmIwvnsKsCLTGv0wDwdaCNC8F+fCecCbj usQgIsh0Yn0/SeI0ijdAotSPiSrdVkpNh/+jRHcS0cd5cVeqsHWmcuTPLzjQ= X-Google-Smtp-Source: AGHT+IFhQAzEo4nAKxQfmPn9jKmU0XM+kT+mPLTt3As2d4lAH9ROkiPclkvgqd77S02qSUinVTzvtpZGoKw8zmsnYTmwFY3FSDN/ 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:6820:7511:b0:659:9a49:8e4d with SMTP id 006d021491bc7-65f54ef197dmr1743451eaf.29.1767877219271; Thu, 08 Jan 2026 05:00:19 -0800 (PST) Date: Thu, 08 Jan 2026 05:00:19 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <695faa63.050a0220.1c677c.039a.GAE@google.com> Subject: [syzbot] [jfs?] UBSAN: array-index-out-of-bounds in dbFindLeaf (2) 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" Hello, syzbot found the following issue on: HEAD commit: f0b9d8eb98df Merge tag 'nfsd-6.19-3' of git://git.kernel.o.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=130f7e9a580000 kernel config: https://syzkaller.appspot.com/x/.config?x=1f2b6fe1fdf1a00b dashboard link: https://syzkaller.appspot.com/bug?extid=1afe7ef2d0062e19eeb3 compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=16e4ee9a580000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1491c922580000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/cbc651b8fda7/disk-f0b9d8eb.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/c3b1f0bf4b6c/vmlinux-f0b9d8eb.xz kernel image: https://storage.googleapis.com/syzbot-assets/e102a718f8b0/bzImage-f0b9d8eb.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/c8289184ec3d/mount_0.gz fsck result: failed (log: https://syzkaller.appspot.com/x/fsck.log?x=12e4ee9a580000) IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+1afe7ef2d0062e19eeb3@syzkaller.appspotmail.com ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in fs/jfs/jfs_dmap.c:2976:16 index 1365 is out of range for type 's8[1365]' (aka 'signed char[1365]') CPU: 1 UID: 0 PID: 6059 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 ubsan_epilogue+0xa/0x40 lib/ubsan.c:233 __ubsan_handle_out_of_bounds+0xe9/0xf0 lib/ubsan.c:455 dbFindLeaf+0x308/0x520 fs/jfs/jfs_dmap.c:2976 dbFindCtl+0x267/0x520 fs/jfs/jfs_dmap.c:1717 dbAllocAny fs/jfs/jfs_dmap.c:1527 [inline] dbAlloc+0x5fa/0xba0 fs/jfs/jfs_dmap.c:878 diNewIAG fs/jfs/jfs_imap.c:2510 [inline] diAllocExt fs/jfs/jfs_imap.c:1905 [inline] diAllocAG+0xd45/0x1df0 fs/jfs/jfs_imap.c:1669 diAlloc+0x1d4/0x1670 fs/jfs/jfs_imap.c:1590 ialloc+0x8c/0x8f0 fs/jfs/jfs_inode.c:56 jfs_mkdir+0x193/0xa70 fs/jfs/namei.c:225 vfs_mkdir+0x52d/0x5d0 fs/namei.c:5130 do_mkdirat+0x27a/0x4b0 fs/namei.c:5164 __do_sys_mkdirat fs/namei.c:5186 [inline] __se_sys_mkdirat fs/namei.c:5184 [inline] __x64_sys_mkdirat+0x87/0xa0 fs/namei.c:5184 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xec/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7efe6c5ade97 Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 02 01 00 00 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:00007efe6bbf4e68 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007efe6bbf4ef0 RCX: 00007efe6c5ade97 RDX: 00000000000001ff RSI: 00002000000002c0 RDI: 00000000ffffff9c RBP: 0000200000000200 R08: 00002000000000c0 R09: 0000000000000000 R10: 0000200000000200 R11: 0000000000000246 R12: 00002000000002c0 R13: 00007efe6bbf4eb0 R14: 0000000000000000 R15: 0000000000000000 ---[ end trace ]--- --- 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