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 not forbidden for a player to play for the loan club against the parent club, provided that hasn't been specified in the loan contract.