------------[ cut here ]------------ kernel BUG at fs/hfsplus/bnode.c:675! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 14 Comm: kworker/u4:1 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: writeback wb_workfn (flush-7:0) RIP: 0010:hfsplus_bnode_put+0x515/0x590 fs/hfsplus/bnode.c:675 Code: 8b 41 b8 a2 02 00 00 49 c7 c1 60 14 82 8b 50 53 41 54 e8 8e 11 2b 02 48 83 c4 18 4c 8b 3c 24 e9 42 fb ff ff e8 3c 78 22 ff 90 <0f> 0b 44 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 35 ff ff ff 4c 89 ff RSP: 0018:ffffc9000040f178 EFLAGS: 00010293 RAX: ffffffff829ddb54 RBX: 1ffff11006830720 RCX: ffff88801af12480 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffff888034183983 R09: 1ffff11006830730 R10: dffffc0000000000 R11: ffffed1006830731 R12: ffff888034183980 R13: ffff888034183900 R14: dffffc0000000000 R15: ffff8880122ba000 FS: 0000000000000000(0000) GS:ffff88808d301000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055da279ac278 CR3: 000000003f0cf000 CR4: 0000000000352ef0 Call Trace: hfsplus_btree_write+0x379/0x7b0 fs/hfsplus/btree.c:309 hfsplus_system_write_inode fs/hfsplus/super.c:150 [inline] hfsplus_write_inode+0x482/0x630 fs/hfsplus/super.c:176 write_inode fs/fs-writeback.c:1564 [inline] __writeback_single_inode+0x6f1/0xff0 fs/fs-writeback.c:1784 writeback_sb_inodes+0x6c7/0x1010 fs/fs-writeback.c:2015 __writeback_inodes_wb+0x111/0x240 fs/fs-writeback.c:2086 wb_writeback+0x44f/0xaf0 fs/fs-writeback.c:2197 wb_check_start_all fs/fs-writeback.c:2323 [inline] wb_do_writeback fs/fs-writeback.c:2349 [inline] wb_workfn+0x90b/0xef0 fs/fs-writeback.c:2382 process_one_work kernel/workqueue.c:3263 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3346 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3427 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Modules linked in: ---[ end trace 0000000000000000 ]---