Cristiano Ronaldo scored his first away league goal for five games from an offside position before missing the chance to double his tally from the penalty spot minutes later in Real Madrid's La Liga clash at Malaga.