Pain in the back of the knee when straightening the leg is called posterior knee pain. Finding the cause can be difficult as it can come from problems with the bones, muscles, tendons, ligaments, nerves, or vascular system.
Source : Medical News Today