hfs: continuing without an alternate MDB 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: 4441 Comm: syz-executor2 Not tainted 5.5.0-rc1-syzkaller #0 kasan: CONFIG_KASAN_INLINE enabled 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:ffff8881c5837300 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8881c5837380 RCX: 1ffff11038e7d785 kasan: GPF could be caused by NULL-ptr deref or user memory access RDX: 0000000000000008 RSI: ffff8881c5837380 RDI: ffff8881c5837398 RBP: ffff8881c5837320 R08: ffffed1037b102da R09: ffff8881c58373e0 R10: 0000000000000000 R11: ffff8881bd8816cf R12: 0000000000000000 R13: 0000000000000040 R14: ffff8881bd881772 R15: ffff8881c5837380 FS: 00007fce947de700(0000) GS:ffff8881db000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004d9e58 CR3: 00000001c5626000 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:1415 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: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: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:00007fce947ddbb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000000 RCX: 00000000004579fa RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fce947ddc00 RBP: 0000000000000003 R08: 00000000200001c0 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 R13: 0000000000000666 R14: 00000000006fba30 R15: 0000000000000000 Modules linked in: general protection fault: 0000 [#2] SMP KASAN ---[ end trace f66cebd163ae50b4 ]--- CPU: 1 PID: 4444 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: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:ffff8881c5877300 EFLAGS: 00010202 RIP: 0010:hfs_find_init+0x73/0x180 fs/hfs/bfind.c:21 RAX: dffffc0000000000 RBX: ffff8881c5877380 RCX: 1ffff110396d4e85 RDX: 0000000000000008 RSI: ffff8881c5877380 RDI: ffff8881c5877398 RBP: ffff8881c5877320 R08: ffffed1038b3cee2 R09: ffff8881c58773e0 R10: 0000000000000000 R11: ffff8881c59e770f R12: 0000000000000000 R13: 0000000000000040 R14: ffff8881c59e77b2 R15: ffff8881c5877380 FS: 00007f0cf69d9700(0000) GS:ffff8881db100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 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 CR2: 000000000095efd0 CR3: 00000001cb5e7000 CR4: 00000000001406e0 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 RSP: 0018:ffff8881c5837300 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8881c5837380 RCX: 1ffff11038e7d785 hfs_get_block+0x490/0x850 fs/hfs/extent.c:366 block_read_full_page+0x288/0x950 fs/buffer.c:2285 RDX: 0000000000000008 RSI: ffff8881c5837380 RDI: ffff8881c5837398 hfs_readpage+0x13/0x20 fs/hfs/inode.c:38 do_read_cache_page+0x65c/0x12d0 mm/filemap.c:2783 RBP: ffff8881c5837320 R08: ffffed1037b102da R09: ffff8881c58373e0 R10: 0000000000000000 R11: ffff8881bd8816cf R12: 0000000000000000 read_cache_page+0x45/0x70 mm/filemap.c:2874 R13: 0000000000000040 R14: ffff8881bd881772 R15: ffff8881c5837380 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 FS: 00007fce947de700(0000) GS:ffff8881db000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 hfs_fill_super+0x9b4/0x12a0 fs/hfs/super.c:407 CR2: 00000000004d9e58 CR3: 00000001c5626000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 mount_bdev+0x27b/0x340 fs/super.c:1415 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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:1545