In the photo, it looks as if there is a crack in the elbow. That needs to be repaired. Possibly, it has had water backed up in it, has frozen, and split.
It shouldn't need to be sealed into the larger pipe, the larger pipe should be free draining. If not, you need to work out why. Possibly, it...