Real Sociedad stunned Malaga away from home, Real Zaragoza were involved in an eight-goal thriller and Osasuna gained a much-needed win in La Liga.