Problems with ceiling light
CFL and LED bulbs differ from the classic incandescent bulbs because they both have electronics inside them to make them work.  If they behave odd at all, those electronics should be the first thing to suspect.  Just replace the bulb and see if the problem goes away - no need to jump to conclusions of faulty wiring.  

I've had CFL bulbs die in a few days, and I've also had them last years (still working now!).