syz-executor: attempt to access beyond end of device loop1: rw=0, sector=36, nr_sectors = 2 limit=0 ------------[ cut here ]------------ kernel BUG at fs/nilfs2/dir.c:578! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 0 UID: 0 PID: 6066 Comm: syz-executor Not tainted 6.11.0-rc4-syzkaller-00274-g780bdc1ba776 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:nilfs_delete_entry+0x359/0x360 fs/nilfs2/dir.c:578 Code: e8 0c 7c 8c fe eb b9 44 89 f9 80 e1 07 fe c1 38 c1 0f 8c 10 ff ff ff 4c 89 ff e8 c2 7b 8c fe e9 03 ff ff ff e8 48 5f 28 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:ffffc90003cf7b18 EFLAGS: 00010293 RAX: ffffffff836b2e38 RBX: 0000000000000038 RCX: ffff888027eabc00 RDX: 0000000000000000 RSI: 00000000fffffffb RDI: 0000000000000000 RBP: 00000000fffffffb R08: ffffffff836b2cfe R09: 1ffff1100fd62905 R10: dffffc0000000000 R11: ffffed100fd62906 R12: ffffea00015e86c0 R13: ffff888057a1b020 R14: 0000000000000010 R15: ffff888057a1b010 FS: 0000555558a12500(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f92ce3ffe00 CR3: 000000002b2d2000 CR4: 00000000003506f0 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_unlink fs/namei.c:4534 [inline] __se_sys_unlink fs/namei.c:4532 [inline] __x64_sys_unlink+0x47/0x50 fs/namei.c:4532 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:0x7f83d3d79427 Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 57 00 00 00 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:00007ffc0c7bdf08 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f83d3d79427 RDX: 00007ffc0c7bdf30 RSI: 00007ffc0c7bdfc0 RDI: 00007ffc0c7bdfc0 RBP: 00007ffc0c7bdfc0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000206 R12: 00007ffc0c7bf0b0 R13: 00007f83d3de77dc R14: 0000000000023615 R15: 00007ffc0c7c0170 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:nilfs_delete_entry+0x359/0x360 fs/nilfs2/dir.c:578 Code: e8 0c 7c 8c fe eb b9 44 89 f9 80 e1 07 fe c1 38 c1 0f 8c 10 ff ff ff 4c 89 ff e8 c2 7b 8c fe e9 03 ff ff ff e8 48 5f 28 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:ffffc90003cf7b18 EFLAGS: 00010293 RAX: ffffffff836b2e38 RBX: 0000000000000038 RCX: ffff888027eabc00 RDX: 0000000000000000 RSI: 00000000fffffffb RDI: 0000000000000000 RBP: 00000000fffffffb R08: ffffffff836b2cfe R09: 1ffff1100fd62905 R10: dffffc0000000000 R11: ffffed100fd62906 R12: ffffea00015e86c0 R13: ffff888057a1b020 R14: 0000000000000010 R15: ffff888057a1b010 FS: 0000555558a12500(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffcb33a3ae0 CR3: 000000002b2d2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400