The craziest thing is that the USSR pretty much got to keep its share of Poland that it took after the Molotov-Ribbentrop Pact that started WWII. Poland’s borders were shifted west into what had always been Germany to sort of make up for the theft.
Parts of Ukraine, were taken from Hungary and Czechoslovakia (now Slovakia) after the war.
The USSR got to keep Poland itself (and Latvia/Lithuania/Estonia, part of Finland, Hungary, Romania, Bulgaria, Albania, Czechoslovakia, and East Germany).
For a war that started to defend an independent Poland (at least officially), it accomplished far less than that...