------------[ cut here ]------------ kernel BUG at fs/jffs2/nodelist.c:462! invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 1 PID: 5085 Comm: syz-executor.1 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/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 42 f4 b4 fe 90 <0f> 0b e8 5a 2b 0f ff e9 5b fe ff ff e8 20 2b 0f ff e9 59 ff ff ff RSP: 0018:ffffc9000347fb90 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88802a6ce000 RCX: 0000000000000000 RDX: ffff88802b8dda00 RSI: ffffffff82d8046e RDI: ffff888028e09020 RBP: 0000000000000006 R08: 0000000000000000 R09: ffffed10054d9c6d R10: ffff88802a6ce36b R11: 0000000000000003 R12: ffff888059c48000 R13: dffffc0000000000 R14: ffff888028e09000 R15: ffff888059c480b8 FS: 00005555734b2480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30626000 CR3: 000000002c342000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: jffs2_do_clear_inode+0x3bf/0x470 fs/jffs2/readinode.c:1443 evict+0x2ed/0x6c0 fs/inode.c:667 dispose_list+0x117/0x1e0 fs/inode.c:700 evict_inodes+0x34e/0x450 fs/inode.c:750 generic_shutdown_super+0xb5/0x3d0 fs/super.c:626 kill_mtd_super+0x1d/0x80 drivers/mtd/mtdsuper.c:174 jffs2_kill_sb+0x7c/0xb0 fs/jffs2/super.c:349 deactivate_locked_super+0xbe/0x1a0 fs/super.c:472 deactivate_super+0xde/0x100 fs/super.c:505 cleanup_mnt+0x222/0x450 fs/namespace.c:1267 task_work_run+0x14e/0x250 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:108 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:201 [inline] syscall_exit_to_user_mode+0x275/0x2a0 kernel/entry/common.c:212 do_syscall_64+0xe2/0x260 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f3b9247f197 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:00007ffcffa27958 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f3b9247f197 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffcffa27a10 RBP: 00007ffcffa27a10 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffcffa28ad0 R13: 00007f3b924c93b9 R14: 0000000000018a8c R15: 0000000000000003 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 42 f4 b4 fe 90 <0f> 0b e8 5a 2b 0f ff e9 5b fe ff ff e8 20 2b 0f ff e9 59 ff ff ff RSP: 0018:ffffc9000347fb90 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88802a6ce000 RCX: 0000000000000000 RDX: ffff88802b8dda00 RSI: ffffffff82d8046e RDI: ffff888028e09020 RBP: 0000000000000006 R08: 0000000000000000 R09: ffffed10054d9c6d R10: ffff88802a6ce36b R11: 0000000000000003 R12: ffff888059c48000 R13: dffffc0000000000 R14: ffff888028e09000 R15: ffff888059c480b8 FS: 00005555734b2480(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f89152d56c6 CR3: 000000002c342000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400