Device reboots into recovery after flashing CyanogenMod
How did you get to the cyanogen recovery?
Did you flash it from fastboot?  

Was the device bootloader unlocked?
(or) Did you go through some oem-unlock fastboot command?  

I suppose it is related to oem-unlocking. If the manufacturer chooses not to boot unsigned images on a locked bootloader, then this is the case. Many recent devices fall into this. In such case, you need to do oem-unlocking following the instructions from your device manufacturer and then install any custom roms.