Until midway through the Obama administration, nobody had any obligation to notify you if your mortgage was bought or sold. Payment servicers had no obligation to tell you who they were forwarding your checks to. Your mortgage could be bought and sold multiple times, but as long as the same servicer was used, you'd never know (there were/are only a few big servicers). If the mortgage buyer used a different servicer, you'd get a letter from your current servicer about the new servicer you should send your checks to, but no info about who now owned your mortgage.
The servicers existed to serve as a smoke screen for mortgage securitization shenanigans. The servicers sent the payments to trusts that had dubious possession of the mortgages.
Trusts and banks passed ownership of mortgages amongst themselves, though tax law was supposed to prevent them from doing so. Ultimately the servicers had no more idea of who actually owned the mortgages than the homeowners.
Unless they don't notify you on purpose to continue to receive the monthly payment, while cashing out on the resale, in which case that's fraud.
I can also imagine that the next buyer would try to pull the same trick. That obviously causes a problem. It seems to be what happened in the US, in which case everyone should check their mortgage to make sure who owns it.