Sounds like a faulty proximity sensor. You should be able to disable the proximity sensor in the settings app and see if that fixes it.
open