Is it possible that the waste pipe is open at the top? (The washing machine's waste pipe is pushed into a wider diameter upright pipe which has an open end. This is quite often the case.)
You can get a smell from the dirty waste pipe. Try sealing the gap between the upright waste pipe by using old cloth as a bung. Push the cloth in to seal the gap between the smaller pipe and the larger one. With no gap you won't let the bad air out from your kitchen's waste pipe.
Duke
April 2014