[PATCH 5.15 217/297] mcb: fix error handling for different scenarios when parsing