loop0: detected capacity change from 0 to 2048 NILFS (loop0): nilfs_palloc_commit_free_entry (ino=6): entry number 6 already freed ------------[ cut here ]------------ kernel BUG at fs/inode.c:678! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 3542 Comm: syz-executor388 Not tainted 6.1.87-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:evict+0x615/0x620 fs/inode.c:678 Code: fe c1 38 c1 0f 8c de fc ff ff 4c 89 ff e8 e3 61 e9 ff e9 d1 fc ff ff e8 b9 ea 91 ff 0f 0b e8 b2 ea 91 ff 0f 0b e8 ab ea 91 ff <0f> 0b e8 a4 ea 91 ff 0f 0b 66 90 41 56 53 49 89 fe e8 95 ea 91 ff RSP: 0018:ffffc90003a0f8c8 EFLAGS: 00010293 RAX: ffffffff81f8a4b5 RBX: 0000000000000064 RCX: ffff8880297c3b80 RDX: 0000000000000000 RSI: 0000000000000064 RDI: 0000000000000060 RBP: ffff8880704b2850 R08: ffffffff81f8a346 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff8880704b27f0 R13: ffff8880704b2850 R14: dffffc0000000000 R15: ffff8880704b27c8 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd978e4d08 CR3: 0000000021dc0000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_put_root+0x93/0xb0 fs/nilfs2/the_nilfs.c:910 nilfs_segctor_destroy fs/nilfs2/segment.c:2787 [inline] nilfs_detach_log_writer+0x8b6/0xbd0 fs/nilfs2/segment.c:2850 nilfs_put_super+0x49/0x150 fs/nilfs2/super.c:498 generic_shutdown_super+0x130/0x340 fs/super.c:501 kill_block_super+0x7a/0xe0 fs/super.c:1459 deactivate_locked_super+0xa0/0x110 fs/super.c:332 cleanup_mnt+0x490/0x520 fs/namespace.c:1186 task_work_run+0x246/0x300 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xa73/0x26a0 kernel/exit.c:869 do_group_exit+0x202/0x2b0 kernel/exit.c:1019 __do_sys_exit_group kernel/exit.c:1030 [inline] __se_sys_exit_group kernel/exit.c:1028 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1028 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f2306989789 Code: Unable to access opcode bytes at 0x7f230698975f. RSP: 002b:00007ffc7132fa78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f2306989789 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 RBP: 00007f2306a052b0 R08: ffffffffffffffb8 R09: 00007ffc7132fb50 R10: 00007ffc7132f9a0 R11: 0000000000000246 R12: 00007f2306a052b0 R13: 0000000000000000 R14: 00007f2306a06020 R15: 00007f2306957cc0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:evict+0x615/0x620 fs/inode.c:678 Code: fe c1 38 c1 0f 8c de fc ff ff 4c 89 ff e8 e3 61 e9 ff e9 d1 fc ff ff e8 b9 ea 91 ff 0f 0b e8 b2 ea 91 ff 0f 0b e8 ab ea 91 ff <0f> 0b e8 a4 ea 91 ff 0f 0b 66 90 41 56 53 49 89 fe e8 95 ea 91 ff RSP: 0018:ffffc90003a0f8c8 EFLAGS: 00010293 RAX: ffffffff81f8a4b5 RBX: 0000000000000064 RCX: ffff8880297c3b80 RDX: 0000000000000000 RSI: 0000000000000064 RDI: 0000000000000060 RBP: ffff8880704b2850 R08: ffffffff81f8a346 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff8880704b27f0 R13: ffff8880704b2850 R14: dffffc0000000000 R15: ffff8880704b27c8 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd978e4d08 CR3: 0000000021dc0000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400