The rule says that a player must be covered by two players (one of them is always the goalkeeper).
In this case the keeper is out of his post and the player receiving the ball is covered by only one defender.
The rule says two players - if there was another defender (not the goalkeeper) covering the goal as well as the black no.2 then white no.2 would not have been offside.