if something difficult or unpleasant is hanging over someone's head, it worries them because it may cause something bad to happen to them in the future
If the post fell vacant, it is unlikely that the Home Office would want to appoint him if an inquiry was hanging over his head.