Etymology
Today it means: A mistake or fiasco; something that has gone wrong. Full definition →
Deverbal from mess up.
Etymology from Wiktionary, CC BY-SA 4.0.