Getty

The hits just keep on coming for Katie Porter ... the embattled candidate for California governor allegedly lost her s**t at her ex-husband years ago ... who says she called him dumb and poured hot mashed potatoes on him, burning his scalp ... this according to court records.

According to legal documents, Porter tied the knot with Matthew Hoffman in 2003 ... but eventually their relationship apparently soured, leading to Porter filing for divorce in 2013. Both filed domestic violence restraining orders against each other. Getty

In his papers, Hoffman claimed Porter “routinely” called him a “f---ing idiot” and “f---ing incompetent” -- and said she also smashed a glass coffee pot on their kitchen counter because she felt their house wasn’t clean enough.

On another occasion,

See Full Page