attempt to access beyond end of device ------------[ cut here ]------------ loop4: rw=0, want=2048, limit=1072 kernel BUG at fs/ntfs/aops.c:207! loop5: rw=0, want=2056, limit=1072 invalid opcode: 0000 [#1] PREEMPT SMP KASAN attempt to access beyond end of device Modules linked in: CPU: 0 PID: 21986 Comm: syz-executor.3 Not tainted 4.14.256-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88809bbc4200 task.stack: ffff88805e830000 RIP: 0010:ntfs_read_block fs/ntfs/aops.c:207 [inline] RIP: 0010:ntfs_readpage+0x14c7/0x1a70 fs/ntfs/aops.c:456 RSP: 0018:ffff88805e837778 EFLAGS: 00010212 RAX: 0000000000040000 RBX: dffffc0000000000 RCX: ffffc90006fe4000 RDX: 0000000000027d4a RSI: ffffffff820fc147 RDI: ffff888064f83110 RBP: ffff888064f83108 R08: 0000000000000000 R09: ffff888064f83598 loop4: rw=0, want=1098, limit=1072 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: ffff888064f830c0 R14: ffff888064f83388 R15: ffffea00016bc0c0 FS: 00007fadff19f700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005601f9a93190 CR3: 00000000a8f20000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_read_cache_page+0x38e/0xc10 mm/filemap.c:2713 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/0x51b0 fs/ntfs/inode.c:582 ntfs_read_inode_mount+0xafb/0x2040 fs/ntfs/inode.c:2121 ntfs_fill_super+0x9a6/0x7170 fs/ntfs/super.c:2871 mount_bdev+0x2b3/0x360 fs/super.c:1134 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:2572 [inline] do_mount+0xe65/0x2a10 fs/namespace.c:2902 SYSC_mount fs/namespace.c:3118 [inline] SyS_mount+0xa8/0x120 fs/namespace.c:3095 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7fae0022b01a RSP: 002b:00007fadff19efa8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007fae0022b01a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fadff19f000 RBP: 00007fadff19f040 R08: 00007fadff19f040 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000000 R13: 0000000020000100 R14: 00007fadff19f000 R15: 000000002007dc00 Code: 89 04 00 00 49 83 be 88 fd ff ff 00 0f 85 3e f5 ff ff e8 cd 79 45 ff 49 8b 86 80 fd ff ff a8 08 0f 85 2a f5 ff ff e8 b9 79 45 ff <0f> 0b e8 b2 79 45 ff 48 8b 84 24 88 00 00 00 48 8d b8 c0 fd ff RIP: ntfs_read_block fs/ntfs/aops.c:207 [inline] RSP: ffff88805e837778 RIP: ntfs_readpage+0x14c7/0x1a70 fs/ntfs/aops.c:456 RSP: ffff88805e837778 attempt to access beyond end of device loop4: rw=0, want=1100, limit=1072 attempt to access beyond end of device loop4: rw=0, want=1102, limit=1072 loop0: rw=0, want=2042, limit=1072 attempt to access beyond end of device attempt to access beyond end of device loop4: rw=0, want=1104, limit=1072 ntfs: volume version 3.1. loop0: rw=0, want=2044, limit=1072 attempt to access beyond end of device attempt to access beyond end of device loop4: rw=0, want=2050, limit=1072 loop5: rw=0, want=2042, limit=1072 attempt to access beyond end of device attempt to access beyond end of device attempt to access beyond end of device loop5: rw=0, want=2044, limit=1072 loop4: rw=0, want=2052, limit=1072 attempt to access beyond end of device attempt to access beyond end of device loop5: rw=0, want=2046, limit=1072 loop0: rw=0, want=2046, limit=1072 loop4: rw=0, want=2054, limit=1072 attempt to access beyond end of device attempt to access beyond end of device attempt to access beyond end of device loop5: rw=0, want=2048, limit=1072 attempt to access beyond end of device loop4: rw=0, want=2056, limit=1072 loop0: rw=0, want=2048, limit=1072 loop5: rw=0, want=1098, limit=1072 attempt to access beyond end of device loop5: rw=0, want=1100, limit=1072 attempt to access beyond end of device loop5: rw=0, want=1102, limit=1072 attempt to access beyond end of device loop5: rw=0, want=1104, limit=1072 ntfs: volume version 3.1. attempt to access beyond end of device attempt to access beyond end of device loop5: rw=0, want=2050, limit=1072 attempt to access beyond end of device loop0: rw=0, want=1098, limit=1072 loop5: rw=0, want=2052, limit=1072 attempt to access beyond end of device attempt to access beyond end of device attempt to access beyond end of device loop0: rw=0, want=1100, limit=1072 loop5: rw=0, want=2054, limit=1072 loop4: rw=0, want=2042, limit=239 attempt to access beyond end of device attempt to access beyond end of device attempt to access beyond end of device loop0: rw=0, want=1102, limit=1072 loop5: rw=0, want=2056, limit=1072 attempt to access beyond end of device loop4: rw=0, want=2044, limit=239 loop0: rw=0, want=1104, limit=1072 attempt to access beyond end of device ntfs: volume version 3.1. loop4: rw=0, want=2046, limit=239 attempt to access beyond end of device loop0: rw=0, want=2050, limit=1072 attempt to access beyond end of device attempt to access beyond end of device loop4: rw=0, want=2048, limit=239 loop0: rw=0, want=2052, limit=1072 attempt to access beyond end of device attempt to access beyond end of device attempt to access beyond end of device loop5: rw=0, want=2042, limit=271 loop0: rw=0, want=2054, limit=1072 loop4: rw=0, want=1098, limit=239 attempt to access beyond end of device attempt to access beyond end of device loop0: rw=0, want=2056, limit=1072 attempt to access beyond end of device loop5: rw=0, want=2044, limit=271 loop4: rw=0, want=1100, limit=239 attempt to access beyond end of device attempt to access beyond end of device loop5: rw=0, want=2046, limit=271 loop4: rw=0, want=1102, limit=239 attempt to access beyond end of device attempt to access beyond end of device loop5: rw=0, want=2048, limit=271 loop4: rw=0, want=1104, limit=239 attempt to access beyond end of device attempt to access beyond end of device loop5: rw=0, want=1098, limit=271 loop4: rw=0, want=562, limit=239 attempt to access beyond end of device attempt to access beyond end of device attempt to access beyond end of device loop0: rw=0, want=2042, limit=1072 loop5: rw=0, want=1100, limit=271 loop4: rw=0, want=564, limit=239 __ntfs_error: 525 callbacks suppressed ntfs: (device loop0): ntfs_end_buffer_async_read(): Buffer I/O error, logical block 0x3fc. ntfs: (device loop5): ntfs_end_buffer_async_read(): Buffer I/O error, logical block 0x225. ntfs: (device loop4): ntfs_end_buffer_async_read(): Buffer I/O error, logical block 0x119. attempt to access beyond end of device attempt to access beyond end of device attempt to access beyond end of device loop5: rw=0, want=1102, limit=271 loop4: rw=0, want=566, limit=239 loop0: rw=0, want=2044, limit=1072 ntfs: (device loop5): ntfs_end_buffer_async_read(): Buffer I/O error, logical block 0x226. ntfs: (device loop4): ntfs_end_buffer_async_read(): Buffer I/O error, logical block 0x11a. ntfs: (device loop0): ntfs_end_buffer_async_read(): Buffer I/O error, logical block 0x3fd. attempt to access beyond end of device ntfs: (device loop4): load_and_init_attrdef(): Failed to initialize attribute definition table. attempt to access beyond end of device loop5: rw=0, want=1104, limit=271 loop0: rw=0, want=2046, limit=1072 ntfs: (device loop5): ntfs_end_buffer_async_read(): Buffer I/O error, logical block 0x227. ntfs: (device loop4): ntfs_fill_super(): Failed to load system files. ntfs: (device loop0): ntfs_end_buffer_async_read(): Buffer I/O error, logical block 0x3fe. attempt to access beyond end of device attempt to access beyond end of device loop5: rw=0, want=562, limit=271 loop0: rw=0, want=2048, limit=1072 attempt to access beyond end of device loop5: rw=0, want=564, limit=271 attempt to access beyond end of device attempt to access beyond end of device loop5: rw=0, want=566, limit=271 loop0: rw=0, want=1098, limit=1072 attempt to access beyond end of device loop0: rw=0, want=1100, limit=1072 attempt to access beyond end of device loop0: rw=0, want=1102, limit=1072 attempt to access beyond end of device loop0: rw=0, want=1104, limit=1072 attempt to access beyond end of device loop4: rw=0, want=2042, limit=239 ntfs: volume version 3.1. attempt to access beyond end of device attempt to access beyond end of device loop4: rw=0, want=2044, limit=239 loop0: rw=0, want=2050, limit=1072 attempt to access beyond end of device attempt to access beyond end of device attempt to access beyond end of device loop5: rw=0, want=2042, limit=271 attempt to access beyond end of device loop2: rw=0, want=2042, limit=71 loop4: rw=0, want=2046, limit=239 attempt to access beyond end of device loop0: rw=0, want=2052, limit=1072 attempt to access beyond end of device attempt to access beyond end of device loop5: rw=0, want=2044, limit=271 loop2: rw=0, want=2044, limit=71 attempt to access beyond end of device loop4: rw=0, want=2048, limit=239 attempt to access beyond end of device loop0: rw=0, want=2054, limit=1072 attempt to access beyond end of device loop5: rw=0, want=2046, limit=271 attempt to access beyond end of device loop2: rw=0, want=2046, limit=71 loop4: rw=0, want=1098, limit=239 attempt to access beyond end of device attempt to access beyond end of device attempt to access beyond end of device attempt to access beyond end of device loop5: rw=0, want=2048, limit=271 loop0: rw=0, want=2056, limit=1072 loop4: rw=0, want=1100, limit=239 loop2: rw=0, want=2048, limit=71 attempt to access beyond end of device attempt to access beyond end of device loop4: rw=0, want=1102, limit=239 loop5: rw=0, want=1098, limit=271 attempt to access beyond end of device loop4: rw=0, want=1104, limit=239 attempt to access beyond end of device loop4: rw=0, want=562, limit=239 attempt to access beyond end of device attempt to access beyond end of device loop5: rw=0, want=1100, limit=271 loop4: rw=0, want=564, limit=239 ---[ end trace 2163d6bef5fbdfdb ]--- attempt to access beyond end of device attempt to access beyond end of device