------------[ cut here ]------------ kernel BUG at fs/jffs2/nodelist.c:462! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 2 UID: 0 PID: 6630 Comm: syz-executor 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_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 dd 8a fe 90 <0f> 0b e8 2a 70 fa fe e9 5b fe ff ff e8 f0 6f fa fe e9 59 ff ff ff RSP: 0000:ffffc90006d27a70 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88802ae32000 RCX: 0000000000000000 RDX: ffff8880257dca80 RSI: ffffffff837ef29e RDI: ffff88806eac3ee0 RBP: 0000000000000006 R08: 0000000000000000 R09: ffffed10055c646c R10: ffff88802ae32363 R11: 0000000000000000 R12: ffff88805493bc80 R13: dffffc0000000000 R14: ffff88806eac3ec0 R15: ffff88805493bd30 FS: 0000000000000000(0000) GS:ffff888096de6000(0063) knlGS:0000000056d8a480 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00007ffea5e31b7c CR3: 00000000606f6000 CR4: 0000000000352ef0 Call Trace: jffs2_do_clear_inode+0x3ca/0x470 fs/jffs2/readinode.c:1443 evict+0x3c2/0xad0 fs/inode.c:825 dispose_list+0x117/0x1e0 fs/inode.c:867 evict_inodes+0x582/0x6f0 fs/inode.c:921 generic_shutdown_super+0xc8/0x360 fs/super.c:633 kill_mtd_super+0x1d/0x80 drivers/mtd/mtdsuper.c:174 jffs2_kill_sb+0x7c/0xb0 fs/jffs2/super.c:350 deactivate_locked_super+0xc1/0x1b0 fs/super.c:477 deactivate_super fs/super.c:510 [inline] deactivate_super+0xe7/0x110 fs/super.c:506 cleanup_mnt+0x21f/0x450 fs/namespace.c:1317 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:318 [inline] __do_fast_syscall_32+0x701/0x970 arch/x86/entry/syscall_32.c:310 do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:332 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf7f92fec Code: d2 74 05 c1 e8 0c 89 02 8b 5d fc 31 c0 c9 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 2e 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 58 b8 RSP: 002b:00000000ff849378 EFLAGS: 00000292 ORIG_RAX: 0000000000000034 RAX: 0000000000000000 RBX: 00000000ff849420 RCX: 0000000000000009 RDX: 00000000f7427ff4 RSI: 00000000f7261656 RDI: 00000000ff84a4b4 RBP: 00000000ff849420 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000216 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 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 dd 8a fe 90 <0f> 0b e8 2a 70 fa fe e9 5b fe ff ff e8 f0 6f fa fe e9 59 ff ff ff RSP: 0000:ffffc90006d27a70 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88802ae32000 RCX: 0000000000000000 RDX: ffff8880257dca80 RSI: ffffffff837ef29e RDI: ffff88806eac3ee0 RBP: 0000000000000006 R08: 0000000000000000 R09: ffffed10055c646c R10: ffff88802ae32363 R11: 0000000000000000 R12: ffff88805493bc80 R13: dffffc0000000000 R14: ffff88806eac3ec0 R15: ffff88805493bd30 FS: 0000000000000000(0000) GS:ffff888096ce6000(0063) knlGS:0000000056d8a480 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000000c4796a1 CR3: 00000000606f6000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: d2 74 05 c1 shlb %cl,-0x3f(%rbp,%rax,1) 4: e8 0c 89 02 8b call 0x8b028915 9: 5d pop %rbp a: fc cld b: 31 c0 xor %eax,%eax d: c9 leave e: c3 ret f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 90 nop 19: 90 nop 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 0f 1f 00 nopl (%rax) 21: 51 push %rcx 22: 52 push %rdx 23: 55 push %rbp 24: 89 e5 mov %esp,%ebp 26: 0f 34 sysenter 28: cd 80 int $0x80 * 2a: 5d pop %rbp <-- trapping instruction 2b: 5a pop %rdx 2c: 59 pop %rcx 2d: c3 ret 2e: 90 nop 2f: 2e 8d b4 26 00 00 00 cs lea 0x0(%rsi,%riz,1),%esi 36: 00 37: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 3e: 58 pop %rax 3f: b8 .byte 0xb8