F2FS-fs (loop3): detect filesystem reference count leak during umount, type: 2, count: -1 ------------[ cut here ]------------ kernel BUG at fs/f2fs/super.c:1642! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5404 Comm: syz-executor.3 Not tainted 6.6.0-rc3-syzkaller-00055-g9ed22ae6be81 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:f2fs_put_super+0xd26/0xf20 fs/f2fs/super.c:1642 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 43 db 8a 4c 89 e7 e8 5a 7b ff ff <0f> 0b 4c 89 ee 48 c7 c7 20 85 39 8d e8 49 dd a1 00 eb a6 48 89 df RSP: 0018:ffffc9000511fc00 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff8880766d0f60 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff816b85e2 RDI: 0000000000000005 RBP: 0000000000000002 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffff8880766d0000 R13: 0000000000000002 R14: dffffc0000000000 R15: 00000000ffffffff FS: 00005555573f5480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555573fe938 CR3: 000000001938c000 CR4: 0000000000350ef0 Call Trace: generic_shutdown_super+0x161/0x3c0 fs/super.c:693 kill_block_super+0x3b/0x70 fs/super.c:1646 kill_f2fs_super+0x2b7/0x3e0 fs/f2fs/super.c:4883 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:180 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+0x215/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:0x7fc63407de57 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:00007ffcd5c7d9d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fc63407de57 RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffcd5c7da90 RBP: 00007ffcd5c7da90 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffcd5c7eb50 R13: 00007fc6340c73b9 R14: 000000000003ffe7 R15: 0000000000000004 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:f2fs_put_super+0xd26/0xf20 fs/f2fs/super.c:1642 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 43 db 8a 4c 89 e7 e8 5a 7b ff ff <0f> 0b 4c 89 ee 48 c7 c7 20 85 39 8d e8 49 dd a1 00 eb a6 48 89 df RSP: 0018:ffffc9000511fc00 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff8880766d0f60 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff816b85e2 RDI: 0000000000000005 RBP: 0000000000000002 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffff8880766d0000 R13: 0000000000000002 R14: dffffc0000000000 R15: 00000000ffffffff FS: 00005555573f5480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555573fe938 CR3: 000000001938c000 CR4: 0000000000350ef0