
Deportivo joined Atletico on 21 points after Joan Verdu collected his own rebound in the 75th to score after missing from the penalty spot eight minutes earlier.
Almeria played with 10 from the 52nd after Alvaro Negredo was red-carded for an errant elbow.
Jose Garcia Calvo scored in the 29th before second-half goals from Angel Vivar Dorado and Henok Goitom ensured Valladolid won its third straight to move into eighth.
Mallorca, which is winless in six, saw defender David Navarro taken to hospital with a head injury.
Malaga blew a two-goal lead before rallying behind late goals from former Spain international Albert Luque and Eliseu Pereira dos Santos at La Rosaleda.
Antonio "Apono" Galdeano's 56th-minute penalty sparked Malaga, with Nabil Baha heading in Adrian Lopez's cross at the far post in the 62nd.
Javad Nekounam scored in the 79th and Miguel Flano scored a minute later to even it before Luque scored from a solo run in the 84th. Eliseu added the fourth in injury time as Osasuna stayed second from the bottom.
Bartolome Marquez may have coached his last game with Espanyol after Carmelo Gonzalez's goal caused the 17th-place Barcelona club to lose its fourth straight. Espanyol also lost leading striker Raul Tamudo to injury.
At the San Mames, Fernando Llorente continued to display the impressive form that earned the 23-year-old striker a Spain call-up earlier this month by scoring two goals within 31 minutes as Numancia replaced Athletic in the relegation zone.