From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f80.google.com (mail-ot1-f80.google.com [209.85.210.80]) (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 6F19E27456 for ; Fri, 10 Apr 2026 03:35:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.80 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775792128; cv=none; b=HQmTLPJfic17qKamidtxBc+zaA6IqejAwBeRyAA/+uIJlLpreOoonp5PgQtWSuml0lhYTb4YYualjDWbDsiytN1jxn/wGf/KjPtycp4u8EPk3KxJ/3pAhBcdL2ztfHqZgjedI67mXx8SeGDDkVZ+gYi1IgXwMtzk1csNxjGTixE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775792128; c=relaxed/simple; bh=4WGhpxdqInI37x54ggFhvUU9dmJekMlvIdG++D9y+hY=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=vEjLILsR0J0dONXRc1caMpxpn/z6pv/0tP1cSUAzhw/2sKi9nFsgItQrL0+QwPCE0Cny2wJVp3DcyamziVL/u7yfJ2y+7Lsl7DpDGglxR4fNrzsg7cLtduw35HEuAOE+Ps311Vy8NBBRMOcZQNcZLtrtmbxPrQvXG6C6UPhzmmo= 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.80 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-f80.google.com with SMTP id 46e09a7af769-7d4d4db1523so1401047a34.1 for ; Thu, 09 Apr 2026 20:35:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775792125; x=1776396925; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=t/LFnXd+90sr2j3w5XyMhdPOfjpoBwGHD1Wt2VNfml4=; b=qWNC4CjJ0ZcumlibZZjeaMjrRK3f2LOdO5s4VfafpiLHvJqI5cAUzs/TGfDC2FJPXf yAGfDP/5naT1YGYdIX1f5wrUajEuzfJWqAYytYFfKhnvcKkhOy76vZNsm9LyX/CheDCj s+CGGfxYO6ufEZV5c/twGKpK37L8TzLxYWtL0G9GxRhWseZV/4jutTHicahftpv/J7eh wdZuRqtqfBvOANmYk2Pw6ioU/+clyVweE0bgw8ObSzgZKnjolYfupgurNOVbYZvyVtop KtA5DKGhR6Y0vtq9MqJr2mcGH8Q7esnv+lFUhlqUhqjT/sdmUviX/YG+TlgIJzBluTV5 /qnA== X-Forwarded-Encrypted: i=1; AJvYcCWvWD8QhL629OnH2UysT0VTLDCD74Koz5BVhDN/ebUlDIynzgk+uBq7QVnJ1kXf6zkBBORlIpyY4XQGjus=@vger.kernel.org X-Gm-Message-State: AOJu0Yx4qlPXEBOQop4MIvgBREuvMW/ieypltvgwRO/s+KLSAthmu/Ui /AZr/ZQ1MtimADyOxCAPgXF1GgEvjhgr5aeyW014Eohan2+Wza6jm8+MPh1S+0NGYAnx3ODJxP9 734WS4p0/5DQ7Ec8LoGgevmeixokSK62y/VrPPfCwcNM10Dt4h7d0QFBf/fI= 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:1799:b0:67e:3e13:3315 with SMTP id 006d021491bc7-68be7cef24fmr817327eaf.34.1775792125395; Thu, 09 Apr 2026 20:35:25 -0700 (PDT) Date: Thu, 09 Apr 2026 20:35:25 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <69d86ffd.050a0220.3030df.0021.GAE@google.com> Subject: [syzbot] [jfs?] kernel BUG in add_missing_indices 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: 1791c390149f Merge tag 'char-misc-7.0-rc7' of git://git.ke.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=139d0bd6580000 kernel config: https://syzkaller.appspot.com/x/.config?x=45cb3c58fd963c27 dashboard link: https://syzkaller.appspot.com/bug?extid=23479f83731cac11ece8 compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/430eb2c349f9/disk-1791c390.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/0190d4eed4d1/vmlinux-1791c390.xz kernel image: https://storage.googleapis.com/syzbot-assets/ca4e91c3c84e/bzImage-1791c390.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+23479f83731cac11ece8@syzkaller.appspotmail.com BUG at fs/jfs/jfs_dtree.c:2640 assert(p->header.flag & 0x02) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_dtree.c:2640! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 0 UID: 0 PID: 19459 Comm: syz.2.1265 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 RIP: 0010:add_missing_indices+0xcc9/0xcd0 fs/jfs/jfs_dtree.c:2640 Code: e9 75 fc ff ff e8 27 ea 71 fe 48 c7 c7 a0 ad 8a 8b 48 c7 c6 80 ac 8a 8b ba 50 0a 00 00 48 c7 c1 00 b6 8a 8b e8 48 c7 d4 fd 90 <0f> 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90005197920 EFLAGS: 00010246 RAX: 000000000000003c RBX: ffff88805beee010 RCX: 2ce1a78098c85e00 RDX: ffffc9000e819000 RSI: 00000000000016a5 RDI: 00000000000016a6 RBP: ffffc90005197a30 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff52000a32ed5 R12: ffff88805beee000 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff1100b7ddc02 FS: 00007f2a0ef656c0(0000) GS:ffff888126332000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2a10d79f00 CR3: 0000000070074000 CR4: 00000000003526f0 Call Trace: jfs_readdir+0x1e34/0x3c10 fs/jfs/jfs_dtree.c:3031 wrap_directory_iterator+0x99/0xe0 fs/readdir.c:65 iterate_dir+0x3a5/0x580 fs/readdir.c:108 __do_sys_getdents fs/readdir.c:327 [inline] __se_sys_getdents+0xf1/0x270 fs/readdir.c:312 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2a10d2c819 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2a0ef65028 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007f2a10fa6090 RCX: 00007f2a10d2c819 RDX: 000000000000003a RSI: 0000200000000180 RDI: 0000000000000006 RBP: 00007f2a10dc2c91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f2a10fa6128 R14: 00007f2a10fa6090 R15: 00007ffd98bd2fa8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:add_missing_indices+0xcc9/0xcd0 fs/jfs/jfs_dtree.c:2640 Code: e9 75 fc ff ff e8 27 ea 71 fe 48 c7 c7 a0 ad 8a 8b 48 c7 c6 80 ac 8a 8b ba 50 0a 00 00 48 c7 c1 00 b6 8a 8b e8 48 c7 d4 fd 90 <0f> 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90005197920 EFLAGS: 00010246 RAX: 000000000000003c RBX: ffff88805beee010 RCX: 2ce1a78098c85e00 RDX: ffffc9000e819000 RSI: 00000000000016a5 RDI: 00000000000016a6 RBP: ffffc90005197a30 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff52000a32ed5 R12: ffff88805beee000 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff1100b7ddc02 FS: 00007f2a0ef656c0(0000) GS:ffff888126332000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2a10d79f00 CR3: 0000000070074000 CR4: 00000000003526f0 --- 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 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