wash dirty linen (laundry) in public

To air private problems where they can be seen or heard by all: “The company may have real problems, but it's unfortunate that the directors have chosen to wash their dirty linen in public through the press.”