Pull out the drain filter, usually tucked beneath the lower spray arm, and rinse it under warm water to knock loose any trapped food. Scrub it with a soft brush dipped in a mix of equal parts vinegar and baking soda, rinse again, and pop it back in. A clogged filter is often the real source of a lingering smell.
Banish Dishwasher Odors With the Bowl Method