------------[ cut here ]------------ kernel BUG at fs/f2fs/super.c:1639! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 15451 Comm: syz-executor.1 Not tainted 6.5.0-syzkaller-09338-ge0152e7481c6 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:f2fs_put_super+0xce1/0xed0 fs/f2fs/super.c:1639 Code: 03 0f b6 14 02 48 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 27 48 63 0b 89 ea 48 c7 c6 40 f9 ba 8a 4c 89 e7 e8 ff 77 ff ff <0f> 0b 4c 89 ee 48 c7 c7 c0 d2 18 8d e8 5e bd a1 00 eb a6 48 89 df RSP: 0018:ffffc9000420fc00 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff888058dd4f80 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff816a3a30 RDI: 0000000000000005 RBP: 000000000000000a R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 2073662d53463246 R12: ffff888058dd4000 R13: 000000000000000a R14: dffffc0000000000 R15: 0000000000000001 FS: 00007fbbc86656c0(0000) GS:ffff88806b600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f621a85f000 CR3: 0000000111785000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: generic_shutdown_super+0x161/0x3c0 fs/super.c:693 kill_block_super+0x3b/0x70 fs/super.c:1646 kill_f2fs_super+0x2b7/0x3d0 fs/f2fs/super.c:4879 deactivate_locked_super+0x9a/0x170 fs/super.c:481 deactivate_super+0xde/0x100 fs/super.c:514 cleanup_mnt+0x222/0x3d0 fs/namespace.c:1254 task_work_run+0x14d/0x240 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x210/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x60 kernel/entry/common.c:296 do_syscall_64+0x44/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fbbc787e1ea Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fbbc8664ee8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffec RBX: 00007fbbc8664f80 RCX: 00007fbbc787e1ea RDX: 0000000020000040 RSI: 0000000020000080 RDI: 00007fbbc8664f40 RBP: 0000000020000040 R08: 00007fbbc8664f80 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000080 R13: 00007fbbc8664f40 R14: 00000000000054f4 R15: 0000000020000540 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:f2fs_put_super+0xce1/0xed0 fs/f2fs/super.c:1639 Code: 03 0f b6 14 02 48 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 27 48 63 0b 89 ea 48 c7 c6 40 f9 ba 8a 4c 89 e7 e8 ff 77 ff ff <0f> 0b 4c 89 ee 48 c7 c7 c0 d2 18 8d e8 5e bd a1 00 eb a6 48 89 df RSP: 0018:ffffc9000420fc00 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff888058dd4f80 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff816a3a30 RDI: 0000000000000005 RBP: 000000000000000a R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 2073662d53463246 R12: ffff888058dd4000 R13: 000000000000000a R14: dffffc0000000000 R15: 0000000000000001 FS: 00007fbbc86656c0(0000) GS:ffff88806b600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffb061dfa8 CR3: 0000000111785000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400