bisecting fixing commit since 10b84daddbec72c6b440216a69de9a9605127f7a building syzkaller on 0174c6c8f78a3fdd002a73a5fdf559c1b0ec8c34 testing commit 10b84daddbec72c6b440216a69de9a9605127f7a with gcc (GCC) 8.1.0 kernel signature: b53739914e583ef98ad68c985c1575a474f3b4eb all runs: crashed: general protection fault in hfs_find_init testing current HEAD 040a3c33623ba4bd11588ab0820281b854a3ffaf testing commit 040a3c33623ba4bd11588ab0820281b854a3ffaf with gcc (GCC) 8.1.0 kernel signature: 89e6f96138d54f67eea6169a11409faea8febd9b all runs: crashed: general protection fault in hfs_find_init revisions tested: 2, total time: 16m52.262060574s (build: 9m57.490445046s, test: 6m10.318974322s) the crash still happens on HEAD commit msg: Merge tag 'iommu-fixes-v5.5-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu crash: general protection fault in hfs_find_init IPVS: ftp: loaded support on port[0] = 21 hfs: unable to locate alternate MDB hfs: continuing without an alternate MDB kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP KASAN CPU: 0 PID: 4445 Comm: syz-executor3 Not tainted 5.5.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:hfs_find_init+0x73/0x180 fs/hfs/bfind.c:21 Code: ea 03 80 3c 02 00 0f 85 ee 00 00 00 4d 8d 6c 24 40 48 c7 43 18 00 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e ac 00 00 00 41 8b 44 24 40 be RSP: 0018:ffff8881c6317330 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8881c63173b0 RCX: 1ffff11039294505 RDX: 0000000000000008 RSI: ffff8881c63173b0 RDI: ffff8881c63173c8 RBP: ffff8881c6317350 R08: 0000000000000000 R09: ffff8881c6317410 R10: 0000000000000000 R11: ffff8881c52e16cf R12: 0000000000000000 R13: 0000000000000040 R14: ffff8881c52e1772 R15: ffff8881c63173b0 FS: 00007f9f1b8e4700(0000) GS:ffff8881db000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa425c91518 CR3: 00000001c7550000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfs_ext_read_extent+0x17e/0xcc0 fs/hfs/extent.c:200 hfs_get_block+0x490/0x850 fs/hfs/extent.c:366 block_read_full_page+0x288/0x950 fs/buffer.c:2285 hfs_readpage+0x13/0x20 fs/hfs/inode.c:38 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] hfs_btree_open+0x45f/0x1070 fs/hfs/btree.c:78 hfs_mdb_get+0x1329/0x1d85 fs/hfs/mdb.c:193 hfs_fill_super+0x9b4/0x12a0 fs/hfs/super.c:407 mount_bdev+0x27b/0x340 fs/super.c:1417 hfs_mount+0x10/0x20 fs/hfs/super.c:457 legacy_get_tree+0x103/0x1f0 fs/fs_context.c:647 vfs_get_tree+0x8b/0x2d0 fs/super.c:1547 do_new_mount fs/namespace.c:2822 [inline] do_mount+0x1285/0x1b70 fs/namespace.c:3142 __do_sys_mount fs/namespace.c:3351 [inline] __se_sys_mount fs/namespace.c:3328 [inline] __x64_sys_mount+0x169/0x1c0 fs/namespace.c:3328 do_syscall_64+0xd0/0x600 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4579fa 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:00007f9f1b8e3bb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000000 RCX: 00000000004579fa RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f9f1b8e3c00 RBP: 0000000000000003 R08: 00000000200001c0 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 R13: 0000000000000666 R14: 00000000006fba30 R15: 0000000000000000 Modules linked in: ---[ end trace c5d4fc82c6920b76 ]--- RIP: 0010:hfs_find_init+0x73/0x180 fs/hfs/bfind.c:21 Code: ea 03 80 3c 02 00 0f 85 ee 00 00 00 4d 8d 6c 24 40 48 c7 43 18 00 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e ac 00 00 00 41 8b 44 24 40 be RSP: 0018:ffff8881c6317330 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8881c63173b0 RCX: 1ffff11039294505 RDX: 0000000000000008 RSI: ffff8881c63173b0 RDI: ffff8881c63173c8 RBP: ffff8881c6317350 R08: 0000000000000000 R09: ffff8881c6317410 R10: 0000000000000000 R11: ffff8881c52e16cf R12: 0000000000000000 R13: 0000000000000040 R14: ffff8881c52e1772 R15: ffff8881c63173b0 FS: 00007f9f1b8e4700(0000) GS:ffff8881db000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa425c91518 CR3: 00000001c7550000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400