hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 0 PID: 9858 at fs/hfs/bnode.c:435 hfs_bnode_create.cold+0x1b/0x42 fs/hfs/bnode.c:434 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 9858 Comm: syz-executor.1 Not tainted 4.14.301-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 panic+0x1f9/0x42d kernel/panic.c:183 __warn.cold+0x20/0x44 kernel/panic.c:547 report_bug+0x208/0x250 lib/bug.c:183 fixup_bug arch/x86/kernel/traps.c:177 [inline] fixup_bug arch/x86/kernel/traps.c:172 [inline] do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:967 RIP: 0010:hfs_bnode_create.cold+0x1b/0x42 fs/hfs/bnode.c:435 RSP: 0018:ffff88809198f3d8 EFLAGS: 00010286 RAX: 000000000000001f RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 00000000000133ce RSI: ffffffff814443b0 RDI: ffffed1012331e71 RBP: 0000000000000000 R08: 000000000000001f R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880b1790500 R13: ffff8880ab794600 R14: ffff8880ab7946d0 R15: 0000000000000000 hfs_bmap_alloc+0x42c/0x530 fs/hfs/btree.c:288 hfs_btree_inc_height.isra.0+0xbf/0x870 fs/hfs/brec.c:471 hfs_brec_insert+0x84c/0xa70 fs/hfs/brec.c:77 __hfs_ext_write_extent+0x3b4/0x4d0 fs/hfs/extent.c:124 __hfs_ext_cache_extent fs/hfs/extent.c:174 [inline] hfs_ext_read_extent+0x73f/0x930 fs/hfs/extent.c:202 hfs_extend_file+0x439/0xa40 fs/hfs/extent.c:401 hfs_get_block+0x159/0x6d0 fs/hfs/extent.c:353 __block_write_begin_int+0x35c/0x11d0 fs/buffer.c:2038 __block_write_begin fs/buffer.c:2088 [inline] block_write_begin+0x58/0x270 fs/buffer.c:2147 cont_write_begin+0x4a3/0x740 fs/buffer.c:2497 hfs_write_begin+0x87/0x130 fs/hfs/inode.c:58 generic_perform_write+0x1d5/0x430 mm/filemap.c:3055 __generic_file_write_iter+0x227/0x590 mm/filemap.c:3180 generic_file_write_iter+0x36f/0x650 mm/filemap.c:3208 call_write_iter include/linux/fs.h:1780 [inline] new_sync_write fs/read_write.c:469 [inline] __vfs_write+0x44c/0x630 fs/read_write.c:482 vfs_write+0x17f/0x4d0 fs/read_write.c:544 SYSC_write fs/read_write.c:590 [inline] SyS_write+0xf2/0x210 fs/read_write.c:582 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7f0644f510d9 RSP: 002b:00007f06434c3168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f0645070f80 RCX: 00007f0644f510d9 RDX: 00000000000ffe00 RSI: 0000000020004200 RDI: 0000000000000006 RBP: 00007f0644facae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe60c94f4f R14: 00007f06434c3300 R15: 0000000000022000 Kernel Offset: disabled Rebooting in 86400 seconds..