This is a fungus infection or powder mildew infection, progressing to bud rot. You can also spray the infected areas down with diluted isopropyl alcohol, it will get rid of the fungus spores. This is only safe for edible consumption though. As smoking it would be very toxic. The Isopropyl alcohol is safe because it is used in R.S.O.