June 3 (Reuters) - The New York Stock Exchange said on Monday it has ruled to bust all erroneous trades in Berkshire Hathaway that were impacted by a technical glitch.

A glitch at the NYSE triggered massive swings in shares of Berkshire Hathaway and trading halts in dozens of other companies earlier on Monday, before the bourse fixed the problem by late morning. (Reporting by Manya Saini in Bengaluru and Sinead Carew in New York; Editing by Maju Samuel)