The event takes place Dec. 10 at the Air Canada Centre in Toronto, Canada.
Ebersole and MacDonald are coming off victories at UFC 133 last month. MacDonald defeated Mike Pyle via TKO in the first round. Ebersole finished Dennis Hallman in the first round as well.
No headlining bout for UFC 140 has been determined. The only other announced bouts are Rich Attonito vs. Claude Patrick and John Cholish vs. Mitch Clarke.