------------[ cut here ]------------ kernel BUG at fs/ntfs/aops.c:207! attempt to access beyond end of device invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 26211 Comm: syz-executor.2 Not tainted 4.14.215-syzkaller #0 attempt to access beyond end of device Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880b40d4480 task.stack: ffff888057c78000 RIP: 0010:ntfs_read_block fs/ntfs/aops.c:207 [inline] RIP: 0010:ntfs_readpage+0x14c7/0x1a70 fs/ntfs/aops.c:456 RSP: 0018:ffff888057c7f780 EFLAGS: 00010216 RAX: 0000000000040000 RBX: dffffc0000000000 RCX: ffffc900073cf000 RDX: 00000000000048c6 RSI: ffffffff8212eef7 RDI: ffff888052021890 RBP: ffff888052021888 R08: 0000000000000000 R09: ffff888052021d18 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: ffff888052021840 R14: ffff888052021b08 R15: ffffea000161c200 FS: 00007f5a8a330700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000778000 CR3: 000000009c296000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: loop4: rw=0, want=2048, limit=209 do_read_cache_page+0x38e/0xc10 mm/filemap.c:2713 attempt to access beyond end of device read_mapping_page include/linux/pagemap.h:398 [inline] ntfs_map_page fs/ntfs/aops.h:89 [inline] map_mft_record_page fs/ntfs/mft.c:85 [inline] map_mft_record+0x1ca/0xbe0 fs/ntfs/mft.c:168 ntfs_read_locked_inode+0x1bf/0x5000 fs/ntfs/inode.c:582 loop4: rw=0, want=1098, limit=209 ntfs_read_inode_mount+0xafb/0x2040 fs/ntfs/inode.c:2115 ntfs_fill_super+0x9a6/0x7170 fs/ntfs/super.c:2871 attempt to access beyond end of device loop4: rw=0, want=1100, limit=209 mount_bdev+0x2b3/0x360 fs/super.c:1134 attempt to access beyond end of device mount_fs+0x92/0x2a0 fs/super.c:1237 vfs_kern_mount.part.0+0x5b/0x470 fs/namespace.c:1046 vfs_kern_mount fs/namespace.c:1036 [inline] do_new_mount fs/namespace.c:2549 [inline] do_mount+0xe53/0x2a00 fs/namespace.c:2879 loop4: rw=0, want=1102, limit=209 attempt to access beyond end of device SYSC_mount fs/namespace.c:3095 [inline] SyS_mount+0xa8/0x120 fs/namespace.c:3072 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 loop4: rw=0, want=1104, limit=209 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x460c6a RSP: 002b:00007f5a8a32fa78 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f5a8a32fb10 RCX: 0000000000460c6a attempt to access beyond end of device RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f5a8a32fad0 RBP: 00007f5a8a32fad0 R08: 00007f5a8a32fb10 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000 R13: 0000000020000100 R14: 0000000020000200 R15: 000000002007dc00 Code: loop4: rw=0, want=562, limit=209 89 04 00 00 49 83 be 88 fd ff ff attempt to access beyond end of device 00 0f 85 3e f5 ff ff e8 ad 52 44 ff 49 loop4: rw=0, want=564, limit=209 8b 86 80 fd ff ff a8 08 0f 85 2a f5 attempt to access beyond end of device ff ff e8 99 52 44 ff <0f> 0b e8 92 52 loop4: rw=0, want=566, limit=209 44 ff 48 8b 84 24 88 00 00 00 48 8d b8 loop1: rw=0, want=2048, limit=71 c0 fd ff RIP: ntfs_read_block fs/ntfs/aops.c:207 [inline] RSP: ffff888057c7f780 RIP: ntfs_readpage+0x14c7/0x1a70 fs/ntfs/aops.c:456 RSP: ffff888057c7f780 ---[ end trace 5d2fc8dd044b7ad0 ]---