This is called the Fallacy of the Illicit Process. [fact]
When the major term in the major premise is undistributed but is distributed in the conclusion, this is called the Fallacy of the Illicit Process of the Major Term (or, familiarly, the Illicit Major).
Ruggero J. Aldisert, Agatha D. Aldisert, Logic for Lawyers- A Guide …, loc. 865