This is not a linux issue. I had the same issue on Windows. The only way out is /unstuck which drops you on alioth north pole - but returns you to the same place in space next log in.
I had this happen on three different characters. Then on the fourth it did not happen.
The difference was, the three that have problems all selected the YOS legacy outpost.