"And numerous people whose families belong to the peasantry and working classes are now filling prominent positions in this National Socialist State. Some of them actually hold the highest offices in the leadership of the nation, as Cabinet Ministers, Reichsstatthalter and Gauleiter. But National Socialism always bears in mind the interests of the people as a whole and not the interests of one class or another. The National Socialist Revolution has not aimed at turning a privileged class into a class which will have no rights in the future. Its aim has been to grant equal rights to those social strata that hitherto were denied such rights."
If you ask me now? They were a specific subset of Socialism. They rather unfortunately took the old moniker of the ideal endstate of socialism and misused it for a state that definitely wasn't what Marx or Bakhunin or whoever wanted when they came up with the term.
However, the USSR came to define communism as whatever the USSR was. So now, yes, the USSR was communism, and communism was the USSR. This does not mean that all socialist theory is bunk.