That’s why you always pack more underwear than you think you will need.
Come to think of it, how do astronauts do laundry?
Edit: I looked it up. They don’t. Dirty laundry is ejected into space to burn up on re-entry. So these poor travelers probably did not pack for an 8 month trip.