I may be a bit off , but can you try a couple of things, other than a fresh install, incase you have time to debug more.
is it possible to snapshot the vm, and and set it up in a controlled environment where you can play around with incoming connections at the network layer
beyond the vm.
With that, is it possible for you to use gdb and debug a connection to the postmaster.