bisecting fixing commit since 10b84daddbec72c6b440216a69de9a9605127f7a building syzkaller on 0174c6c8f78a3fdd002a73a5fdf559c1b0ec8c34 testing commit 10b84daddbec72c6b440216a69de9a9605127f7a with gcc (GCC) 8.1.0 kernel signature: 3917cccd52969612ae297daa36307b2acdfc4fd48f5871937e70f3da6c0a11d7 all runs: crashed: general protection fault in hfs_find_init testing current HEAD 12bf0b632ed090358cbf03e323e5342212d0b2e4 testing commit 12bf0b632ed090358cbf03e323e5342212d0b2e4 with gcc (GCC) 8.1.0 kernel signature: 23445c28e141be90a2466e1e6152650ec55acaebf3c0592bd2740ec20aad7067 all runs: crashed: general protection fault in hfs_find_init revisions tested: 2, total time: 15m22.63524833s (build: 8m46.315277907s, test: 5m54.70386965s) the crash still happens on HEAD commit msg: Merge tag 'nfs-for-5.7-5' of git://git.linux-nfs.org/projects/trondmy/linux-nfs 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 hfs: unable to locate alternate MDB hfs: continuing without an alternate MDB general protection fault, probably for non-canonical address 0xdffffc0000000008: 0000 [#1] SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047] CPU: 0 PID: 3897 Comm: syz-executor3 Not tainted 5.7.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:ffff8881c8987328 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8881c89873a8 RCX: 1ffff11039845e05 RDX: 0000000000000008 RSI: ffff8881c89873a8 RDI: ffff8881c89873c0 RBP: ffff8881c8987348 R08: 0000000000000000 R09: ffff8881c8987408 R10: 0000000000000000 R11: ffffed10390c131a R12: 0000000000000000 R13: 0000000000000040 R14: ffff8881c860998a R15: ffff8881c89873a8 FS: 00007f73aee6c700(0000) GS:ffff8881db000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b065825160 CR3: 00000001c928f000 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+0x290/0x9b0 fs/buffer.c:2290 hfs_readpage+0x13/0x20 fs/hfs/inode.c:38 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] hfs_btree_open+0x464/0x1070 fs/hfs/btree.c:78 hfs_mdb_get+0x1329/0x1d86 fs/hfs/mdb.c:193 hfs_fill_super+0x9bf/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: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: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:00007f73aee6bbb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000000 RCX: 00000000004579fa RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f73aee6bc00 RBP: 0000000000000003 R08: 00000000200001c0 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 R13: 0000000000000666 R14: 00000000006fba30 R15: 0000000000000000 Modules linked in: ---[ end trace 23bcb0602088a05c ]--- 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 general protection fault, probably for non-canonical address 0xdffffc0000000008: 0000 [#2] SMP KASAN RSP: 0018:ffff8881c8987328 EFLAGS: 00010202 KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047] CPU: 1 PID: 3884 Comm: syz-executor Tainted: G D 5.7.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 RAX: dffffc0000000000 RBX: ffff8881c89873a8 RCX: 1ffff11039845e05 RSP: 0018:ffff8881b82ef328 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8881b82ef3a8 RCX: 1ffff11037d0cc05 RDX: 0000000000000008 RSI: ffff8881b82ef3a8 RDI: ffff8881b82ef3c0 RBP: ffff8881b82ef348 R08: 0000000000000000 R09: ffff8881b82ef408 R10: 0000000000000000 R11: ffffed1039024322 R12: 0000000000000000 R13: 0000000000000040 R14: ffff8881c81219ca R15: ffff8881b82ef3a8 FS: 00007f0653362700(0000) GS:ffff8881db100000(0000) knlGS:0000000000000000 RDX: 0000000000000008 RSI: ffff8881c89873a8 RDI: ffff8881c89873c0 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6d4c1a3000 CR3: 00000001ca009000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: RBP: ffff8881c8987348 R08: 0000000000000000 R09: ffff8881c8987408 hfs_ext_read_extent+0x17e/0xcc0 fs/hfs/extent.c:200 R10: 0000000000000000 R11: ffffed10390c131a R12: 0000000000000000 R13: 0000000000000040 R14: ffff8881c860998a R15: ffff8881c89873a8 hfs_get_block+0x490/0x850 fs/hfs/extent.c:366 block_read_full_page+0x290/0x9b0 fs/buffer.c:2290 FS: 00007f73aee6c700(0000) GS:ffff8881db000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 hfs_readpage+0x13/0x20 fs/hfs/inode.c:38 do_read_cache_page+0x65c/0x1380 mm/filemap.c:2768 CR2: 000055b065825160 CR3: 00000001c928f000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400