loop2: detected capacity change from 0 to 1024 ================================================================== BUG: KASAN: out-of-bounds in hfsplus_bnode_move+0x5f3/0x910 fs/hfsplus/bnode.c:228 Read of size 18446744073709551602 at addr 000508800000104e by task syz-executor.2/32385 CPU: 0 PID: 32385 Comm: syz-executor.2 Not tainted 6.7.0-syzkaller-12829-g125514880ddd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 print_report+0xe6/0x540 mm/kasan/report.c:491 kasan_report+0x142/0x170 mm/kasan/report.c:601 kasan_check_range+0x27e/0x290 mm/kasan/generic.c:189 __asan_memmove+0x29/0x70 mm/kasan/shadow.c:94 hfsplus_bnode_move+0x5f3/0x910 fs/hfsplus/bnode.c:228 hfsplus_brec_insert+0x61c/0xdd0 fs/hfsplus/brec.c:128 hfsplus_create_attr+0x49e/0x630 fs/hfsplus/attributes.c:252 __hfsplus_setxattr+0x6fe/0x22d0 fs/hfsplus/xattr.c:354 hfsplus_initxattrs+0x158/0x220 fs/hfsplus/xattr_security.c:59 security_inode_init_security+0x2a7/0x470 security/security.c:1752 hfsplus_fill_super+0x14d3/0x1c90 fs/hfsplus/super.c:567 mount_bdev+0x206/0x2d0 fs/super.c:1663 legacy_get_tree+0xef/0x190 fs/fs_context.c:662 vfs_get_tree+0x8c/0x2a0 fs/super.c:1784 do_new_mount+0x2be/0xb40 fs/namespace.c:3352 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fd3da07e4aa Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 00 00 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd3dad3eef8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fd3dad3ef80 RCX: 00007fd3da07e4aa RDX: 0000000020000040 RSI: 0000000020000240 RDI: 00007fd3dad3ef40 RBP: 0000000020000040 R08: 00007fd3dad3ef80 R09: 0000000000800000 R10: 0000000000800000 R11: 0000000000000202 R12: 0000000020000240 R13: 00007fd3dad3ef40 R14: 00000000000006cb R15: 00000000200003c0 ==================================================================