bisecting fixing commit since 87ef12027b9b1dd0e0b12cf311fbcb19f9d92539 building syzkaller on 3642839c105d2c84160c10866805f903a22fa343 testing commit 87ef12027b9b1dd0e0b12cf311fbcb19f9d92539 with gcc (GCC) 8.1.0 kernel signature: 008a7316da3da4d2d1ba6c6054575810b4bdd423 all runs: crashed: kernel BUG at fs/ntfs/aops.c:LINE! testing current HEAD 6794862a16ef41f753abd75c03a152836e4c8028 testing commit 6794862a16ef41f753abd75c03a152836e4c8028 with gcc (GCC) 8.1.0 kernel signature: a67c010ee4aaa874f20c73cc48d45cef68edcdd1 all runs: crashed: kernel BUG at fs/ntfs/aops.c:LINE! revisions tested: 2, total time: 18m13.386870494s (build: 10m44.662157235s, test: 6m44.708939718s) the crash still happens on HEAD commit msg: Merge tag 'for-5.5-rc1-kconfig-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux crash: kernel BUG at fs/ntfs/aops.c:LINE! IPVS: ftp: loaded support on port[0] = 21 ntfs: (device loop3): is_boot_sector_ntfs(): Invalid end of sector marker. ntfs: (device loop2): is_boot_sector_ntfs(): Invalid end of sector marker. ntfs: (device loop0): is_boot_sector_ntfs(): Invalid end of sector marker. ------------[ cut here ]------------ kernel BUG at fs/ntfs/aops.c:189! invalid opcode: 0000 [#1] SMP KASAN ------------[ cut here ]------------ CPU: 0 PID: 4558 Comm: syz-executor3 Not tainted 5.5.0-rc1-syzkaller #0 kernel BUG at fs/ntfs/aops.c:189! Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ntfs_read_block fs/ntfs/aops.c:189 [inline] RIP: 0010:ntfs_readpage+0x174e/0x1cc0 fs/ntfs/aops.c:438 Code: 89 fa 48 c1 e0 2a 48 c1 ea 03 80 3c 02 00 0f 85 39 05 00 00 48 8b 85 18 ff ff ff 48 8b 80 70 fd ff ff a8 08 0f 85 5d f3 ff ff <0f> 0b 0f 0b 0f 0b 4c 89 f7 41 bc f4 ff ff ff e8 2e 3a 5f ff e9 75 RSP: 0018:ffff8881c18e76a0 EFLAGS: 00010246 RAX: 0000000000000230 RBX: ffff8881cacc0c60 RCX: ffffffff8222f870 RDX: 1ffff110395980f9 RSI: 0000000000000008 RDI: ffff8881cacc07c8 RBP: ffff8881c18e7820 R08: ffffed10395980fa R09: ffffed10395980fa R10: ffffed10395980f9 R11: ffff8881cacc07cf R12: ffffea0007220320 R13: ffff8881cacc07c8 R14: ffffea0007220300 R15: dffffc0000000000 FS: 00007f91c3e66700(0000) GS:ffff8881db000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb4d29ed16b CR3: 00000001c14f9000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_read_cache_page+0x65c/0x12d0 mm/filemap.c:2783 read_cache_page+0x45/0x70 mm/filemap.c:2874 read_mapping_page include/linux/pagemap.h:396 [inline] ntfs_map_page fs/ntfs/aops.h:75 [inline] map_mft_record_page fs/ntfs/mft.c:73 [inline] map_mft_record+0x184/0x950 fs/ntfs/mft.c:156 ntfs_read_locked_inode+0x18e/0x52a0 fs/ntfs/inode.c:549 ntfs_read_inode_mount+0xa3f/0x20c0 fs/ntfs/inode.c:2074 ntfs_fill_super+0x121e/0x2d50 fs/ntfs/super.c:2857 mount_bdev+0x27b/0x340 fs/super.c:1415 ntfs_mount+0x10/0x20 fs/ntfs/super.c:3051 legacy_get_tree+0x103/0x1f0 fs/fs_context.c:647 vfs_get_tree+0x8b/0x2d0 fs/super.c:1545 do_new_mount fs/namespace.c:2822 [inline] do_mount+0x1285/0x1b70 fs/namespace.c:3142 ksys_mount+0xba/0xe0 fs/namespace.c:3351 __do_sys_mount fs/namespace.c:3365 [inline] __se_sys_mount fs/namespace.c:3362 [inline] __x64_sys_mount+0xb9/0x150 fs/namespace.c:3362 do_syscall_64+0xd0/0x600 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457eaa Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 dd 8f fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 ba 8f fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007f91c3e65bb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000000 RCX: 0000000000457eaa RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f91c3e65c00 RBP: 00000000000000b2 R08: 000000002007e200 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 R13: 000000000000067c R14: 00000000006fcc40 R15: 0000000000000000 Modules linked in: invalid opcode: 0000 [#2] SMP KASAN ---[ end trace 03135eaf63e75c90 ]--- CPU: 1 PID: 4561 Comm: syz-executor Tainted: G D 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ntfs_read_block fs/ntfs/aops.c:189 [inline] RIP: 0010:ntfs_readpage+0x174e/0x1cc0 fs/ntfs/aops.c:438 Code: 89 fa 48 c1 e0 2a 48 c1 ea 03 80 3c 02 00 0f 85 39 05 00 00 48 8b 85 18 ff ff ff 48 8b 80 70 fd ff ff a8 08 0f 85 5d f3 ff ff <0f> 0b 0f 0b 0f 0b 4c 89 f7 41 bc f4 ff ff ff e8 2e 3a 5f ff e9 75 RSP: 0018:ffff8881c27276a0 EFLAGS: 00010246 RIP: 0010:ntfs_read_block fs/ntfs/aops.c:189 [inline] RIP: 0010:ntfs_readpage+0x174e/0x1cc0 fs/ntfs/aops.c:438 RAX: 0000000000000230 RBX: ffff8881cac00ca0 RCX: ffffffff8222f870 RDX: 1ffff11039580101 RSI: 0000000000000008 RDI: ffff8881cac00808 RBP: ffff8881c2727820 R08: ffffed1039580102 R09: ffffed1039580102 R10: ffffed1039580101 R11: ffff8881cac0080f R12: ffffea0006e8c2e0 R13: ffff8881cac00808 R14: ffffea0006e8c2c0 R15: dffffc0000000000 FS: 00007f70835e7700(0000) GS:ffff8881db100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Code: 89 fa 48 c1 e0 2a 48 c1 ea 03 80 3c 02 00 0f 85 39 05 00 00 48 8b 85 18 ff ff ff 48 8b 80 70 fd ff ff a8 08 0f 85 5d f3 ff ff <0f> 0b 0f 0b 0f 0b 4c 89 f7 41 bc f4 ff ff ff e8 2e 3a 5f ff e9 75 CR2: 00000000010777d0 CR3: 00000001c5b07000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: RSP: 0018:ffff8881c18e76a0 EFLAGS: 00010246 RAX: 0000000000000230 RBX: ffff8881cacc0c60 RCX: ffffffff8222f870 do_read_cache_page+0x65c/0x12d0 mm/filemap.c:2783 RDX: 1ffff110395980f9 RSI: 0000000000000008 RDI: ffff8881cacc07c8 RBP: ffff8881c18e7820 R08: ffffed10395980fa R09: ffffed10395980fa read_cache_page+0x45/0x70 mm/filemap.c:2874 read_mapping_page include/linux/pagemap.h:396 [inline] ntfs_map_page fs/ntfs/aops.h:75 [inline] map_mft_record_page fs/ntfs/mft.c:73 [inline] map_mft_record+0x184/0x950 fs/ntfs/mft.c:156 ntfs_read_locked_inode+0x18e/0x52a0 fs/ntfs/inode.c:549 R10: ffffed10395980f9 R11: ffff8881cacc07cf R12: ffffea0007220320 ntfs_read_inode_mount+0xa3f/0x20c0 fs/ntfs/inode.c:2074 ntfs_fill_super+0x121e/0x2d50 fs/ntfs/super.c:2857 R13: ffff8881cacc07c8 R14: ffffea0007220300 R15: dffffc0000000000 mount_bdev+0x27b/0x340 fs/super.c:1415 FS: 00007f91c3e66700(0000) GS:ffff8881db000000(0000) knlGS:0000000000000000 ntfs_mount+0x10/0x20 fs/ntfs/super.c:3051 legacy_get_tree+0x103/0x1f0 fs/fs_context.c:647 vfs_get_tree+0x8b/0x2d0 fs/super.c:1545 do_new_mount fs/namespace.c:2822 [inline] do_mount+0x1285/0x1b70 fs/namespace.c:3142 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb4d29ed16b CR3: 00000001c14f9000 CR4: 00000000001406f0 ksys_mount+0xba/0xe0 fs/namespace.c:3351 __do_sys_mount fs/namespace.c:3365 [inline] __se_sys_mount fs/namespace.c:3362 [inline] __x64_sys_mount+0xb9/0x150 fs/namespace.c:3362 do_syscall_64+0xd0/0x600 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457eaa Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 dd 8f fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 ba 8f fb ff c3 66 0f 1f 84 00 00 00 00 00 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 RSP: 002b:00007f70835e6bb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000000 RCX: 0000000000457eaa RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f70835e6c00 RBP: 00000000000000b2 R08: 000000002007e200 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 R13: 000000000000067c R14: 00000000006fcc40 R15: 0000000000000000 Modules linked in: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---[ end trace 03135eaf63e75c91 ]---