Have a bad smell is the present tense of had a bad smell.
The third-person singular simple present indicative form of have a bad smell is has a bad smell.
The present participle of have a bad smell is having a bad smell.
The past participle of have a bad smell is had a bad smell.