memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=5036 'syz-executor419' loop0: detected capacity change from 0 to 1024 hfsplus: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 5036 at fs/hfsplus/bnode.c:573 hfsplus_bnode_create+0x14b/0x530 fs/hfsplus/bnode.c:572 Modules linked in: CPU: 1 PID: 5036 Comm: syz-executor419 Not tainted 6.5.0-rc5-next-20230809-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:hfsplus_bnode_create+0x14b/0x530 fs/hfsplus/bnode.c:573 Code: 0b 7f 2f ff 45 39 fc 75 9e e8 11 84 2f ff 4c 89 f7 e8 d9 b9 e5 07 e8 04 84 2f ff 44 89 e6 48 c7 c7 80 8d 87 8a e8 e5 b7 12 ff <0f> 0b e8 ee 83 2f ff 48 89 d8 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e RSP: 0018:ffffc9000390f1a0 EFLAGS: 00010282 RAX: 0000000000000023 RBX: ffff888013697600 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff816b97f2 RDI: 0000000000000005 RBP: ffff888024d94000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff888024d940e0 R15: 0000000000000000 FS: 0000555555ac3380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000006e0388 CR3: 0000000073d3d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfsplus_bmap_alloc+0x728/0x830 fs/hfsplus/btree.c:415 hfs_bnode_split+0xe5/0xdc0 fs/hfsplus/brec.c:245 hfsplus_brec_insert+0x2f7/0xc50 fs/hfsplus/brec.c:100 hfsplus_create_cat+0x50d/0x10a0 fs/hfsplus/catalog.c:292 hfsplus_fill_super+0x16ca/0x1bc0 fs/hfsplus/super.c:560 mount_bdev+0x1f3/0x2e0 fs/super.c:1423 legacy_get_tree+0x109/0x220 fs/fs_context.c:611 vfs_get_tree+0x88/0x350 fs/super.c:1544 do_new_mount fs/namespace.c:3335 [inline] path_mount+0x1492/0x1ed0 fs/namespace.c:3662 do_mount fs/namespace.c:3675 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount fs/namespace.c:3861 [inline] __x64_sys_mount+0x293/0x310 fs/namespace.c:3861 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f24f67ecc3a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc0dffdf58 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ffc0dffdf70 RCX: 00007f24f67ecc3a RDX: 0000000020000040 RSI: 0000000020000080 RDI: 00007ffc0dffdf70 RBP: 0000000000000004 R08: 00007ffc0dffdfb0 R09: 000000000000064b R10: 0000000000208010 R11: 0000000000000286 R12: 0000000000208010 R13: 00007ffc0dffdfb0 R14: 0000000000000003 R15: 0000000000080000