On a problem of Lang for matrix polynomials