loop5: detected capacity change from 0 to 1024 hfsplus: request for non-existent node 3 in B*Tree hfsplus: request for non-existent node 3 in B*Tree ===================================================== BUG: KMSAN: uninit-value in hfsplus_attr_bin_cmp_key+0xf1/0x190 fs/hfsplus/attributes.c:42 hfsplus_attr_bin_cmp_key+0xf1/0x190 fs/hfsplus/attributes.c:42 hfs_find_rec_by_key+0xb0/0x240 fs/hfsplus/bfind.c:100 __hfsplus_brec_find+0x26b/0x7b0 fs/hfsplus/bfind.c:135 hfsplus_brec_find+0x445/0x970 fs/hfsplus/bfind.c:195 hfsplus_find_attr+0x30c/0x390 __hfsplus_getxattr+0x376/0xe40 fs/hfsplus/xattr.c:522 hfsplus_getxattr+0x123/0x1e0 fs/hfsplus/xattr.c:590 hfsplus_security_getxattr+0x53/0x60 fs/hfsplus/xattr_security.c:20 vfs_getxattr_alloc+0x77a/0xc10 fs/xattr.c:394 ima_read_xattr+0x51/0xd0 security/integrity/ima/ima_appraise.c:231 process_measurement+0x1c17/0x36e0 security/integrity/ima/ima_main.c:326 ima_file_check+0xb3/0x100 security/integrity/ima/ima_main.c:543 do_open fs/namei.c:3641 [inline] path_openat+0x4c36/0x5a00 fs/namei.c:3796 do_filp_open+0x20d/0x590 fs/namei.c:3823 do_sys_openat2+0x1bf/0x2f0 fs/open.c:1422 do_sys_open fs/open.c:1437 [inline] __do_compat_sys_openat fs/open.c:1497 [inline] __se_compat_sys_openat fs/open.c:1495 [inline] __ia32_compat_sys_openat+0x298/0x300 fs/open.c:1495 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 do_fast_syscall_32+0x37/0x80 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 Uninit was created at: slab_post_alloc_hook+0x12f/0xb70 mm/slab.h:767 slab_alloc_node mm/slub.c:3478 [inline] __kmem_cache_alloc_node+0x536/0x8d0 mm/slub.c:3517 __do_kmalloc_node mm/slab_common.c:1022 [inline] __kmalloc+0x121/0x3c0 mm/slab_common.c:1036 kmalloc include/linux/slab.h:603 [inline] hfsplus_find_init+0x91/0x250 fs/hfsplus/bfind.c:21 __hfsplus_getxattr+0x2c6/0xe40 fs/hfsplus/xattr.c:516 hfsplus_getxattr+0x123/0x1e0 fs/hfsplus/xattr.c:590 hfsplus_security_getxattr+0x53/0x60 fs/hfsplus/xattr_security.c:20 vfs_getxattr_alloc+0x77a/0xc10 fs/xattr.c:394 ima_read_xattr+0x51/0xd0 security/integrity/ima/ima_appraise.c:231 process_measurement+0x1c17/0x36e0 security/integrity/ima/ima_main.c:326 ima_file_check+0xb3/0x100 security/integrity/ima/ima_main.c:543 do_open fs/namei.c:3641 [inline] path_openat+0x4c36/0x5a00 fs/namei.c:3796 do_filp_open+0x20d/0x590 fs/namei.c:3823 do_sys_openat2+0x1bf/0x2f0 fs/open.c:1422 do_sys_open fs/open.c:1437 [inline] __do_compat_sys_openat fs/open.c:1497 [inline] __se_compat_sys_openat fs/open.c:1495 [inline] __ia32_compat_sys_openat+0x298/0x300 fs/open.c:1495 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 do_fast_syscall_32+0x37/0x80 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 CPU: 1 PID: 9177 Comm: syz-executor.5 Not tainted 6.6.0-rc5-syzkaller-00250-g70f8c6f8f880 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 =====================================================