It could be dry, old crusts. Keep a watch if someone else complains of foul smelling odour. You may need to get an ENT specialist to examine you/do a nasal endoscopy.
Avoid smoking. Increase your water intake. Use saline nasal sprays three to four times a day to soften the crusts.
Health Tips
Don't pick at the dry, stiff crusts - it can bleed.