loop0: detected capacity change from 0 to 4096 loop0: detected capacity change from 4096 to 0 syz.0.0: attempt to access beyond end of device loop0: rw=0, sector=86, nr_sectors = 2 limit=0 NILFS (loop0): I/O error reading meta-data file (ino=3, block-offset=2) ------------[ cut here ]------------ kernel BUG at fs/nilfs2/dir.c:578! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5124 Comm: syz.0.0 Not tainted 6.11.0-rc4-syzkaller-00008-g6e4436539ae1 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:nilfs_delete_entry+0x359/0x360 fs/nilfs2/dir.c:578 Code: e8 fc 78 8c fe eb b9 44 89 f9 80 e1 07 fe c1 38 c1 0f 8c 10 ff ff ff 4c 89 ff e8 b2 78 8c fe e9 03 ff ff ff e8 48 36 25 fe 90 <0f> 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90002e2faf8 EFLAGS: 00010283 RAX: ffffffff836e54f8 RBX: 0000000000000068 RCX: 0000000000040000 RDX: ffffc9000b7d1000 RSI: 000000000000a2c6 RDI: 000000000000a2c7 RBP: 00000000fffffffb R08: ffffffff836e53be R09: 1ffff11003b4a600 R10: dffffc0000000000 R11: ffffed1003b4a601 R12: ffffea000115f540 R13: ffff8880457d5050 R14: 0000000000000038 R15: ffff8880457d5038 FS: 00007fc2c49396c0(0000) GS:ffff888020800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc2b8690000 CR3: 00000000009a2000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_do_unlink+0x205/0x430 fs/nilfs2/namei.c:282 nilfs_unlink+0xed/0x1d0 fs/nilfs2/namei.c:303 vfs_unlink+0x365/0x650 fs/namei.c:4422 do_unlinkat+0x4ae/0x830 fs/namei.c:4486 __do_sys_unlinkat fs/namei.c:4529 [inline] __se_sys_unlinkat fs/namei.c:4522 [inline] __x64_sys_unlinkat+0xcc/0xf0 fs/namei.c:4522 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc2c3b79e79 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc2c4939038 EFLAGS: 00000246 ORIG_RAX: 0000000000000107 RAX: ffffffffffffffda RBX: 00007fc2c3d15f80 RCX: 00007fc2c3b79e79 RDX: 0000000000000000 RSI: 0000000020000c40 RDI: ffffffffffffff9c RBP: 00007fc2c3be7916 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fc2c3d15f80 R15: 00007ffc04aa8118 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:nilfs_delete_entry+0x359/0x360 fs/nilfs2/dir.c:578 Code: e8 fc 78 8c fe eb b9 44 89 f9 80 e1 07 fe c1 38 c1 0f 8c 10 ff ff ff 4c 89 ff e8 b2 78 8c fe e9 03 ff ff ff e8 48 36 25 fe 90 <0f> 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90002e2faf8 EFLAGS: 00010283 RAX: ffffffff836e54f8 RBX: 0000000000000068 RCX: 0000000000040000 RDX: ffffc9000b7d1000 RSI: 000000000000a2c6 RDI: 000000000000a2c7 RBP: 00000000fffffffb R08: ffffffff836e53be R09: 1ffff11003b4a600 R10: dffffc0000000000 R11: ffffed1003b4a601 R12: ffffea000115f540 R13: ffff8880457d5050 R14: 0000000000000038 R15: ffff8880457d5038 FS: 00007fc2c49396c0(0000) GS:ffff888020800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc2c48d4f00 CR3: 00000000009a2000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400