loop0: 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.0/5485 CPU: 0 PID: 5485 Comm: syz-executor.0 Not tainted 6.8.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2e0 lib/dump_stack.c:106 print_report+0xe6/0x540 mm/kasan/report.c:491 kasan_report+0x142/0x180 mm/kasan/report.c:601 kasan_check_range+0x282/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/0xde0 fs/hfsplus/brec.c:128 hfsplus_create_attr+0x4a2/0x640 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+0x2b1/0x480 security/security.c:1752 hfsplus_fill_super+0x14d7/0x1ca0 fs/hfsplus/super.c:567 mount_bdev+0x20a/0x2d0 fs/super.c:1663 legacy_get_tree+0xee/0x190 fs/fs_context.c:662 vfs_get_tree+0x90/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_64+0xf9/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f60bfe7e4aa 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:00007f60c0b31ef8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f60c0b31f80 RCX: 00007f60bfe7e4aa RDX: 0000000020000040 RSI: 0000000020000240 RDI: 00007f60c0b31f40 RBP: 0000000020000040 R08: 00007f60c0b31f80 R09: 0000000000800000 R10: 0000000000800000 R11: 0000000000000246 R12: 0000000020000240 R13: 00007f60c0b31f40 R14: 00000000000006cb R15: 00000000200003c0 ==================================================================