That could be sewer gas ... If the vent has a cap, you'll need to remove it. Sometimes birds, mice or other critters can get stuck in there. Leaves and other debris can clog the pipe too.