audit: type=1800 audit(1674524184.115:7830): pid=26503 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.2" name="bus" dev="loop2" ino=25 res=0 ------------[ cut here ]------------ kernel BUG at fs/hfsplus/xattr.c:175! audit: type=1800 audit(1674524184.175:7831): pid=26507 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.2" name="bus" dev="loop2" ino=25 res=0 invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 26503 Comm: syz-executor.2 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:hfsplus_create_attributes_file fs/hfsplus/xattr.c:175 [inline] RIP: 0010:__hfsplus_setxattr+0x1a43/0x1cc0 fs/hfsplus/xattr.c:332 Code: 6d 9b ff e9 68 ec ff ff e8 5a 90 65 ff e8 ff 47 03 ff e9 b9 fa ff ff e8 4b 90 65 ff 4c 8d 7b ff e9 fb fa ff ff e8 3d 90 65 ff <0f> 0b 48 8b 7c 24 40 e8 21 6d 9b ff e9 99 f0 ff ff e8 17 6d 9b ff RSP: 0018:ffff88804428f608 EFLAGS: 00010212 RAX: 0000000000040000 RBX: ffff8880a9a660c0 RCX: ffffc9000dd42000 RDX: 0000000000000dd7 RSI: ffffffff81fcf533 RDI: 0000000000000007 RBP: ffff8880537ce218 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000007 R11: 0000000000000000 R12: 0000000000010000 R13: ffff8880b027b6c0 R14: ffff88804428f6c0 R15: ffff88809edac040 FS: 00007f24007a6700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020005102 CR3: 0000000090583000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfsplus_setxattr+0x94/0xd0 fs/hfsplus/xattr.c:435 __vfs_setxattr+0x10e/0x170 fs/xattr.c:149 __vfs_setxattr_noperm+0x11a/0x420 fs/xattr.c:180 __vfs_setxattr_locked+0x176/0x250 fs/xattr.c:238 vfs_setxattr+0xe5/0x270 fs/xattr.c:255 setxattr+0x23d/0x330 fs/xattr.c:520 path_setxattr+0x170/0x190 fs/xattr.c:539 __do_sys_lsetxattr fs/xattr.c:561 [inline] __se_sys_lsetxattr fs/xattr.c:557 [inline] __x64_sys_lsetxattr+0xbd/0x150 fs/xattr.c:557 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f24022340c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f24007a6168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd RAX: ffffffffffffffda RBX: 00007f2402353f80 RCX: 00007f24022340c9 RDX: 0000000020000280 RSI: 00000000200001c0 RDI: 0000000020000180 RBP: 00007f240228fae9 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000016 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdccdddf0f R14: 00007f24007a6300 R15: 0000000000022000 Modules linked in: BTRFS warning (device ): duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor.0 (26495) BTRFS info (device loop4): using free space tree BTRFS warning (device ): duplicate device /dev/loop0 devid 1 generation 8 scanned by systemd-udevd (26516) BTRFS info (device loop4): has skinny extents ---[ end trace 8a9fc145b5166d0e ]--- BTRFS warning (device ): duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor.5 (26511) RIP: 0010:hfsplus_create_attributes_file fs/hfsplus/xattr.c:175 [inline] RIP: 0010:__hfsplus_setxattr+0x1a43/0x1cc0 fs/hfsplus/xattr.c:332 Code: 6d 9b ff e9 68 ec ff ff e8 5a 90 65 ff e8 ff 47 03 ff e9 b9 fa ff ff e8 4b 90 65 ff 4c 8d 7b ff e9 fb fa ff ff e8 3d 90 65 ff <0f> 0b 48 8b 7c 24 40 e8 21 6d 9b ff e9 99 f0 ff ff e8 17 6d 9b ff BTRFS warning (device ): duplicate device /dev/loop5 devid 1 generation 8 scanned by systemd-udevd (26513) RSP: 0018:ffff88804428f608 EFLAGS: 00010212 RAX: 0000000000040000 RBX: ffff8880a9a660c0 RCX: ffffc9000dd42000 RDX: 0000000000000dd7 RSI: ffffffff81fcf533 RDI: 0000000000000007 RBP: ffff8880537ce218 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000007 R11: 0000000000000000 R12: 0000000000010000 R13: ffff8880b027b6c0 R14: ffff88804428f6c0 R15: ffff88809edac040 FS: 00007f24007a6700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555557130708 CR3: 0000000090583000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400