loop0: detected capacity change from 0 to 64 hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 6167 at fs/hfs/bnode.c:422 hfs_bnode_create+0x430/0x4e4 fs/hfs/bnode.c:421 Modules linked in: CPU: 1 PID: 6167 Comm: syz-executor363 Not tainted 6.8.0-rc7-syzkaller-g707081b61156 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : hfs_bnode_create+0x430/0x4e4 fs/hfs/bnode.c:421 lr : hfs_bnode_create+0x430/0x4e4 fs/hfs/bnode.c:421 sp : ffff800097817550 x29: ffff800097817560 x28: dfff800000000000 x27: dfff800000000000 x26: 0000000000000100 x25: ffff0000c1d8bf88 x24: 0000000000000000 x23: 0000000000000000 x22: ffff0000d65fc0e0 x21: ffff0000d65fc000 x20: 0000000000000000 x19: ffff0000c1d8bf00 x18: ffff800097816b80 x17: 0000000000000000 x16: ffff80008ad6b09c x15: 0000000000000001 x14: 1ffff00012f02e00 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000001 x10: 0000000000ff0100 x9 : 40d8a03739aa5900 x8 : 40d8a03739aa5900 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800097816e58 x4 : ffff80008ed822c0 x3 : ffff800082f248d0 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 000000000000001f Call trace: hfs_bnode_create+0x430/0x4e4 fs/hfs/bnode.c:421 hfs_bmap_alloc+0x5a4/0x66c fs/hfs/btree.c:291 hfs_bnode_split+0xcc/0xd88 fs/hfsplus/brec.c:245 hfs_brec_insert+0x2bc/0x97c fs/hfs/brec.c:102 hfs_cat_create+0x340/0x82c fs/hfs/catalog.c:118 hfs_mkdir+0x70/0xe4 fs/hfs/dir.c:232 vfs_mkdir+0x27c/0x3e4 fs/namei.c:4126 do_mkdirat+0x248/0x574 fs/namei.c:4149 __do_sys_mkdirat fs/namei.c:4164 [inline] __se_sys_mkdirat fs/namei.c:4162 [inline] __arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4162 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:133 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 12964 hardirqs last enabled at (12963): [] __up_console_sem kernel/printk/printk.c:341 [inline] hardirqs last enabled at (12963): [] __console_unlock kernel/printk/printk.c:2706 [inline] hardirqs last enabled at (12963): [] console_unlock+0x17c/0x3d4 kernel/printk/printk.c:3038 hardirqs last disabled at (12964): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (12852): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (12850): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernel BUG at fs/hfs/bnode.c:467! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 6167 Comm: syz-executor363 Tainted: G W 6.8.0-rc7-syzkaller-g707081b61156 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : hfs_bnode_put+0x318/0x324 fs/hfs/bnode.c:467 lr : hfs_bnode_put+0x318/0x324 fs/hfs/bnode.c:467 sp : ffff8000978177f0 x29: ffff8000978177f0 x28: 0000000000000036 x27: ffff0000c1d8bf00 x26: ffff0000c1d8bf00 x25: ffff0000d65fc000 x24: 1fffe000183b17e0 x23: dfff800000000000 x22: ffff0000d65fc000 x21: ffff0000c1d8bf80 x20: 0000000000000000 x19: ffff0000c1d8bf00 x18: ffff800097816b80 x17: 0000000000000000 x16: ffff80008aca6b80 x15: 0000000000000001 x14: 1fffe000183b17f0 x13: 0000000000000000 x12: 0000000000000000 x11: ffff6000183b17f1 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000c4f39e00 x7 : 0000000000000008 x6 : 0000100000000025 x5 : ffff0000d0e97e4d x4 : ffff00015f1ac688 x3 : ffff80008117032c x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: hfs_bnode_put+0x318/0x324 fs/hfs/bnode.c:467 hfs_brec_insert+0x648/0x97c fs/hfs/brec.c:162 hfs_cat_create+0x340/0x82c fs/hfs/catalog.c:118 hfs_mkdir+0x70/0xe4 fs/hfs/dir.c:232 vfs_mkdir+0x27c/0x3e4 fs/namei.c:4126 do_mkdirat+0x248/0x574 fs/namei.c:4149 __do_sys_mkdirat fs/namei.c:4164 [inline] __se_sys_mkdirat fs/namei.c:4162 [inline] __arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4162 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:133 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 Code: aa1503e0 97e23433 17ffffd5 97cee40c (d4210000) ---[ end trace 0000000000000000 ]---