Nice to have the picture.
looks like a ganglion cyst to me. get it chesked by your doctor. is it symptomatic? it may need surgical removal if it is causing irritation in your footwear.occasionally a steroid injection does the trick but there is about a 70% recurrence with this procedure. keep us informed. can you give more information regarding your knee problem?