loop0: detected capacity change from 0 to 4096 ntfs3: loop0: Different NTFS' sector size (1024) and media sector size (512) general protection fault, probably for non-canonical address 0xdffffc0009612852: 0000 [#1] PREEMPT SMP KASAN KASAN: probably user-memory-access in range [0x000000004b094290-0x000000004b094297] CPU: 1 PID: 5891 Comm: syz-executor.0 Not tainted 6.0.0-syzkaller-05118-g833477fce7a1 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:ntfs_set_inode+0x4a/0x70 fs/ntfs3/inode.c:485 Code: 14 02 48 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 26 48 8d 7d 40 8b 1b 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 13 48 89 5d 40 31 c0 5b 5d c3 48 89 df e8 5f 6a 1f RSP: 0018:ffffc90007477988 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 000000000000000a RCX: ffffc90006c11000 RDX: 0000000009612852 RSI: ffffffff82a724dd RDI: 000000004b094290 RBP: 000000004b094250 R08: 0000000000000001 R09: 0000000000000003 R10: fffff52000e8ef25 R11: 0000000000000000 R12: ffffc90007477cd0 R13: ffffffff82a724cf R14: 0000000000000000 R15: ffff88804b094278 FS: 00007face0de2700(0000) GS:ffff88802c900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007face0de3000 CR3: 0000000073557000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: log_replay+0xf7d0/0xf7d0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ntfs_set_inode+0x4a/0x70 fs/ntfs3/inode.c:485 Code: 14 02 48 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 26 48 8d 7d 40 8b 1b 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 13 48 89 5d 40 31 c0 5b 5d c3 48 89 df e8 5f 6a 1f RSP: 0018:ffffc90007477988 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 000000000000000a RCX: ffffc90006c11000 RDX: 0000000009612852 RSI: ffffffff82a724dd RDI: 000000004b094290 RBP: 000000004b094250 R08: 0000000000000001 R09: 0000000000000003 R10: fffff52000e8ef25 R11: 0000000000000000 R12: ffffc90007477cd0 R13: ffffffff82a724cf R14: 0000000000000000 R15: ffff88804b094278 FS: 00007face0de2700(0000) GS:ffff88802c900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007face0de3000 CR3: 0000000073557000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 14 02 adc $0x2,%al 2: 48 89 d8 mov %rbx,%rax 5: 83 e0 07 and $0x7,%eax 8: 83 c0 03 add $0x3,%eax b: 38 d0 cmp %dl,%al d: 7c 04 jl 0x13 f: 84 d2 test %dl,%dl 11: 75 26 jne 0x39 13: 48 8d 7d 40 lea 0x40(%rbp),%rdi 17: 8b 1b mov (%rbx),%ebx 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 75 13 jne 0x43 30: 48 89 5d 40 mov %rbx,0x40(%rbp) 34: 31 c0 xor %eax,%eax 36: 5b pop %rbx 37: 5d pop %rbp 38: c3 retq 39: 48 89 df mov %rbx,%rdi 3c: e8 .byte 0xe8 3d: 5f pop %rdi 3e: 6a 1f pushq $0x1f