I had an ulcer on my tongue once, after several recurrences, so was concerned, but was probably from biting on it or rubbing on a sharp tooth. My ENT took an incisional biopsy of it, and turned out to be negative. I had the dentist file the tooth down, and had no further trouble.
I hope yours is a minor issue too. Good luck.