------------[ cut here ]------------
kernel BUG at fs/jffs2/nodelist.c:462!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI
CPU: 1 UID: 0 PID: 6119 Comm: syz-executor.0 Not tainted 6.13.0-syzkaller-gd0f93ac2c384 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
RIP: 0010:jffs2_del_ino_cache+0x24f/0x2c0 fs/jffs2/nodelist.c:462
Code: 4c 89 e2 49 8b 5e 18 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 75 71 49 89 1c 24 e9 42 ff ff ff e8 b2 8c a9 fe 90 <0f> 0b e8 3a 57 0c ff e9 5b fe ff ff e8 00 57 0c ff e9 59 ff ff ff
RSP: 0018:ffffc90004e0faf0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff88803596a000 RCX: 0000000000000000
RDX: ffff88804863c880 RSI: ffffffff82f05dae RDI: ffff88804833b020
RBP: 0000000000000006 R08: 0000000000000000 R09: ffffed1006b2d46d
R10: ffff88803596a36b R11: 0000000000000003 R12: ffff88807b320000
R13: dffffc0000000000 R14: ffff88804833b000 R15: ffff88807b3200b8
FS:  00005555639bf480(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1987329000 CR3: 00000000488ee000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 jffs2_do_clear_inode+0x3bf/0x470 fs/jffs2/readinode.c:1443
 evict+0x409/0x960 fs/inode.c:796
 dispose_list+0x117/0x1e0 fs/inode.c:845
 evict_inodes+0x39d/0x4b0 fs/inode.c:899
 generic_shutdown_super+0xb2/0x390 fs/super.c:627
 kill_mtd_super+0x1d/0x80 drivers/mtd/mtdsuper.c:174
 jffs2_kill_sb+0x7c/0xb0 fs/jffs2/super.c:350
 deactivate_locked_super+0xbe/0x1a0 fs/super.c:473
 deactivate_super+0xde/0x100 fs/super.c:506
 cleanup_mnt+0x222/0x450 fs/namespace.c:1413
 task_work_run+0x14e/0x250 kernel/task_work.c:239
 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
 exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
 syscall_exit_to_user_mode+0x27b/0x2a0 kernel/entry/common.c:218
 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff44ec7f117
Code: b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b0 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffe8cb41748 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007ff44ec7f117
RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffe8cb41800
RBP: 00007ffe8cb41800 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe8cb428c0
R13: 00007ff44ecc93b9 R14: 0000000000010606 R15: 0000000000000003
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:jffs2_del_ino_cache+0x24f/0x2c0 fs/jffs2/nodelist.c:462
Code: 4c 89 e2 49 8b 5e 18 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 75 71 49 89 1c 24 e9 42 ff ff ff e8 b2 8c a9 fe 90 <0f> 0b e8 3a 57 0c ff e9 5b fe ff ff e8 00 57 0c ff e9 59 ff ff ff
RSP: 0018:ffffc90004e0faf0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff88803596a000 RCX: 0000000000000000
RDX: ffff88804863c880 RSI: ffffffff82f05dae RDI: ffff88804833b020
RBP: 0000000000000006 R08: 0000000000000000 R09: ffffed1006b2d46d
R10: ffff88803596a36b R11: 0000000000000003 R12: ffff88807b320000
R13: dffffc0000000000 R14: ffff88804833b000 R15: ffff88807b3200b8
FS:  00005555639bf480(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055db2fae9058 CR3: 00000000488ee000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400