[PATCH 5.18 0210/1095] block: fix infinite loop for invalid zone append