hfsplus: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 7390 at fs/hfsplus/bnode.c:579 hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:578 Modules linked in: CPU: 1 UID: 0 PID: 7390 Comm: syz.4.167 Not tainted 6.16.0-rc5-syzkaller-gec4801305969 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:578 lr : hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:578 sp : ffff8000a1976dd0 x29: ffff8000a1976de0 x28: 1ffff0001432edc8 x27: dfff800000000000 x26: 0000000000000000 x25: 0000000000000080 x24: 0000000000000000 x23: ffff0000f6eea0f8 x22: 0000000000000000 x21: 0000000000000000 x20: ffff0000cf832000 x19: ffff0000d0837300 x18: 00000000ffffffff x17: ffff800093364000 x16: ffff80008aefc458 x15: 0000000000000001 x14: 1ffff0001432ed30 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000001874c x9 : cd68ec1e3e4c3f00 x8 : cd68ec1e3e4c3f00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000a1976758 x4 : ffff80008f766be0 x3 : ffff8000807bd1d8 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000023 Call trace: hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:578 (P) hfsplus_bmap_alloc+0x43c/0x4cc fs/hfsplus/btree.c:415 hfs_bnode_split+0xc8/0xbb8 fs/hfsplus/brec.c:245 hfsplus_brec_insert+0x2f4/0xaa8 fs/hfsplus/brec.c:100 hfsplus_create_cat+0x31c/0xdc8 fs/hfsplus/catalog.c:292 hfsplus_fill_super+0xfbc/0x1714 fs/hfsplus/super.c:561 get_tree_bdev_flags+0x360/0x414 fs/super.c:1681 get_tree_bdev+0x2c/0x3c fs/super.c:1704 hfsplus_get_tree+0x28/0x38 fs/hfsplus/super.c:640 vfs_get_tree+0x90/0x28c fs/super.c:1804 do_new_mount+0x228/0x814 fs/namespace.c:3902 path_mount+0x5b4/0xde0 fs/namespace.c:4226 do_mount fs/namespace.c:4239 [inline] __do_sys_mount fs/namespace.c:4450 [inline] __se_sys_mount fs/namespace.c:4427 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4427 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 2446 hardirqs last enabled at (2445): [] __up_console_sem kernel/printk/printk.c:344 [inline] hardirqs last enabled at (2445): [] __console_unlock+0x70/0xc4 kernel/printk/printk.c:2885 hardirqs last disabled at (2446): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (2162): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (2162): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (2059): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]--- hfsplus: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 7390 at fs/hfsplus/bnode.c:579 hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:578 Modules linked in: CPU: 1 UID: 0 PID: 7390 Comm: syz.4.167 Tainted: G W 6.16.0-rc5-syzkaller-gec4801305969 #0 PREEMPT Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:578 lr : hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:578 sp : ffff8000a1976e30 x29: ffff8000a1976e40 x28: 1ffff0001432edd4 x27: dfff800000000000 x26: 0000000000000000 x25: 0000000000000080 x24: 0000000000000000 x23: ffff0000f6eea222 x22: 0000000000000000 x21: 0000000000000000 x20: ffff0000cf832000 x19: ffff0000d0837300 x18: 00000000ffffffff x17: 0000000000000000 x16: ffff80008aefc458 x15: 0000000000000001 x14: 1ffff0001432ed3c x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 0000000000038a00 x9 : cd68ec1e3e4c3f00 x8 : cd68ec1e3e4c3f00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000a19767b8 x4 : ffff80008f766be0 x3 : ffff8000807bd1d8 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000023 Call trace: hfsplus_bnode_create+0x384/0x430 fs/hfsplus/bnode.c:578 (P) hfsplus_bmap_alloc+0x43c/0x4cc fs/hfsplus/btree.c:415 hfs_btree_inc_height+0xf8/0x8e0 fs/hfsplus/brec.c:475 hfsplus_brec_insert+0x5c8/0xaa8 fs/hfsplus/brec.c:148 hfsplus_create_cat+0x31c/0xdc8 fs/hfsplus/catalog.c:292 hfsplus_fill_super+0xfbc/0x1714 fs/hfsplus/super.c:561 get_tree_bdev_flags+0x360/0x414 fs/super.c:1681 get_tree_bdev+0x2c/0x3c fs/super.c:1704 hfsplus_get_tree+0x28/0x38 fs/hfsplus/super.c:640 vfs_get_tree+0x90/0x28c fs/super.c:1804 do_new_mount+0x228/0x814 fs/namespace.c:3902 path_mount+0x5b4/0xde0 fs/namespace.c:4226 do_mount fs/namespace.c:4239 [inline] __do_sys_mount fs/namespace.c:4450 [inline] __se_sys_mount fs/namespace.c:4427 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4427 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 2534 hardirqs last enabled at (2533): [] __up_console_sem kernel/printk/printk.c:344 [inline] hardirqs last enabled at (2533): [] __console_unlock+0x70/0xc4 kernel/printk/printk.c:2885 hardirqs last disabled at (2534): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (2516): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (2516): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (2449): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernel BUG at fs/hfsplus/bnode.c:624! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 1 UID: 0 PID: 7390 Comm: syz.4.167 Tainted: G W 6.16.0-rc5-syzkaller-gec4801305969 #0 PREEMPT Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : hfsplus_bnode_put+0x490/0x49c fs/hfsplus/bnode.c:624 lr : hfsplus_bnode_put+0x490/0x49c fs/hfsplus/bnode.c:624 sp : ffff8000a1976f00 x29: ffff8000a1976f00 x28: ffff0000d2076200 x27: dfff800000000000 x26: ffff70001432edf4 x25: ffff8000a1976fa0 x24: 1fffe0001a106e60 x23: ffff0000cf832000 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000d0837380 x19: ffff0000d0837300 x18: 00000000ffffffff x17: 0000000000000000 x16: ffff80008052cb50 x15: 0000000000000001 x14: 1fffe0001a106e70 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 00000000000579e6 x9 : ffff8000a501d000 x8 : 00000000000579e7 x7 : ffff80008ae68f80 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000812ad744 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: hfsplus_bnode_put+0x490/0x49c fs/hfsplus/bnode.c:624 (P) hfs_btree_inc_height+0x48c/0x8e0 fs/hfsplus/brec.c:530 hfsplus_brec_insert+0x5c8/0xaa8 fs/hfsplus/brec.c:148 hfsplus_create_cat+0x31c/0xdc8 fs/hfsplus/catalog.c:292 hfsplus_fill_super+0xfbc/0x1714 fs/hfsplus/super.c:561 get_tree_bdev_flags+0x360/0x414 fs/super.c:1681 get_tree_bdev+0x2c/0x3c fs/super.c:1704 hfsplus_get_tree+0x28/0x38 fs/hfsplus/super.c:640 vfs_get_tree+0x90/0x28c fs/super.c:1804 do_new_mount+0x228/0x814 fs/namespace.c:3902 path_mount+0x5b4/0xde0 fs/namespace.c:4226 do_mount fs/namespace.c:4239 [inline] __do_sys_mount fs/namespace.c:4450 [inline] __se_sys_mount fs/namespace.c:4427 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4427 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Code: aa1403e0 97e63c4e 17ffffb4 97d1c910 (d4210000) ---[ end trace 0000000000000000 ]---