Nick Kyrgios and Stan Wawrinka were two of the big-name casualties to crash out of the Shanghai Masters in the first round on Monday.
Coric did not have to face a single break point across the whole match as his ruthless serving and an uncharacteristically sloppy display from Federer, who had 24 unforced errors, made the difference.
Deposed this week as Australian No 1 by Alex de Minaur, Kyrgios argued with umpire Damien Dumusois after the Frenchman questioned Kyrgios' effort.
Australian firebrand Nick Kyrgios exited the Shanghai Masters in ignominy for the third year running on Monday, appearing to lose heart during his first-round defeat.
It was Coric's first victory in four meetings against former world number three Wawrinka, who has struggled on his return from knee surgery this season and entered as a wildcard.
Later, after belting down an ace, Kyrgios sarcastically asked Dumusois: "Was that borderline?"
"You know I literally could just go to the ATP office after this and say I just felt put down from your comment and you'd be in trouble, right?" he told Dumosois.
The sight of Nick Kyrgios disintegrating at the Rolex Shanghai Masters yesterday was as surprising as the sun coming up over this sprawling city.
But a sloppy service game down 4-5 cost Kyrgios the set and he unravelled from there amidst a stretch of five lost games.
Kyrgios has previously courted controversy at the same event.
As a result, he was given $US10,000 for unsportsmanlike conduct. On that day, he gave minimal effort on serve, and on one occasion, he even began walking back to his chair before a serve from Zverev.
Australian doubles great Todd Woodbridge defended his compatriot, who was also given a controversial pep talk by chair umpire Mohamed Lahyani at the US Open, over the incident in China and said he looked "tired and jaded".
Kyrgios will now drop to a lowly 38th place in the world rankings, his lowest position since February 2016.
Another American, Frances Tiafoe, was less fortunate.
The win over Tiafoe has left Ebden facing a tough second round encounter against world No.7 Dominic Thiem.