autofs4:pid:5159:validate_dev_ioctl: invalid device control module version supplied for cmd(0xc0189374) ================================================================== BUG: KASAN: use-after-free in memcpy_from_page include/linux/highmem.h:393 [inline] BUG: KASAN: use-after-free in hfsplus_bnode_read fs/hfsplus/bnode.c:32 [inline] BUG: KASAN: use-after-free in hfsplus_bnode_read_u16 fs/hfsplus/bnode.c:45 [inline] BUG: KASAN: use-after-free in hfsplus_bnode_dump+0x3f0/0xa50 fs/hfsplus/bnode.c:305 Read of size 2 at addr ffff00000000103e by task syz-executor.2/5159 CPU: 0 PID: 5159 Comm: syz-executor.2 Not tainted 6.1.86-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:284 [inline] print_report+0x174/0x4c0 mm/kasan/report.c:395 kasan_report+0xd4/0x130 mm/kasan/report.c:495 kasan_check_range+0x264/0x2a4 mm/kasan/generic.c:189 memcpy+0x48/0x90 mm/kasan/shadow.c:65 memcpy_from_page include/linux/highmem.h:393 [inline] hfsplus_bnode_read fs/hfsplus/bnode.c:32 [inline] hfsplus_bnode_read_u16 fs/hfsplus/bnode.c:45 [inline] hfsplus_bnode_dump+0x3f0/0xa50 fs/hfsplus/bnode.c:305 hfsplus_brec_remove+0x3d0/0x4a4 fs/hfsplus/brec.c:229 __hfsplus_delete_attr+0x1dc/0x3e4 fs/hfsplus/attributes.c:299 hfsplus_delete_attr+0x2e4/0x41c fs/hfsplus/attributes.c:345 hfsplus_removexattr fs/hfsplus/xattr.c:794 [inline] __hfsplus_setxattr+0xa68/0x1d10 fs/hfsplus/xattr.c:275 hfsplus_setxattr+0xb4/0xec fs/hfsplus/xattr.c:434 hfsplus_user_setxattr+0x54/0x6c fs/hfsplus/xattr_user.c:30 __vfs_removexattr+0x370/0x38c fs/xattr.c:479 __vfs_removexattr_locked+0x1d8/0x380 fs/xattr.c:514 vfs_removexattr+0xe0/0x23c fs/xattr.c:536 removexattr fs/xattr.c:878 [inline] path_removexattr+0x1ec/0x2ec fs/xattr.c:892 __do_sys_removexattr fs/xattr.c:906 [inline] __se_sys_removexattr fs/xattr.c:903 [inline] __arm64_sys_removexattr+0x60/0x78 fs/xattr.c:903 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 The buggy address belongs to the physical page: page:0000000016b2c29a refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x40001 flags: 0x1ffe00000000000(node=0|zone=0|lastcpupid=0xfff) raw: 01ffe00000000000 fffffc0000000048 fffffc0000000048 0000000000000000 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff000000000f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff000000000f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff000000001000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff000000001080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff000000001100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ================================================================== Unable to handle kernel paging request at virtual address ffff60069818857f KASAN: maybe wild-memory-access in range [0xffff0034c0c42bf8-0xffff0034c0c42bff] Mem abort info: ESR = 0x0000000096000005 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x05: level 1 translation fault Data abort info: ISV = 0, ISS = 0x00000005 CM = 0, WnR = 0 swapper pgtable: 4k pages, 48-bit VAs, pgdp=00000001b19d8000 [ffff60069818857f] pgd=000000023c4ef003, p4d=000000023c4ef003, pud=0000000000000000 Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 5159 Comm: syz-executor.2 Tainted: G B 6.1.86-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : bytes_is_nonzero mm/kasan/generic.c:85 [inline] pc : memory_is_nonzero mm/kasan/generic.c:102 [inline] pc : memory_is_poisoned_n mm/kasan/generic.c:128 [inline] pc : memory_is_poisoned mm/kasan/generic.c:159 [inline] pc : check_region_inline mm/kasan/generic.c:180 [inline] pc : kasan_check_range+0x64/0x2a4 mm/kasan/generic.c:189 lr : memcpy+0x48/0x90 mm/kasan/shadow.c:65 sp : ffff80001f376f60 x29: ffff80001f376f60 x28: 0000000000000002 x27: fffffbffff000000 x26: 0000000000000000 x25: ffff0000d3031078 x24: ffff0000d303101a x23: 00000000ffffeffe x22: ffff800009084674 x21: ffff80001f377050 x20: ffff0034c0c42bfe x19: 0000000000000002 x18: 1fffe0003686b376 x17: ffff80001583d000 x16: ffff8000120a4ec0 x15: 0000000000000000 x14: 00000000000000ff x13: ffff0000cc045340 x12: 0000000000000001 x11: 1fffe0069818857f x10: 1fffe0069818857f x9 : ffffffffffffffff x8 : ffff60069818857f x7 : 64206b636f6c2067 x6 : 0000000000000000 x5 : ffff80001f377052 x4 : ffff000000000042 x3 : ffff800009084674 x2 : 0000000000000000 x1 : 0000000000000002 x0 : ffff0034c0c42bfe Call trace: bytes_is_nonzero mm/kasan/generic.c:84 [inline] memory_is_nonzero mm/kasan/generic.c:102 [inline] memory_is_poisoned_n mm/kasan/generic.c:128 [inline] memory_is_poisoned mm/kasan/generic.c:159 [inline] check_region_inline mm/kasan/generic.c:180 [inline] kasan_check_range+0x64/0x2a4 mm/kasan/generic.c:189 memcpy+0x48/0x90 mm/kasan/shadow.c:65 memcpy_from_page include/linux/highmem.h:393 [inline] hfsplus_bnode_read fs/hfsplus/bnode.c:32 [inline] hfsplus_bnode_read_u16 fs/hfsplus/bnode.c:45 [inline] hfsplus_bnode_dump+0x3f0/0xa50 fs/hfsplus/bnode.c:305 hfsplus_brec_remove+0x3d0/0x4a4 fs/hfsplus/brec.c:229 __hfsplus_delete_attr+0x1dc/0x3e4 fs/hfsplus/attributes.c:299 hfsplus_delete_attr+0x2e4/0x41c fs/hfsplus/attributes.c:345 hfsplus_removexattr fs/hfsplus/xattr.c:794 [inline] __hfsplus_setxattr+0xa68/0x1d10 fs/hfsplus/xattr.c:275 hfsplus_setxattr+0xb4/0xec fs/hfsplus/xattr.c:434 hfsplus_user_setxattr+0x54/0x6c fs/hfsplus/xattr_user.c:30 __vfs_removexattr+0x370/0x38c fs/xattr.c:479 __vfs_removexattr_locked+0x1d8/0x380 fs/xattr.c:514 vfs_removexattr+0xe0/0x23c fs/xattr.c:536 removexattr fs/xattr.c:878 [inline] path_removexattr+0x1ec/0x2ec fs/xattr.c:892 __do_sys_removexattr fs/xattr.c:906 [inline] __se_sys_removexattr fs/xattr.c:903 [inline] __arm64_sys_removexattr+0x60/0x78 fs/xattr.c:903 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Code: 5400014c b4000b8c aa2a03e9 8b0b0129 (3940010a) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 5400014c b.gt 0x28 4: b4000b8c cbz x12, 0x174 8: aa2a03e9 mvn x9, x10 c: 8b0b0129 add x9, x9, x11 * 10: 3940010a ldrb w10, [x8] <-- trapping instruction