loop3: detected capacity change from 0 to 64 hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4842 at fs/hfs/bnode.c:520 hfs_bnode_create+0x40c/0x4c8 fs/hfs/bnode.c:519 Modules linked in: CPU: 0 PID: 4842 Comm: syz.3.80 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 pstate: 62400005 (nZCv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : hfs_bnode_create+0x40c/0x4c8 fs/hfs/bnode.c:519 lr : hfs_bnode_create+0x40c/0x4c8 fs/hfs/bnode.c:519 sp : ffff8000218d7180 x29: ffff8000218d71a0 x28: dfff800000000000 x27: dfff800000000000 x26: 0000000000000080 x25: 0000000000000000 x24: ffff0000da208288 x23: 1ffff0000431ae44 x22: 0000000000000000 x21: ffff0000f3858000 x20: 0000000000000000 x19: ffff0000da208200 x18: ffff800011a5bd40 x17: 1fffe00033ee7b7e x16: ffff8000082d3a08 x15: ffff80001504d000 x14: 0000000000000100 x13: 1ffff00002a0a0b1 x12: 0000000000ff0100 x11: ff0080000830b6e8 x10: 0000000000000000 x9 : 45e7e21053d3bd00 x8 : 45e7e21053d3bd00 x7 : ffff8000082532dc x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : ffff80000a84818c x2 : ffff00019f73dd10 x1 : 0000000100000000 x0 : 000000000000001f Call trace: hfs_bnode_create+0x40c/0x4c8 fs/hfs/bnode.c:519 hfs_bmap_alloc+0x4f4/0x59c fs/hfs/btree.c:291 hfs_bnode_split+0xc8/0xbb8 fs/hfsplus/brec.c:245 hfs_brec_insert+0x2e8/0x96c fs/hfs/brec.c:102 hfs_cat_create+0x2d8/0x758 fs/hfs/catalog.c:118 hfs_create+0x6c/0xe0 fs/hfs/dir.c:202 lookup_open fs/namei.c:3490 [inline] open_last_lookups fs/namei.c:3558 [inline] path_openat+0x112c/0x2680 fs/namei.c:3788 do_filp_open+0x174/0x344 fs/namei.c:3818 do_sys_openat2+0x128/0x3d8 fs/open.c:1320 do_sys_open fs/open.c:1336 [inline] __do_sys_openat fs/open.c:1352 [inline] __se_sys_openat fs/open.c:1347 [inline] __arm64_sys_openat+0x120/0x154 fs/open.c:1347 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x138 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 2558 hardirqs last enabled at (2557): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1367 [inline] hardirqs last enabled at (2557): [] finish_lock_switch+0xb0/0x1c4 kernel/sched/core.c:5003 hardirqs last disabled at (2558): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (2550): [] softirq_handle_end kernel/softirq.c:439 [inline] softirqs last enabled at (2550): [] handle_softirqs+0xaf8/0xc6c kernel/softirq.c:624 softirqs last disabled at (2419): [] __do_softirq+0x14/0x20 kernel/softirq.c:630 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernel BUG at fs/hfs/bnode.c:565! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 4842 Comm: syz.3.80 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 pstate: 82400005 (Nzcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : hfs_bnode_put+0x358/0x364 fs/hfs/bnode.c:565 lr : hfs_bnode_put+0x358/0x364 fs/hfs/bnode.c:565 sp : ffff8000218d7400 x29: ffff8000218d7400 x28: dfff800000000000 x27: ffff0000da208200 x26: ffff0000da208200 x25: ffff8000218d7648 x24: 1fffe0001b441040 x23: ffff0000f3858000 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000da208280 x19: ffff0000da208200 x18: ffff800011a5bd40 x17: 1fffe00033ee7b7e x16: ffff8000082d2558 x15: 0000000000000000 x14: 00000000000000ff x13: 0000000000000000 x12: 0000000000ff0100 x11: ff00800008f86ebc x10: 0000000000000000 x9 : ffff800008f86ebc x8 : ffff0000dced3780 x7 : 0000000000000000 x6 : 000010000000de25 x5 : ffff0000f353b94d x4 : ffff0000fcd04688 x3 : ffff800008f86bc0 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: hfs_bnode_put+0x358/0x364 fs/hfs/bnode.c:565 hfs_brec_insert+0x678/0x96c fs/hfs/brec.c:162 hfs_cat_create+0x2d8/0x758 fs/hfs/catalog.c:118 hfs_create+0x6c/0xe0 fs/hfs/dir.c:202 lookup_open fs/namei.c:3490 [inline] open_last_lookups fs/namei.c:3558 [inline] path_openat+0x112c/0x2680 fs/namei.c:3788 do_filp_open+0x174/0x344 fs/namei.c:3818 do_sys_openat2+0x128/0x3d8 fs/open.c:1320 do_sys_open fs/open.c:1336 [inline] __do_sys_openat fs/open.c:1352 [inline] __se_sys_openat fs/open.c:1347 [inline] __arm64_sys_openat+0x120/0x154 fs/open.c:1347 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x138 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Code: aa1403e0 97e54759 17ffffce 97d47092 (d4210000) ---[ end trace 0000000000000000 ]---