------------[ cut here ]------------ WARNING: CPU: 1 PID: 6256 at fs/nilfs2/dat.c:158 nilfs_dat_prepare_end+0x219/0x320 fs/nilfs2/dat.c:158 Modules linked in: CPU: 1 PID: 6256 Comm: syz-executor.2 Not tainted 6.1.0-syzkaller-14565-ga27405b2ed9c #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:nilfs_dat_prepare_end+0x219/0x320 fs/nilfs2/dat.c:158 Code: 48 83 c4 10 5b 5d 41 5c 41 5d 41 5e c3 e8 0f b0 56 fe 44 89 e6 bf fe ff ff ff e8 b2 ac 56 fe 41 83 fc fe 75 d3 e8 f7 af 56 fe <0f> 0b eb ca e8 ee af 56 fe 48 89 de 4c 89 ef e8 c3 ad 03 00 31 ff RSP: 0018:ffffc900232878f0 EFLAGS: 00010212 RAX: 000000000001ba2b RBX: ffffc90023287958 RCX: ffffc90003cd1000 RDX: 0000000000040000 RSI: ffffffff832aa1e9 RDI: 0000000000000005 RBP: ffffc90023287970 R08: 0000000000000005 R09: 00000000fffffffe R10: 00000000fffffffe R11: 0000000000000000 R12: 00000000fffffffe R13: ffff888044ebe170 R14: ffff888044ebe170 R15: ffff888044eba778 FS: 0000000000000000(0000) GS:ffff88802c700000(0063) knlGS:00000000f7fecb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f7378000 CR3: 0000000075f60000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_bmap_prepare_end_ptr fs/nilfs2/bmap.h:211 [inline] nilfs_direct_delete+0x210/0x2d0 fs/nilfs2/direct.c:155 nilfs_bmap_do_delete+0x225/0x2e0 fs/nilfs2/bmap.c:176 nilfs_bmap_do_truncate fs/nilfs2/bmap.c:264 [inline] nilfs_bmap_truncate+0x10d/0x300 fs/nilfs2/bmap.c:297 nilfs_truncate_bmap+0x14a/0x360 fs/nilfs2/inode.c:846 nilfs_evict_inode+0x151/0x440 fs/nilfs2/inode.c:933 evict+0x2ed/0x6b0 fs/inode.c:664 iput_final fs/inode.c:1747 [inline] iput.part.0+0x59b/0x880 fs/inode.c:1773 iput+0x5c/0x80 fs/inode.c:1763 d_delete_notify include/linux/fsnotify.h:261 [inline] vfs_rmdir.part.0+0x496/0x5a0 fs/namei.c:4134 vfs_rmdir fs/namei.c:4106 [inline] do_rmdir+0x395/0x410 fs/namei.c:4182 __do_sys_rmdir fs/namei.c:4201 [inline] __se_sys_rmdir fs/namei.c:4199 [inline] __ia32_sys_rmdir+0xca/0x110 fs/namei.c:4199 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7ff1549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f7fec5cc EFLAGS: 00000296 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 0000000020000040 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 03 74 c0 01 add 0x1(%rax,%rax,8),%esi 4: 10 05 03 74 b8 01 adc %al,0x1b87403(%rip) # 0x1b8740d a: 10 06 adc %al,(%rsi) c: 03 74 b4 01 add 0x1(%rsp,%rsi,4),%esi 10: 10 07 adc %al,(%rdi) 12: 03 74 b0 01 add 0x1(%rax,%rsi,4),%esi 16: 10 08 adc %cl,(%rax) 18: 03 74 d8 01 add 0x1(%rax,%rbx,8),%esi 1c: 00 00 add %al,(%rax) 1e: 00 00 add %al,(%rax) 20: 00 51 52 add %dl,0x52(%rcx) 23: 55 push %rbp 24: 89 e5 mov %esp,%ebp 26: 0f 34 sysenter 28: cd 80 int $0x80 * 2a: 5d pop %rbp <-- trapping instruction 2b: 5a pop %rdx 2c: 59 pop %rcx 2d: c3 retq 2e: 90 nop 2f: 90 nop 30: 90 nop 31: 90 nop 32: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 39: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi