There is no bar against a player playing for the loan club against the parent club unless this has been specified in the loan agreement.
It's permissible for a player to play for the loan club against the parent club, as long as this hasn't been explicitly stated in the loan contract.