hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 44 at fs/hfs/bnode.c:422 hfs_bnode_create+0x384/0x430 fs/hfs/bnode.c:421 Modules linked in: CPU: 1 UID: 0 PID: 44 Comm: kworker/u8:2 Not tainted 6.15.0-rc2-syzkaller-gc72692105976 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: writeback wb_workfn (flush-7:2) pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : hfs_bnode_create+0x384/0x430 fs/hfs/bnode.c:421 lr : hfs_bnode_create+0x384/0x430 fs/hfs/bnode.c:421 sp : ffff800098936af0 x29: ffff800098936b00 x28: dfff800000000000 x27: dfff800000000000 x26: ffff0000e279108c x25: dfff800000000000 x24: ffff0000cd20dd88 x23: 0000000000000000 x22: ffff0000d66160e0 x21: ffff0000d6616000 x20: 0000000000000000 x19: ffff0000cd20dd00 x18: 0000000000000008 x17: 00000000fffffffa x16: ffff80008333712c x15: 0000000000000001 x14: 1fffe000366e2722 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000001 x10: 0000000000ff0100 x9 : 826b24cc0bd63a00 x8 : 826b24cc0bd63a00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800098936298 x4 : ffff8000900254e0 x3 : ffff800080751da0 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 000000000000001f Call trace: hfs_bnode_create+0x384/0x430 fs/hfs/bnode.c:421 (P) hfs_bmap_alloc+0x4a8/0x558 fs/hfs/btree.c:291 hfs_btree_inc_height+0xf8/0x9d0 fs/hfs/brec.c:471 hfs_brec_insert+0x580/0x97c fs/hfs/brec.c:148 __hfs_ext_write_extent+0x240/0x468 fs/hfs/extent.c:124 hfs_ext_write_extent+0x148/0x1c0 fs/hfs/extent.c:144 hfs_write_inode+0xc0/0x9a0 fs/hfs/inode.c:429 write_inode fs/fs-writeback.c:1525 [inline] __writeback_single_inode+0x5a0/0x15a4 fs/fs-writeback.c:1745 writeback_sb_inodes+0x650/0x1088 fs/fs-writeback.c:1976 wb_writeback+0x3e0/0xe9c fs/fs-writeback.c:2156 wb_do_writeback fs/fs-writeback.c:2303 [inline] wb_workfn+0x38c/0x1048 fs/fs-writeback.c:2343 process_one_work+0x810/0x1638 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x97c/0xf08 kernel/workqueue.c:3400 kthread+0x674/0x7dc kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 irq event stamp: 134720 hardirqs last enabled at (134719): [] __up_console_sem kernel/printk/printk.c:344 [inline] hardirqs last enabled at (134719): [] __console_unlock+0x70/0xc4 kernel/printk/printk.c:2885 hardirqs last disabled at (134720): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488 softirqs last enabled at (134488): [] spin_unlock_bh include/linux/spinlock.h:396 [inline] softirqs last enabled at (134488): [] batadv_nc_purge_paths+0x2f4/0x378 net/batman-adv/network-coding.c:471 softirqs last disabled at (134486): [] spin_lock_bh include/linux/spinlock.h:356 [inline] softirqs last disabled at (134486): [] batadv_nc_purge_paths+0xd0/0x378 net/batman-adv/network-coding.c:442 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernel BUG at fs/hfs/bnode.c:467! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 0 UID: 0 PID: 44 Comm: kworker/u8:2 Tainted: G W 6.15.0-rc2-syzkaller-gc72692105976 #0 PREEMPT Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: writeback wb_workfn (flush-7:2) 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 : ffff800098936bf0 x29: ffff800098936bf0 x28: dfff800000000000 x27: ffff700013126d94 x26: 1fffe0001acc2c03 x25: 0000000000000200 x24: 1fffe00019a41ba0 x23: dfff800000000000 x22: ffff0000d6616000 x21: ffff0000cd20dd80 x20: 0000000000000000 x19: ffff0000cd20dd00 x18: 0000000000000008 x17: 00000000fffffffa x16: ffff8000803c5120 x15: 0000000000000001 x14: 1fffe00019a41bb0 x13: 0000000000000000 x12: 0000000000000000 x11: ffff600019a41bb1 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000c1c53d00 x7 : ffff80008b8ee6f0 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800081320668 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: hfs_bnode_put+0x318/0x324 fs/hfs/bnode.c:467 (P) hfs_btree_inc_height+0x4c0/0x9d0 fs/hfs/brec.c:525 hfs_brec_insert+0x580/0x97c fs/hfs/brec.c:148 __hfs_ext_write_extent+0x240/0x468 fs/hfs/extent.c:124 hfs_ext_write_extent+0x148/0x1c0 fs/hfs/extent.c:144 hfs_write_inode+0xc0/0x9a0 fs/hfs/inode.c:429 write_inode fs/fs-writeback.c:1525 [inline] __writeback_single_inode+0x5a0/0x15a4 fs/fs-writeback.c:1745 writeback_sb_inodes+0x650/0x1088 fs/fs-writeback.c:1976 wb_writeback+0x3e0/0xe9c fs/fs-writeback.c:2156 wb_do_writeback fs/fs-writeback.c:2303 [inline] wb_workfn+0x38c/0x1048 fs/fs-writeback.c:2343 process_one_work+0x810/0x1638 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x97c/0xf08 kernel/workqueue.c:3400 kthread+0x674/0x7dc kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 Code: aa1503e0 97e41110 17ffffd5 97ce3090 (d4210000) ---[ end trace 0000000000000000 ]---