From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f78.google.com (mail-ot1-f78.google.com [209.85.210.78]) (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 D3A373290C7 for ; Mon, 24 Aug 2026 05:25:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.78 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787549140; cv=none; b=i7SPSPVE2eUrMHmiFMesvgkPyTxYn3bu52Vc+ejVAj4eJ8qBf2siQvFOGxSjRjR2STB2JAbQ/qyUPr3HpTQQ0f9J4IDfpO38lHRVNWl9l3hfxyuRRSElSsw69/IzqzyRbqO553zCyKzDYKsWaP6sj/leBM1nW6yIH9Elvk/9r0E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787549140; c=relaxed/simple; bh=4N9S4VoSas4Bd7V9Zl2abyYj3UHfM6lGBK/GWF0364c=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=Y1eGos9W2GsgwSoeZE8Jvd5O/M7K5zxe0s18YaI/JYcTQ7OERWoOWPSzjja4QAeJCvd4c8RinJPsEpKMuVTxmrH7+v9BvbOYmOpf6ElAGH1FBROhzgcJYVBuGfAeXwH6cX+cPiyhBJuoQK0LLg1U3bcUy3K1SFC2l69NGLixhHU= 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.78 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-f78.google.com with SMTP id 46e09a7af769-7e7624e584dso7391151a34.2 for ; Sun, 23 Aug 2026 22:25:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787549137; x=1788153937; h=content-type:to:from:subject:message-id:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=xZWUSFu9h8BHYi5GnVA0uVVbLkbhCP0/H8ChgVHNS8Y=; b=s7FUUwhZLkMX5gZWffa+A9Q1IgZPbn9+y1XAsAQQFTibzqDk9/QG+U7ZdHHb0vYUGi iCSmet76pM7tHmB3JZU+VnSe+XY0y0UKofN6UZBqLIG6JXBTrWWJn69J8GtTPWKbyLtj TwHuF8cKmsPDDLnvENuDf6wZN5OpV9N1Z+fz7spE3qZXMmt0YebDHpJKjXVLQFdaHRs2 4rrTF385Qiv8afYC5X9QfTXa1fEMeiPSiVct1sDsy3G+onUDJBCklggGboKYcVBLOalu qTEa8ka5P5gkU3AMDNtlJ/Cmarb1lfj1zSz/8xFmWiD05XM5C/wGIg9TIKUNPJkBKNDi fYNg== X-Forwarded-Encrypted: i=1; AHgh+RpE5Rv48cuxGz2fvVT9lmu3yeXOSTWuTDdSRIy7x+K8sTk1tw2JrqIlwn8CpSTsPxRpjxGIS04JIAQTUVs=@vger.kernel.org X-Gm-Message-State: AFuF++kfJS8n0kD7/226Lbu4zLJYXnbCllhmSbE7gz+DpQtUDXWRBjA5 pSJglHTIKjmsdlYFpdfgOJspPEbWM4jhGd6E3VLeX7x6NdPmXG5t6VMFauORISm/Z8mIzOpUmWq OLTfP/eNTfRBCKKhm9AmqGIUtOljVtO+zx8n9M/6nsViAqea6wF/o6TYyxtI= 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:f024:b0:6ae:84e6:2de0 with SMTP id 006d021491bc7-6b1593b93fcmr22935292eaf.26.1787549137632; Sun, 23 Aug 2026 22:25:37 -0700 (PDT) Date: Sun, 23 Aug 2026 22:25:37 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <6a8bd5d1.ae6ddae5.3da009.0076.GAE@google.com> Subject: [syzbot] [jffs2?] kernel BUG in jffs2_link_node_ref From: syzbot To: dwmw2@infradead.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, richard@nod.at, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: bd5f485f3f02 Merge tag 'soc-arm-7.3' of git://git.kernel.o.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=17f4ee79580000 kernel config: https://syzkaller.appspot.com/x/.config?x=e4131490469a78a3 dashboard link: https://syzkaller.appspot.com/bug?extid=860303c982ac004f74f5 compiler: gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44 userspace arch: i386 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/d900f083ada3/non_bootable_disk-bd5f485f.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/147156575815/vmlinux-bd5f485f.xz kernel image: https://storage.googleapis.com/syzbot-assets/f8c1c266e68c/bzImage-bd5f485f.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+860303c982ac004f74f5@syzkaller.appspotmail.com block2mtd: error: cannot open device /dev/loop0 Flash size not aligned to erasesize, reducing to 2043KiB jffs2: Eep. ofs 0x00000041 not word-aligned! ------------[ cut here ]------------ kernel BUG at fs/jffs2/nodelist.c:614! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 16927 Comm: syz.6.2727 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:jffs2_link_node_ref+0x4a1/0x940 fs/jffs2/nodelist.c:614 Code: 08 44 89 ee 49 8d 6c 24 28 83 e0 fc 89 c7 89 44 24 0c e8 52 e8 89 fe 8b 44 24 0c 44 39 e8 0f 84 cd fd ff ff e8 90 ee 89 fe 90 <0f> 0b e8 88 ee 89 fe 49 8d be 64 01 00 00 48 b8 00 00 00 00 00 fc RSP: 0018:ffffc90002db77c8 EFLAGS: 00010287 RAX: 000000000001adff RBX: ffff888073efe260 RCX: ffffc9000bc04000 RDX: 0000000000080000 RSI: ffffffff83800bc0 RDI: ffff888020fb8000 RBP: ffffc900066c1070 R08: 0000000000000004 R09: 0000000000000040 R10: 0000000000000041 R11: 0000000000000000 R12: ffffc900066c1048 R13: 0000000000000041 R14: ffff8880251a8000 R15: ffff888073efe268 FS: 0000000000000000(0000) GS:ffff8880969db000(0063) knlGS:00000000f541db40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000000c3fd7fc CR3: 0000000051e89000 CR4: 0000000000352ef0 Call Trace: jffs2_scan_dirty_space+0x162/0x270 fs/jffs2/nodelist.c:685 jffs2_scan_eraseblock fs/jffs2/scan.c:736 [inline] jffs2_scan_medium+0x189d/0x59d0 fs/jffs2/scan.c:151 jffs2_build_filesystem fs/jffs2/build.c:112 [inline] jffs2_do_mount_fs+0x8a0/0x2300 fs/jffs2/build.c:416 jffs2_do_fill_super+0x3d4/0xa50 fs/jffs2/fs.c:574 jffs2_fill_super+0x283/0x370 fs/jffs2/super.c:290 mtd_get_sb+0x2f0/0x4c0 drivers/mtd/mtdsuper.c:57 mtd_get_sb_by_nr drivers/mtd/mtdsuper.c:88 [inline] get_tree_mtd+0x6f9/0x8a0 drivers/mtd/mtdsuper.c:141 vfs_get_tree+0x92/0x320 fs/super.c:1947 fc_mount fs/namespace.c:1198 [inline] do_new_mount_fc fs/namespace.c:3772 [inline] do_new_mount fs/namespace.c:3848 [inline] path_mount+0x7d0/0x24c0 fs/namespace.c:4168 do_mount fs/namespace.c:4181 [inline] __do_sys_mount fs/namespace.c:4397 [inline] __se_sys_mount fs/namespace.c:4374 [inline] __ia32_sys_mount+0x292/0x310 fs/namespace.c:4374 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:79 [inline] __do_fast_syscall_32+0x13a/0x8b0 arch/x86/entry/syscall_32.c:291 do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:316 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf702efec Code: Unable to access opcode bytes at 0xf702efc2. RSP: 002b:00000000f541d50c EFLAGS: 00000292 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 0000000080000900 RCX: 0000000080000800 RDX: 0000000080000a00 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:jffs2_link_node_ref+0x4a1/0x940 fs/jffs2/nodelist.c:614 Code: 08 44 89 ee 49 8d 6c 24 28 83 e0 fc 89 c7 89 44 24 0c e8 52 e8 89 fe 8b 44 24 0c 44 39 e8 0f 84 cd fd ff ff e8 90 ee 89 fe 90 <0f> 0b e8 88 ee 89 fe 49 8d be 64 01 00 00 48 b8 00 00 00 00 00 fc RSP: 0018:ffffc90002db77c8 EFLAGS: 00010287 RAX: 000000000001adff RBX: ffff888073efe260 RCX: ffffc9000bc04000 RDX: 0000000000080000 RSI: ffffffff83800bc0 RDI: ffff888020fb8000 RBP: ffffc900066c1070 R08: 0000000000000004 R09: 0000000000000040 R10: 0000000000000041 R11: 0000000000000000 R12: ffffc900066c1048 R13: 0000000000000041 R14: ffff8880251a8000 R15: ffff888073efe268 FS: 0000000000000000(0000) GS:ffff8880969db000(0063) knlGS:00000000f541db40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f729ea66 CR3: 0000000051e89000 CR4: 0000000000352ef0 --- 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