When I created a nether portal below layer 0 in the new generation of caves and entered the nether and then exited the nether into the overworld the nether portal appeared outside at layer 82 instead of returning to my original portal.
Related issues
duplicates
Comments

Thank you for your report!
We're tracking this issue in MC-149705, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as working as intended, which means this is not considered a bug and won't be fixed. Please do not leave a comment on the linked ticket.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
See https://minecraft.gamepedia.com/Nether_portal#Portal_linkage_between_Overworld_and_Nether if you want to know how portal linkage works in detail. It's a bit complicated, but not really buggy.
this sometimes happens but could very well be even more bugged because of the new y levels