loop0: detected capacity change from 0 to 1024 hfsplus: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4019 at fs/hfsplus/bnode.c:584 hfsplus_bnode_create+0x428/0x4ec fs/hfsplus/bnode.c:583 Modules linked in: CPU: 0 PID: 4019 Comm: syz-executor129 Not tainted 5.15.178-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : hfsplus_bnode_create+0x428/0x4ec fs/hfsplus/bnode.c:583 lr : hfsplus_bnode_create+0x428/0x4ec fs/hfsplus/bnode.c:583 sp : ffff80001d1a7270 x29: ffff80001d1a7280 x28: ffff0000dd5ee0f8 x27: ffff0000dd5ee000 x26: 00000000000000f8 x25: dfff800000000000 x24: 0000000000000040 x23: 0000000000000000 x22: ffff0000cade20e0 x21: ffff0000cade2000 x20: 0000000000000000 x19: ffff0000c0fdfc00 x18: 0000000000000001 x17: 0000000000000000 x16: ffff800011b4e3fc x15: 00000000ffffffff x14: ffff0000da8d8000 x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : 1ba1da2391716500 x8 : 1ba1da2391716500 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001d1a69d8 x4 : ffff800014c50660 x3 : ffff80000aa0f0fc x2 : ffff0001b4175d10 x1 : 0000000100000000 x0 : 0000000000000023 Call trace: hfsplus_bnode_create+0x428/0x4ec fs/hfsplus/bnode.c:583 hfsplus_bmap_alloc+0x5a4/0x698 fs/hfsplus/btree.c:414 hfs_bnode_split+0xcc/0xd88 fs/hfsplus/brec.c:245 hfsplus_brec_insert+0x2d4/0xaa0 fs/hfsplus/brec.c:100 hfsplus_create_cat+0xa68/0x1330 fs/hfsplus/catalog.c:308 hfsplus_mknod+0x14c/0x268 fs/hfsplus/dir.c:494 hfsplus_mkdir+0x38/0x4c fs/hfsplus/dir.c:529 vfs_mkdir+0x334/0x4e4 fs/namei.c:4065 do_mkdirat+0x20c/0x610 fs/namei.c:4090 __do_sys_mkdirat fs/namei.c:4105 [inline] __se_sys_mkdirat fs/namei.c:4103 [inline] __arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4103 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 17294 hardirqs last enabled at (17293): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257 hardirqs last disabled at (17294): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (17290): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (17290): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (17283): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (17283): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (17283): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (17283): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace 347291d6afbef2ec ]--- hfsplus: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 4019 at fs/hfsplus/bnode.c:584 hfsplus_bnode_create+0x428/0x4ec fs/hfsplus/bnode.c:583 Modules linked in: CPU: 1 PID: 4019 Comm: syz-executor129 Tainted: G W 5.15.178-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : hfsplus_bnode_create+0x428/0x4ec fs/hfsplus/bnode.c:583 lr : hfsplus_bnode_create+0x428/0x4ec fs/hfsplus/bnode.c:583 sp : ffff80001d1a72b0 x29: ffff80001d1a72c0 x28: ffff0000dd5ee1a2 x27: ffff0000dd5ee000 x26: 00000000000001a2 x25: dfff800000000000 x24: 0000000000000000 x23: 0000000000000000 x22: ffff0000cade20e0 x21: ffff0000cade2000 x20: 0000000000000000 x19: ffff0000c0fdfc00 x18: 0000000000000001 x17: 0000000000000000 x16: ffff800011b4e3fc x15: 00000000ffffffff x14: ffff0000da8d8000 x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : 1ba1da2391716500 x8 : 1ba1da2391716500 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001d1a6a18 x4 : ffff800014c50660 x3 : ffff80000aa0f0fc x2 : ffff0001b4196d10 x1 : 0000000100000000 x0 : 0000000000000023 Call trace: hfsplus_bnode_create+0x428/0x4ec fs/hfsplus/bnode.c:583 hfsplus_bmap_alloc+0x5a4/0x698 fs/hfsplus/btree.c:414 hfs_btree_inc_height+0xf8/0xa60 fs/hfsplus/brec.c:475 hfsplus_brec_insert+0x594/0xaa0 fs/hfsplus/brec.c:148 hfsplus_create_cat+0xa68/0x1330 fs/hfsplus/catalog.c:308 hfsplus_mknod+0x14c/0x268 fs/hfsplus/dir.c:494 hfsplus_mkdir+0x38/0x4c fs/hfsplus/dir.c:529 vfs_mkdir+0x334/0x4e4 fs/namei.c:4065 do_mkdirat+0x20c/0x610 fs/namei.c:4090 __do_sys_mkdirat fs/namei.c:4105 [inline] __se_sys_mkdirat fs/namei.c:4103 [inline] __arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4103 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 17402 hardirqs last enabled at (17401): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257 hardirqs last disabled at (17402): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (17320): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (17320): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (17297): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (17297): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (17297): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (17297): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace 347291d6afbef2ed ]--- ------------[ cut here ]------------ kernel BUG at fs/hfsplus/bnode.c:631! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 4019 Comm: syz-executor129 Tainted: G W 5.15.178-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : hfsplus_bnode_put+0x588/0x594 fs/hfsplus/bnode.c:631 lr : hfsplus_bnode_put+0x588/0x594 fs/hfsplus/bnode.c:631 sp : ffff80001d1a73c0 x29: ffff80001d1a73c0 x28: dfff800000000000 x27: ffff700003a34e90 x26: 1fffe000195bc403 x25: ffff0000cade2000 x24: 1fffe000181fbf80 x23: dfff800000000000 x22: ffff0000c0fdfc00 x21: ffff0000c0fdfc80 x20: 0000000000000000 x19: ffff0000c0fdfc00 x18: 0000000000000001 x17: 0000000000000000 x16: ffff80000824ec08 x15: 00000000ffffffff x14: 1ffff0000296e06c x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000da8d8000 x8 : ffff800008fc7318 x7 : ffff80000abdcac8 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800008fc6dec x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: hfsplus_bnode_put+0x588/0x594 fs/hfsplus/bnode.c:631 hfs_btree_inc_height+0x4fc/0xa60 fs/hfsplus/brec.c:530 hfsplus_brec_insert+0x594/0xaa0 fs/hfsplus/brec.c:148 hfsplus_create_cat+0xa68/0x1330 fs/hfsplus/catalog.c:308 hfsplus_mknod+0x14c/0x268 fs/hfsplus/dir.c:494 hfsplus_mkdir+0x38/0x4c fs/hfsplus/dir.c:529 vfs_mkdir+0x334/0x4e4 fs/namei.c:4065 do_mkdirat+0x20c/0x610 fs/namei.c:4090 __do_sys_mkdirat fs/namei.c:4105 [inline] __se_sys_mkdirat fs/namei.c:4103 [inline] __arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4103 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Code: aa1403e0 97e4389e 17ffff77 97d3f465 (d4210000) ---[ end trace 347291d6afbef2ee ]---