------------[ cut here ]------------ kernel BUG at fs/hfs/bnode.c:478! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 213 Comm: kworker/u4:3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: writeback wb_workfn (flush-7:0) RIP: 0010:hfs_bnode_put.part.0+0x20d/0x260 fs/hfs/bnode.c:478 Code: 65 ff 48 89 ef e8 f3 f8 ff ff 48 8b 3c 24 e8 ea fd 1b 06 48 89 ef e8 52 72 00 00 48 89 ef e8 ba fa ff ff eb c5 e8 43 33 65 ff <0f> 0b 48 8b 7c 24 08 e8 97 0f 9b ff e9 c8 fe ff ff 4c 89 ef e8 8a RSP: 0018:ffff8880b4dd76c8 EFLAGS: 00010293 RAX: ffff8880b4fd6640 RBX: 0000000000000000 RCX: ffffffff81fd509c RDX: 0000000000000000 RSI: ffffffff81fd522d RDI: 0000000000000005 RBP: ffff8880a8e49100 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffff88809cd70c40 R13: ffff8880a8e49178 R14: 0000000000000000 R15: ffff88809ce11a28 FS: 0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007feba8849f70 CR3: 00000000aa2e6000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfs_bnode_put+0x1b/0x30 fs/hfs/bnode.c:471 hfs_btree_write+0x3ba/0x470 fs/hfs/btree.c:185 hfs_write_inode+0x56d/0x930 fs/hfs/inode.c:438 write_inode fs/fs-writeback.c:1244 [inline] __writeback_single_inode+0x733/0x11d0 fs/fs-writeback.c:1442 writeback_sb_inodes+0x537/0xef0 fs/fs-writeback.c:1647 __writeback_inodes_wb+0xc6/0x280 fs/fs-writeback.c:1716 wb_writeback+0x841/0xcc0 fs/fs-writeback.c:1822 wb_check_start_all fs/fs-writeback.c:1946 [inline] wb_do_writeback fs/fs-writeback.c:1972 [inline] wb_workfn+0xbf4/0x1250 fs/fs-writeback.c:2006 process_one_work+0x864/0x1570 kernel/workqueue.c:2153 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Modules linked in: ---[ end trace b03018190d96a4da ]--- RIP: 0010:hfs_bnode_put.part.0+0x20d/0x260 fs/hfs/bnode.c:478 Code: 65 ff 48 89 ef e8 f3 f8 ff ff 48 8b 3c 24 e8 ea fd 1b 06 48 89 ef e8 52 72 00 00 48 89 ef e8 ba fa ff ff eb c5 e8 43 33 65 ff <0f> 0b 48 8b 7c 24 08 e8 97 0f 9b ff e9 c8 fe ff ff 4c 89 ef e8 8a RSP: 0018:ffff8880b4dd76c8 EFLAGS: 00010293 RAX: ffff8880b4fd6640 RBX: 0000000000000000 RCX: ffffffff81fd509c RDX: 0000000000000000 RSI: ffffffff81fd522d RDI: 0000000000000005 RBP: ffff8880a8e49100 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffff88809cd70c40 R13: ffff8880a8e49178 R14: 0000000000000000 R15: ffff88809ce11a28 FS: 0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007feba8849f70 CR3: 00000000aa2e6000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400