loop0: detected capacity change from 0 to 64 hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6984 at fs/hfs/bnode.c:422 hfs_bnode_create+0x14c/0x530 fs/hfs/bnode.c:422 Modules linked in: CPU: 0 PID: 6984 Comm: syz-executor.0 Not tainted 6.9.0-rc2-syzkaller-00387-g6c6e47d69d82 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:hfs_bnode_create+0x14c/0x530 fs/hfs/bnode.c:422 Code: 34 21 ff 45 39 fc 75 9e e8 61 3a 21 ff 4c 89 f7 e8 39 c1 76 08 e8 54 3a 21 ff 44 89 e6 48 c7 c7 c0 c2 48 8b e8 95 dd 01 ff 90 <0f> 0b 90 e8 3c 3a 21 ff 48 89 d8 48 83 c4 18 5b 5d 41 5c 41 5d 41 RSP: 0018:ffffc90003e373f8 EFLAGS: 00010286 RAX: 000000000000001f RBX: ffff8880296d7800 RCX: ffffc90005942000 RDX: 0000000000000000 RSI: ffffffff816eb676 RDI: 0000000000000005 RBP: ffff888051176000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000003 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff8880511760e0 R15: 0000000000000000 FS: 00007fa2b01726c0(0000) GS:ffff88806b000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30926000 CR3: 000000001ee58000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfs_bmap_alloc+0x75c/0x880 fs/hfs/btree.c:291 hfs_bnode_split+0xe5/0xdd0 fs/hfsplus/brec.c:245 hfs_brec_insert+0x2da/0xb90 fs/hfs/brec.c:102 hfs_cat_create+0x359/0x810 fs/hfs/catalog.c:118 hfs_create+0x6b/0xf0 fs/hfs/dir.c:202 lookup_open.isra.0+0x10a1/0x13c0 fs/namei.c:3497 open_last_lookups fs/namei.c:3566 [inline] path_openat+0x92f/0x2990 fs/namei.c:3796 do_filp_open+0x1dc/0x430 fs/namei.c:3826 do_sys_openat2+0x17a/0x1e0 fs/open.c:1406 do_sys_open fs/open.c:1421 [inline] __do_sys_openat fs/open.c:1437 [inline] __se_sys_openat fs/open.c:1432 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1432 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x72/0x7a RIP: 0033:0x7fa2af47de69 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:00007fa2b01720c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fa2af5abf80 RCX: 00007fa2af47de69 RDX: 000000000000275a RSI: 00000000200001c0 RDI: ffffffffffffff9c RBP: 00007fa2af4ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fa2af5abf80 R15: 00007ffd2e92c1d8