------------[ cut here ]------------ kernel BUG at fs/jffs2/nodelist.c:462! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5783 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 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 c2 3a 73 fe 90 <0f> 0b e8 2a 16 ee fe e9 5b fe ff ff e8 f0 15 ee fe e9 59 ff ff ff RSP: 0018:ffffc900039dfab8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888034082000 RCX: 0000000000000000 RDX: ffff888025cb2580 RSI: ffffffff839b753e RDI: ffff88805bbf7ee0 RBP: 0000000000000006 R08: 0000000000000000 R09: ffffed100681046c R10: ffff888034082363 R11: 0000000000000000 R12: ffff88805825bc80 R13: dffffc0000000000 R14: ffff88805bbf7ec0 R15: ffff88805825bd30 FS: 000055556e7f5500(0000) GS:ffff8880d445c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff83372d70 CR3: 000000002c70c000 CR4: 0000000000352ef0 Call Trace: jffs2_do_clear_inode+0x3ca/0x470 fs/jffs2/readinode.c:1443 evict+0x403/0xb90 fs/inode.c:829 dispose_list+0x117/0x1e0 fs/inode.c:871 evict_inodes+0x473/0x700 fs/inode.c:924 generic_shutdown_super+0xce/0x370 fs/super.c:709 kill_mtd_super+0x1d/0x80 drivers/mtd/mtdsuper.c:176 jffs2_kill_sb+0x7c/0xb0 fs/jffs2/super.c:350 deactivate_locked_super+0xbd/0x130 fs/super.c:558 deactivate_super fs/super.c:586 [inline] deactivate_super+0xea/0x110 fs/super.c:582 cleanup_mnt+0xb7/0x160 fs/namespace.c:1396 task_work_run+0x150/0x240 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop+0x1d8/0x700 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x661/0x7b0 arch/x86/entry/syscall_64.c:107 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe2a5faadc7 Code: a2 c7 05 2c 69 25 00 00 00 00 00 eb 96 e8 b1 13 00 00 90 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 e8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007fff833733c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fe2a603955b RCX: 00007fe2a5faadc7 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fff83373480 RBP: 00007fff83373480 R08: 00007fff83374480 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff83374510 R13: 00007fe2a603955b R14: 000000000000e513 R15: 00007fff83374550 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 c2 3a 73 fe 90 <0f> 0b e8 2a 16 ee fe e9 5b fe ff ff e8 f0 15 ee fe e9 59 ff ff ff RSP: 0018:ffffc900039dfab8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888034082000 RCX: 0000000000000000 RDX: ffff888025cb2580 RSI: ffffffff839b753e RDI: ffff88805bbf7ee0 RBP: 0000000000000006 R08: 0000000000000000 R09: ffffed100681046c R10: ffff888034082363 R11: 0000000000000000 R12: ffff88805825bc80 R13: dffffc0000000000 R14: ffff88805bbf7ec0 R15: ffff88805825bd30 FS: 000055556e7f5500(0000) GS:ffff8880d445c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff83372d70 CR3: 000000002c70c000 CR4: 0000000000352ef0