National Highways has said urgent repairs will need to be carried out on the A1(M) in North Yorkshire and Northumberland.