bisecting fixing commit since 87ef12027b9b1dd0e0b12cf311fbcb19f9d92539 building syzkaller on 3642839c105d2c84160c10866805f903a22fa343 testing commit 87ef12027b9b1dd0e0b12cf311fbcb19f9d92539 with gcc (GCC) 8.1.0 kernel signature: 5c29cf21b63fa5a37cfb91a0c9defe67be1176c62374e194b2d9785f13d07ca6 all runs: crashed: kernel BUG at fs/ntfs/aops.c:LINE! testing current HEAD 00086336a8d96a04aa960f912287692a258f6cf5 testing commit 00086336a8d96a04aa960f912287692a258f6cf5 with gcc (GCC) 8.1.0 kernel signature: 1cde7192d0f1688df177d282bfc4504759f620336eaea5adefe2869c0bbac9c1 all runs: crashed: kernel BUG at fs/ntfs/aops.c:LINE! revisions tested: 2, total time: 17m11.305958295s (build: 9m51.654714307s, test: 6m31.759213259s) the crash still happens on HEAD commit msg: Merge tag 'efi-urgent-2020-04-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip crash: kernel BUG at fs/ntfs/aops.c:LINE! IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 ntfs: (device loop3): is_boot_sector_ntfs(): Invalid end of sector marker. ------------[ cut here ]------------ kernel BUG at fs/ntfs/aops.c:186! invalid opcode: 0000 [#1] SMP KASAN CPU: 0 PID: 4102 Comm: syz-executor3 Not tainted 5.7.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:186 [inline] RIP: 0010:ntfs_readpage+0x1793/0x1d60 fs/ntfs/aops.c:435 Code: 89 fa 48 c1 e0 2a 48 c1 ea 03 80 3c 02 00 0f 85 b7 02 00 00 48 8b 85 18 ff ff ff 48 8b 80 30 fd ff ff a8 08 0f 85 1d f3 ff ff <0f> 0b 0f 0b 0f 0b be 01 00 00 00 48 89 df e8 1a de ff ff e9 4a ff RSP: 0018:ffff8881c67c76d8 EFLAGS: 00010246 RAX: 0000000000000230 RBX: ffff8881b8bcdd08 RCX: ffffffff8228ca05 RDX: 1ffff11037179b02 RSI: 0000000000000008 RDI: ffff8881b8bcd810 ntfs: (device loop1): is_boot_sector_ntfs(): Invalid end of sector marker. RBP: ffff8881c67c7858 R08: ffffed1037179b03 R09: ffffed1037179b03 R10: ffff8881b8bcd817 R11: ffffed1037179b02 R12: ffffea0006dac5a0 R13: ffff8881b8bcd810 R14: ffffea0006dac580 R15: dffffc0000000000 FS: 00007f267a91f700(0000) GS:ffff8881db000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004da898 CR3: 00000001d87fa000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_read_cache_page+0x65c/0x1380 mm/filemap.c:2768 read_cache_page+0x45/0x70 mm/filemap.c:2867 read_mapping_page include/linux/pagemap.h:397 [inline] ntfs_map_page fs/ntfs/aops.h:75 [inline] map_mft_record_page fs/ntfs/mft.c:73 [inline] map_mft_record+0x182/0x990 fs/ntfs/mft.c:156 ntfs_read_locked_inode+0x18e/0x52a0 fs/ntfs/inode.c:549 ntfs_read_inode_mount+0xa42/0x21b0 fs/ntfs/inode.c:2074 ntfs_fill_super+0x1217/0x2d40 fs/ntfs/super.c:2857 mount_bdev+0x27b/0x340 fs/super.c:1417 ntfs_mount+0x10/0x20 fs/ntfs/super.c:3051 legacy_get_tree+0x103/0x1f0 fs/fs_context.c:622 vfs_get_tree+0x8b/0x2d0 fs/super.c:1547 do_new_mount fs/namespace.c:2816 [inline] do_mount+0x1287/0x1c30 fs/namespace.c:3141 __do_sys_mount fs/namespace.c:3350 [inline] __se_sys_mount fs/namespace.c:3327 [inline] __x64_sys_mount+0x169/0x1c0 fs/namespace.c:3327 do_syscall_64+0xd0/0x630 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 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:00007f267a91ebb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000000 RCX: 0000000000457eaa RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f267a91ec00 RBP: 00000000000000b2 R08: 000000002007e200 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 R13: 000000000000067c R14: 00000000006fcc40 R15: 0000000000000000 Modules linked in: ---[ end trace 59445685a3791310 ]--- RIP: 0010:ntfs_read_block fs/ntfs/aops.c:186 [inline] RIP: 0010:ntfs_readpage+0x1793/0x1d60 fs/ntfs/aops.c:435 Code: 89 fa 48 c1 e0 2a 48 c1 ea 03 80 3c 02 00 0f 85 b7 02 00 00 48 8b 85 18 ff ff ff 48 8b 80 30 fd ff ff a8 08 0f 85 1d f3 ff ff <0f> 0b 0f 0b 0f 0b be 01 00 00 00 48 89 df e8 1a de ff ff e9 4a ff RSP: 0018:ffff8881c67c76d8 EFLAGS: 00010246 RAX: 0000000000000230 RBX: ffff8881b8bcdd08 RCX: ffffffff8228ca05 RDX: 1ffff11037179b02 RSI: 0000000000000008 RDI: ffff8881b8bcd810 RBP: ffff8881c67c7858 R08: ffffed1037179b03 R09: ffffed1037179b03 R10: ffff8881b8bcd817 R11: ffffed1037179b02 R12: ffffea0006dac5a0 R13: ffff8881b8bcd810 R14: ffffea0006dac580 R15: dffffc0000000000 FS: 00007f267a91f700(0000) GS:ffff8881db000000(0000) knlGS:0000000000000000 ------------[ cut here ]------------ CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 kernel BUG at fs/ntfs/aops.c:186! invalid opcode: 0000 [#2] SMP KASAN CR2: 00000000004da898 CR3: 00000001d87fa000 CR4: 00000000001406f0 CPU: 1 PID: 4138 Comm: syz-executor1 Tainted: G D 5.7.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:186 [inline] RIP: 0010:ntfs_readpage+0x1793/0x1d60 fs/ntfs/aops.c:435 Code: 89 fa 48 c1 e0 2a 48 c1 ea 03 80 3c 02 00 0f 85 b7 02 00 00 48 8b 85 18 ff ff ff 48 8b 80 30 fd ff ff a8 08 0f 85 1d f3 ff ff <0f> 0b 0f 0b 0f 0b be 01 00 00 00 48 89 df e8 1a de ff ff e9 4a ff RSP: 0018:ffff8881c66bf6d8 EFLAGS: 00010246 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 RAX: 0000000000000230 RBX: ffff8881b4407d08 RCX: ffffffff8228ca05 RDX: 1ffff11036880f02 RSI: 0000000000000008 RDI: ffff8881b4407810 RBP: ffff8881c66bf858 R08: ffffed1036880f03 R09: ffffed1036880f03 R10: ffff8881b4407817 R11: ffffed1036880f02 R12: ffffea0006d23120 R13: ffff8881b4407810 R14: ffffea0006d23100 R15: dffffc0000000000 FS: 00007fd72399a700(0000) GS:ffff8881db100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000560a26b5dbd0 CR3: 00000001c7fe6000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 do_read_cache_page+0x65c/0x1380 mm/filemap.c:2768