hfsplus: trying to free free bnode 0(1) syzkaller0: entered allmulticast mode hfsplus: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 2 PID: 5702 at fs/hfsplus/bnode.c:573 hfsplus_bnode_create+0x14c/0x530 fs/hfsplus/bnode.c:573 Modules linked in: CPU: 2 PID: 5702 Comm: syz-executor.0 Not tainted 6.10.0-rc3-syzkaller-00044-g2ccbdf43d5e7 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:hfsplus_bnode_create+0x14c/0x530 fs/hfsplus/bnode.c:573 Code: 30 22 ff 45 39 fc 75 9e e8 c1 35 22 ff 4c 89 f7 e8 99 f2 7f 08 e8 b4 35 22 ff 44 89 e6 48 c7 c7 c0 c4 48 8b e8 75 a4 02 ff 90 <0f> 0b 90 e8 9c 35 22 ff 48 89 d8 48 83 c4 18 5b 5d 41 5c 41 5d 41 RSP: 0018:ffffc900035570c0 EFLAGS: 00010286 RAX: 0000000000000023 RBX: ffff8880244a0000 RCX: ffffc900058d3000 RDX: 0000000000000000 RSI: ffffffff816ef706 RDI: 0000000000000005 RBP: ffff88804b700000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000004 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff88804b7000e0 R15: 0000000000000000 FS: 00007fcb5d04d6c0(0000) GS:ffff88806b200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1168038d58 CR3: 000000004b6b6000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfsplus_bmap_alloc+0x72c/0x830 fs/hfsplus/btree.c:415 hfs_btree_inc_height.isra.0+0x100/0x8c0 fs/hfsplus/brec.c:475 hfsplus_brec_insert+0xa02/0xc50 fs/hfsplus/brec.c:75 hfsplus_create_attr+0x3d0/0x4a0 fs/hfsplus/attributes.c:252 __hfsplus_setxattr+0x519/0x2180 fs/hfsplus/xattr.c:345 hfsplus_setxattr+0x10c/0x180 fs/hfsplus/xattr.c:432 __vfs_setxattr+0x173/0x1e0 fs/xattr.c:200 __vfs_setxattr_noperm+0x127/0x660 fs/xattr.c:234 __vfs_setxattr_locked+0x182/0x260 fs/xattr.c:295 vfs_setxattr+0x146/0x350 fs/xattr.c:321 do_setxattr+0x146/0x170 fs/xattr.c:629 setxattr+0x15d/0x180 fs/xattr.c:652 path_setxattr+0x179/0x1e0 fs/xattr.c:671 __do_sys_setxattr fs/xattr.c:687 [inline] __se_sys_setxattr fs/xattr.c:683 [inline] __x64_sys_setxattr+0xc4/0x160 fs/xattr.c:683 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fcb5c27cee9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fcb5d04d0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007fcb5c3abf80 RCX: 00007fcb5c27cee9 RDX: 0000000020000280 RSI: 0000000020000040 RDI: 0000000020000000 RBP: 00007fcb5c2c949e R08: 0000000000000001 R09: 0000000000000000 R10: 00000000000000d0 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fcb5c3abf80 R15: 00007ffce9e82158