General Motors Co. must turn over documents related to its subprime auto-lending under a subpoena issued by the U.S. Justice Department, the Detroit auto maker disclosed in a regulatory filing on Monday.

GM’s car-financing unit said it received the subpoena on July 28 in connection with a federal investigation of subprime auto loans dating to 2007. The statement said the request was “in contemplation of a civil proceeding for…