loop0: detected capacity change from 0 to 1024 hfsplus: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 4844 at fs/hfsplus/bnode.c:584 hfsplus_bnode_create+0x404/0x4c8 fs/hfsplus/bnode.c:583 Modules linked in: CPU: 1 PID: 4844 Comm: syz.0.15 Not tainted 5.15.180-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : hfsplus_bnode_create+0x404/0x4c8 fs/hfsplus/bnode.c:583 lr : hfsplus_bnode_create+0x404/0x4c8 fs/hfsplus/bnode.c:583 sp : ffff80001f0f6f70 x29: ffff80001f0f6f80 x28: 0000000000000000 x27: 00000000000000f8 x26: 0000000000000080 x25: dfff800000000000 x24: dfff800000000000 x23: ffff0000e111d0f8 x22: 0000000000000000 x21: ffff0000ea69c000 x20: 0000000000000000 x19: ffff0000cef6b600 x18: 1fffe0003685b38e x17: 1fffe0003685b38e x16: ffff80001119ef40 x15: ffff8000141eec20 x14: ffff0001b42d9c80 x13: 1ffff0000282a06b x12: 0000000000ff0100 x11: 0000000000000000 x10: 0000000000000000 x9 : 6f0ee09deef18b00 x8 : 6f0ee09deef18b00 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000000 x3 : ffff80000a730d84 x2 : ffff0001b42d9d10 x1 : 0000000100000000 x0 : 0000000000000023 Call trace: hfsplus_bnode_create+0x404/0x4c8 fs/hfsplus/bnode.c:583 hfsplus_bmap_alloc+0x534/0x5f8 fs/hfsplus/btree.c:414 hfs_bnode_split+0xc8/0xbb8 fs/hfsplus/brec.c:245 hfsplus_brec_insert+0x2f4/0xaa8 fs/hfsplus/brec.c:100 hfsplus_create_cat+0x80c/0xdd4 fs/hfsplus/catalog.c:308 hfsplus_mknod+0x148/0x258 fs/hfsplus/dir.c:494 hfsplus_create+0x38/0x4c fs/hfsplus/dir.c:523 lookup_open fs/namei.c:3462 [inline] open_last_lookups fs/namei.c:3532 [inline] path_openat+0x1144/0x26e4 fs/namei.c:3739 do_filp_open+0x164/0x330 fs/namei.c:3769 do_sys_openat2+0x128/0x3d8 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __arm64_sys_openat+0x120/0x154 fs/open.c:1280 __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+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 5430 hardirqs last enabled at (5429): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1338 [inline] hardirqs last enabled at (5429): [] finish_lock_switch+0xb0/0x1c4 kernel/sched/core.c:4784 hardirqs last disabled at (5430): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (5424): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (5424): [] handle_softirqs+0xa4c/0xbf0 kernel/softirq.c:586 softirqs last disabled at (5411): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (5411): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (5411): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (5411): [] __irq_exit_rcu+0x240/0x440 kernel/softirq.c:641 ---[ end trace 984495b7222c9001 ]--- hfsplus: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 4844 at fs/hfsplus/bnode.c:584 hfsplus_bnode_create+0x404/0x4c8 fs/hfsplus/bnode.c:583 Modules linked in: CPU: 1 PID: 4844 Comm: syz.0.15 Tainted: G W 5.15.180-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : hfsplus_bnode_create+0x404/0x4c8 fs/hfsplus/bnode.c:583 lr : hfsplus_bnode_create+0x404/0x4c8 fs/hfsplus/bnode.c:583 sp : ffff80001f0f6fd0 x29: ffff80001f0f6fe0 x28: 0000000000000000 x27: 000000000000023c x26: 0000000000000080 x25: dfff800000000000 x24: dfff800000000000 x23: ffff0000e111d23c x22: 0000000000000000 x21: ffff0000ea69c000 x20: 0000000000000000 x19: ffff0000cef6b600 x18: 0000000000000001 x17: 0000000000000000 x16: ffff800008300f58 x15: 00000000ffffffff x14: 0000000000ff0100 x13: 0000000000000001 x12: 0000000000ff0100 x11: 0000000000000000 x10: 0000000000000000 x9 : 6f0ee09deef18b00 x8 : 6f0ee09deef18b00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001f0f68b8 x4 : ffff80001422f280 x3 : ffff800008301068 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000023 Call trace: hfsplus_bnode_create+0x404/0x4c8 fs/hfsplus/bnode.c:583 hfsplus_bmap_alloc+0x534/0x5f8 fs/hfsplus/btree.c:414 hfs_btree_inc_height+0xf8/0x8e0 fs/hfsplus/brec.c:475 hfsplus_brec_insert+0x5c8/0xaa8 fs/hfsplus/brec.c:148 hfsplus_create_cat+0x80c/0xdd4 fs/hfsplus/catalog.c:308 hfsplus_mknod+0x148/0x258 fs/hfsplus/dir.c:494 hfsplus_create+0x38/0x4c fs/hfsplus/dir.c:523 lookup_open fs/namei.c:3462 [inline] open_last_lookups fs/namei.c:3532 [inline] path_openat+0x1144/0x26e4 fs/namei.c:3739 do_filp_open+0x164/0x330 fs/namei.c:3769 do_sys_openat2+0x128/0x3d8 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __arm64_sys_openat+0x120/0x154 fs/open.c:1280 __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+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 5534 hardirqs last enabled at (5533): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257 hardirqs last disabled at (5534): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (5458): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (5458): [] handle_softirqs+0xa4c/0xbf0 kernel/softirq.c:586 softirqs last disabled at (5433): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (5433): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (5433): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (5433): [] __irq_exit_rcu+0x240/0x440 kernel/softirq.c:641 ---[ end trace 984495b7222c9002 ]--- ------------[ cut here ]------------ kernel BUG at fs/hfsplus/bnode.c:631! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 4844 Comm: syz.0.15 Tainted: G W 5.15.180-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : hfsplus_bnode_put+0x590/0x59c fs/hfsplus/bnode.c:631 lr : hfsplus_bnode_put+0x590/0x59c fs/hfsplus/bnode.c:631 sp : ffff80001f0f70c0 x29: ffff80001f0f70c0 x28: ffff0000cef6ee00 x27: dfff800000000000 x26: ffff700003e1ee2c x25: ffff80001f0f7160 x24: ffff0000ea69c000 x23: dfff800000000000 x22: 1fffe00019ded6c0 x21: 0000000000000000 x20: ffff0000cef6b680 x19: ffff0000cef6b600 x18: 0000000000000001 x17: 0000000000000000 x16: ffff8000082d52a4 x15: 00000000ffffffff x14: 0000000000000001 x13: 1ffff0000282a06b x12: 0000000000ff0100 x11: 0000000000000000 x10: 0000000000000000 x9 : ffff800008ebeb38 x8 : ffff0000c97fd1c0 x7 : ffff80000a8f22a4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800008ebe604 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: hfsplus_bnode_put+0x590/0x59c fs/hfsplus/bnode.c:631 hfs_btree_inc_height+0x48c/0x8e0 fs/hfsplus/brec.c:530 hfsplus_brec_insert+0x5c8/0xaa8 fs/hfsplus/brec.c:148 hfsplus_create_cat+0x80c/0xdd4 fs/hfsplus/catalog.c:308 hfsplus_mknod+0x148/0x258 fs/hfsplus/dir.c:494 hfsplus_create+0x38/0x4c fs/hfsplus/dir.c:523 lookup_open fs/namei.c:3462 [inline] open_last_lookups fs/namei.c:3532 [inline] path_openat+0x1144/0x26e4 fs/namei.c:3739 do_filp_open+0x164/0x330 fs/namei.c:3769 do_sys_openat2+0x128/0x3d8 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __arm64_sys_openat+0x120/0x154 fs/open.c:1280 __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+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Code: aa1403e0 97e6367f 17ffff74 97d6e94e (d4210000) ---[ end trace 984495b7222c9003 ]---