hpfs: You really don't want any checks? You are crazy...
hpfs: hpfs_map_sector(): read error
hpfs: code page support is disabled
==================================================================
BUG: KASAN: use-after-free in strcmp+0x6b/0xc0
Read of size 1 at addr ffff8881a3140003 by task syz.0.4160/26543

CPU: 1 UID: 0 PID: 26543 Comm: syz.0.4160 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150
 print_address_description+0x55/0x1e0
 print_report+0x58/0x70
 kasan_report+0x117/0x150
 strcmp+0x6b/0xc0
 hpfs_get_ea+0x137/0xeb0
 hpfs_read_inode+0x1a9/0x1060
 hpfs_fill_super+0x1275/0x1fa0
 get_tree_bdev_flags+0x430/0x4f0
 vfs_get_tree+0x92/0x2a0
 do_new_mount+0x319/0xdc0
 __se_sys_mount+0x31d/0x420
 do_syscall_64+0x174/0x580
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f7f5099f34a
Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f7f5187ce58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f7f5187cee0 RCX: 00007f7f5099f34a
RDX: 000020000000a000 RSI: 0000200000009ec0 RDI: 00007f7f5187cea0
RBP: 000020000000a000 R08: 00007f7f5187cee0 R09: 0000000003200041
R10: 0000000003200041 R11: 0000000000000246 R12: 0000200000009ec0
R13: 00007f7f5187cea0 R14: 0000000000009e15 R15: 0000200000000140
 </TASK>

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x540 pfn:0x1a3140
flags: 0x57ff00000000000(node=1|zone=2|lastcpupid=0x7ff)
page_type: f0(buddy)
raw: 057ff00000000000 ffffea000678e808 ffffea000661d008 0000000000000000
raw: 0000000000000540 0000000000000005 00000000f0000000 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 5, migratetype Movable, gfp_mask 0x152c4a(GFP_NOFS|__GFP_HIGHMEM|__GFP_MOVABLE|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_HARDWALL), pid 19202, tgid 19201 (syz.5.3541), ts 1086768964107, free_ts 1087333721498
 post_alloc_hook+0x1f9/0x250
 get_page_from_freelist+0x21fa/0x2270
 __alloc_frozen_pages_noprof+0x18d/0x380
 alloc_pages_mpol+0x212/0x380
 alloc_pages_noprof+0xac/0x2a0
 folio_alloc_noprof+0x1e/0x30
 filemap_alloc_folio_noprof+0x111/0x470
 page_cache_ra_order+0x569/0xee0
 filemap_get_pages+0x86d/0x1ec0
 filemap_read+0x426/0x11e0
 __kernel_read+0x4ca/0x960
 integrity_kernel_read+0x89/0xd0
 ima_calc_file_hash+0x451/0x890
 ima_collect_measurement+0x51b/0xa00
 process_measurement+0x1272/0x1c10
 ima_file_check+0xe1/0x130
page last free pid 19202 tgid 19201 stack trace:
 free_unref_folios+0xd84/0x14a0
 folios_put_refs+0x9e9/0xb30
 truncate_inode_pages_range+0x3ca/0xd80
 truncate_pagecache+0x6c/0x90
 ext4_setattr+0x109f/0x1d70
 notify_change+0xbba/0xea0
 do_truncate+0x1c2/0x250
 path_openat+0x2fed/0x3830
 do_file_open+0x23e/0x4a0
 do_sys_openat2+0x115/0x200
 __x64_sys_openat+0x138/0x170
 do_syscall_64+0x174/0x580
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Memory state around the buggy address:
 ffff8881a313ff00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff8881a313ff80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff8881a3140000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
                   ^
 ffff8881a3140080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff8881a3140100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
