Thanks for posting your query.
Painful lumps on the roof of mouth might be due to Torus Palatinus, Growths in Maxillary Sinus, Tooth Abscess
A bump on the palate, though necessarily not a very alarming condition, may be an important indicator of a serious disorder like maxillary sinus cancer
of minor salivary gland cancer
Hence, it is best to visit a dentist
nearby and get the condition diagnosed and treated at the earliest, so as to prevent any problems in the future.