Linear phase transition in random linear constraint satisfaction problems