pretty hot, you could install kernel adiutor, that app can control several thermal options in the kernel, maybe turning one off and another on will do the trick for you,
to verify it's software-related you could enter twrp, make a backup and make a clean install of another rom, install and use...